2025-07-11 17:31:33 +08:00
|
|
|
app_mode = development
|
|
|
|
|
|
|
|
[log]
|
|
|
|
level = error
|
|
|
|
filters = http.server:info,settings:info
|
2024-08-23 15:00:03 +08:00
|
|
|
|
2023-04-28 00:20:37 +08:00
|
|
|
[security]
|
|
|
|
content_security_policy = true
|
|
|
|
content_security_policy_template = """require-trusted-types-for 'script'; script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data:;base-uri 'self';connect-src 'self' grafana.com ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self';"""
|
2024-10-17 22:56:50 +08:00
|
|
|
enable_frontend_sandbox_for_plugins = sandbox-app-test,sandbox-test-datasource,sandbox-test-panel
|
2023-04-28 00:20:37 +08:00
|
|
|
|
2022-01-13 02:15:29 +08:00
|
|
|
[feature_toggles]
|
2025-03-17 20:31:22 +08:00
|
|
|
publicDashboards=true
|
|
|
|
grafanaAPIServer=true
|
|
|
|
queryLibrary=true
|
|
|
|
queryService=true
|
2025-09-18 17:10:24 +08:00
|
|
|
secretsManagementAppPlatform = true
|
|
|
|
secretsManagementAppPlatformUI = true
|
2022-11-17 02:29:33 +08:00
|
|
|
|
2025-04-23 10:29:05 +08:00
|
|
|
[environment]
|
|
|
|
stack_id = 12345
|
|
|
|
|
2025-08-21 03:36:54 +08:00
|
|
|
[panels]
|
|
|
|
enable_alpha = true
|
|
|
|
|
2024-08-23 15:00:03 +08:00
|
|
|
[plugins]
|
2024-11-01 15:25:27 +08:00
|
|
|
allow_loading_unsigned_plugins=grafana-extensionstest-app,grafana-extensionexample1-app,grafana-extensionexample2-app,grafana-extensionexample3-app,grafana-e2etest-datasource
|
2024-08-23 15:00:03 +08:00
|
|
|
|
2022-11-17 02:29:33 +08:00
|
|
|
[database]
|
|
|
|
type=sqlite3
|
|
|
|
wal=true
|
2023-10-17 15:49:49 +08:00
|
|
|
max_idle_conn = 2
|
|
|
|
max_open_conn = 2
|
2025-02-07 22:46:32 +08:00
|
|
|
|
|
|
|
[smtp]
|
|
|
|
enabled = true
|
|
|
|
host = localhost:7777
|
2025-04-03 16:34:32 +08:00
|
|
|
|
|
|
|
[cloud_migration]
|
|
|
|
developer_mode = true ; Enable developer mode to use in-memory implementations of 3rdparty services needed.
|
2025-09-18 17:10:24 +08:00
|
|
|
|
|
|
|
[secrets_manager]
|
|
|
|
developer_mode = true
|