github.com/amazechain/amc@v0.1.3/deployments/prometheus/grafana.ini (about) 1 app_mode = production 2 3 #################################### Logging ########################## 4 [log] 5 # Either "console", "file", "syslog". Default is console and file 6 # Use space to separate multiple modes, e.g. "console file" 7 ;mode = console file 8 9 # Either "debug", "info", "warn", "error", "critical", default is "info" 10 level = warn 11 12 # optional settings to set different levels for specific loggers. Ex filters = sqlstore:debug 13 ;filters = 14 15 #################################### Paths #################################### 16 [paths] 17 # Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used) 18 ;data = /var/lib/grafana 19 20 # Temporary files in `data` directory older than given duration will be removed 21 ;temp_data_lifetime = 24h 22 23 # Directory where grafana can store logs 24 ;logs = /var/log/grafana 25 26 # Directory where grafana will automatically scan and look for plugins 27 ;plugins = /var/lib/grafana/plugins 28 29 # folder that contains provisioning config files that grafana will apply on startup and while running. 30 ;provisioning = conf/provisioning 31 32 #################################### Server #################################### 33 [server] 34 # Protocol (http, https, h2, socket) 35 ;protocol = http 36 37 # The ip address to bind to, empty will bind to all interfaces 38 ;http_addr = 39 40 # The http port to use 41 ;http_port = 3000 42 43 # The public facing domain name used to access grafana from a browser 44 ;domain = localhost 45 46 # Redirect to correct domain if host header does not match domain 47 # Prevents DNS rebinding attacks 48 ;enforce_domain = false 49 50 # The full public facing url you use in browser, used for redirects and emails 51 # If you use reverse proxy and sub path specify full url (with sub path) 52 ;root_url = %(protocol)s://%(domain)s:%(http_port)s/ 53 54 # Serve Grafana from subpath specified in `root_url` setting. By default it is set to `false` for compatibility reasons. 55 ;serve_from_sub_path = false 56 57 # Log web requests 58 ;router_logging = false 59 60 # the path relative working path 61 ;static_root_path = public 62 63 # enable gzip 64 ;enable_gzip = false 65 66 # https certs & key file 67 ;cert_file = 68 ;cert_key = 69 70 # Unix socket path 71 ;socket = 72 73 #################################### Database #################################### 74 [database] 75 # You can configure the database connection by specifying type, host, name, user and password 76 # as separate properties or as on string using the url properties. 77 78 # Either "mysql", "postgres" or "sqlite3", it's your choice 79 ;type = sqlite3 80 ;host = 127.0.0.1:3306 81 ;name = grafana 82 ;user = root 83 # If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;""" 84 ;password = 85 86 # Use either URL or the previous fields to configure the database 87 # Example: mysql://user:secret@host:port/database 88 ;url = 89 90 # For "postgres" only, either "disable", "require" or "verify-full" 91 ;ssl_mode = disable 92 93 ;ca_cert_path = 94 ;client_key_path = 95 ;client_cert_path = 96 ;server_cert_name = 97 98 # For "sqlite3" only, path relative to data_path setting 99 ;path = grafana.db 100 101 # Max idle conn setting default is 2 102 ;max_idle_conn = 2 103 104 # Max conn setting default is 0 (mean not set) 105 ;max_open_conn = 106 107 # Connection Max Lifetime default is 14400 (means 14400 seconds or 4 hours) 108 ;conn_max_lifetime = 14400 109 110 # Set to true to log the sql calls and execution times. 111 ;log_queries = 112 113 # For "sqlite3" only. cache mode setting used for connecting to the database. (private, shared) 114 ;cache_mode = private 115 116 #################################### Cache server ############################# 117 [remote_cache] 118 # Either "redis", "memcached" or "database" default is "database" 119 ;type = database 120 121 # cache connectionstring options 122 # database: will use Grafana primary database. 123 # redis: config like redis server e.g. `addr=127.0.0.1:6379,pool_size=100,db=0,ssl=false`. Only addr is required. ssl may be 'true', 'false', or 'insecure'. 124 # memcache: 127.0.0.1:11211 125 ;connstr = 126 127 #################################### Data proxy ########################### 128 [dataproxy] 129 130 # This enables data proxy logging, default is false 131 ;logging = false 132 133 # How long the data proxy waits before timing out, default is 30 seconds. 134 # This setting also applies to core backend HTTP data sources where query requests use an HTTP client with timeout set. 135 ;timeout = 30 136 137 # If enabled and user is not anonymous, data proxy will add X-Grafana-User header with username into the request, default is false. 138 ;send_user_header = false 139 140 #################################### Analytics #################################### 141 [analytics] 142 # Server reporting, sends usage counters to stats.grafana.org every 24 hours. 143 # No ip addresses are being tracked, only simple counters to track 144 # running instances, dashboard and error counts. It is very helpful to us. 145 # Change this option to false to disable reporting. 146 ;reporting_enabled = true 147 148 # Set to false to disable all checks to https://grafana.net 149 # for new versions (grafana itself and plugins), check is used 150 # in some UI views to notify that grafana or plugin update exists 151 # This option does not cause any auto updates, nor send any information 152 # only a GET request to http://grafana.com to get latest versions 153 ;check_for_updates = true 154 155 # Google Analytics universal tracking code, only enabled if you specify an id here 156 ;google_analytics_ua_id = 157 158 # Google Tag Manager ID, only enabled if you specify an id here 159 ;google_tag_manager_id = 160 161 #################################### Security #################################### 162 [security] 163 # disable creation of admin user on first start of grafana 164 ;disable_initial_admin_creation = false 165 166 # default admin user, created on startup 167 ;admin_user = admin 168 169 # default admin password, can be changed before first start of grafana, or in profile settings 170 ;admin_password = admin 171 172 # used for signing 173 ;secret_key = SW2YcwTIb9zpOOhoPsMm 174 175 # disable gravatar profile images 176 ;disable_gravatar = false 177 178 # data source proxy whitelist (ip_or_domain:port separated by spaces) 179 ;data_source_proxy_whitelist = 180 181 # disable protection against brute force login attempts 182 ;disable_brute_force_login_protection = false 183 184 # set to true if you host Grafana behind HTTPS. default is false. 185 ;cookie_secure = false 186 187 # set cookie SameSite attribute. defaults to `lax`. can be set to "lax", "strict", "none" and "disabled" 188 ;cookie_samesite = lax 189 190 # set to true if you want to allow browsers to render Grafana in a <frame>, <iframe>, <embed> or <object>. default is false. 191 ;allow_embedding = false 192 193 # Set to true if you want to enable http strict transport security (HSTS) response header. 194 # This is only sent when HTTPS is enabled in this configuration. 195 # HSTS tells browsers that the site should only be accessed using HTTPS. 196 ;strict_transport_security = false 197 198 # Sets how long a browser should cache HSTS. Only applied if strict_transport_security is enabled. 199 ;strict_transport_security_max_age_seconds = 86400 200 201 # Set to true if to enable HSTS preloading option. Only applied if strict_transport_security is enabled. 202 ;strict_transport_security_preload = false 203 204 # Set to true if to enable the HSTS includeSubDomains option. Only applied if strict_transport_security is enabled. 205 ;strict_transport_security_subdomains = false 206 207 # Set to true to enable the X-Content-Type-Options response header. 208 # The X-Content-Type-Options response HTTP header is a marker used by the server to indicate that the MIME types advertised 209 # in the Content-Type headers should not be changed and be followed. 210 ;x_content_type_options = true 211 212 # Set to true to enable the X-XSS-Protection header, which tells browsers to stop pages from loading 213 # when they detect reflected cross-site scripting (XSS) attacks. 214 ;x_xss_protection = true 215 216 #################################### Snapshots ########################### 217 [snapshots] 218 # snapshot sharing options 219 ;external_enabled = true 220 ;external_snapshot_url = https://snapshots-origin.raintank.io 221 ;external_snapshot_name = Publish to snapshot.raintank.io 222 223 # Set to true to enable this Grafana instance act as an external snapshot server and allow unauthenticated requests for 224 # creating and deleting snapshots. 225 ;public_mode = false 226 227 # remove expired snapshot 228 ;snapshot_remove_expired = true 229 230 #################################### Dashboards History ################## 231 [dashboards] 232 # Number dashboard versions to keep (per dashboard). Default: 20, Minimum: 1 233 ;versions_to_keep = 20 234 235 # Minimum dashboard refresh interval. When set, this will restrict users to set the refresh interval of a dashboard lower than given interval. Per default this is 5 seconds. 236 # The interval string is a possibly signed sequence of decimal numbers, followed by a unit suffix (ms, s, m, h, d), e.g. 30s or 1m. 237 ;min_refresh_interval = 5s 238 239 # Path to the default home dashboard. If this value is empty, then Grafana uses StaticRootPath + "dashboards/home.json" 240 ;default_home_dashboard_path = 241 242 #################################### Users ############################### 243 [users] 244 # disable user signup / registration 245 ;allow_sign_up = true 246 247 # Allow non admin users to create organizations 248 ;allow_org_create = true 249 250 # Set to true to automatically assign new users to the default organization (id 1) 251 ;auto_assign_org = true 252 253 # Set this value to automatically add new users to the provided organization (if auto_assign_org above is set to true) 254 ;auto_assign_org_id = 1 255 256 # Default role new users will be automatically assigned (if disabled above is set to true) 257 ;auto_assign_org_role = Viewer 258 259 # Require email validation before sign up completes 260 ;verify_email_enabled = false 261 262 # Background text for the user field on the login page 263 ;login_hint = email or username 264 ;password_hint = password 265 266 # Default UI theme ("dark" or "light") 267 ;default_theme = dark 268 269 # External user management, these options affect the organization users view 270 ;external_manage_link_url = 271 ;external_manage_link_name = 272 ;external_manage_info = 273 274 # Viewers can edit/inspect dashboard settings in the browser. But not save the dashboard. 275 ;viewers_can_edit = false 276 277 # Editors can administrate dashboard, folders and teams they create 278 ;editors_can_admin = false 279 280 [auth] 281 # Login cookie name 282 ;login_cookie_name = grafana_session 283 284 # The lifetime (days) an authenticated user can be inactive before being required to login at next visit. Default is 7 days, 285 ;login_maximum_inactive_lifetime_days = 7 286 287 # The maximum lifetime (days) an authenticated user can be logged in since login time before being required to login. Default is 30 days. 288 ;login_maximum_lifetime_days = 30 289 290 # How often should auth tokens be rotated for authenticated users when being active. The default is each 10 minutes. 291 ;token_rotation_interval_minutes = 10 292 293 # Set to true to disable (hide) the login form, useful if you use OAuth, defaults to false 294 ;disable_login_form = false 295 296 # Set to true to disable the signout link in the side menu. useful if you use auth.proxy, defaults to false 297 ;disable_signout_menu = false 298 299 # URL to redirect the user to after sign out 300 ;signout_redirect_url = 301 302 # Set to true to attempt login with OAuth automatically, skipping the login screen. 303 # This setting is ignored if multiple OAuth providers are configured. 304 ;oauth_auto_login = false 305 306 # OAuth state max age cookie duration. Defaults to 60 seconds. 307 ;oauth_state_cookie_max_age = 60 308 309 # limit of api_key seconds to live before expiration 310 ;api_key_max_seconds_to_live = -1 311 312 #################################### Anonymous Auth ###################### 313 [auth.anonymous] 314 # enable anonymous access 315 enabled = true 316 317 # specify organization name that should be used for unauthenticated users 318 ;org_name = Main Org. 319 320 # specify role for unauthenticated users 321 org_role = Viewer 322 323 # mask the Grafana version number for unauthenticated users 324 ;hide_version = false 325 326 #################################### Github Auth ########################## 327 [auth.github] 328 ;enabled = false 329 ;allow_sign_up = true 330 ;client_id = some_id 331 ;client_secret = some_secret 332 ;scopes = user:email,read:org 333 ;auth_url = https://github.com/login/oauth/authorize 334 ;token_url = https://github.com/login/oauth/access_token 335 ;api_url = https://api.github.com/user 336 ;allowed_domains = 337 ;team_ids = 338 ;allowed_organizations = 339 340 #################################### GitLab Auth ######################### 341 [auth.gitlab] 342 ;enabled = false 343 ;allow_sign_up = true 344 ;client_id = some_id 345 ;client_secret = some_secret 346 ;scopes = api 347 ;auth_url = https://gitlab.com/oauth/authorize 348 ;token_url = https://gitlab.com/oauth/token 349 ;api_url = https://gitlab.com/api/v4 350 ;allowed_domains = 351 ;allowed_groups = 352 353 #################################### Google Auth ########################## 354 [auth.google] 355 ;enabled = false 356 ;allow_sign_up = true 357 ;client_id = some_client_id 358 ;client_secret = some_client_secret 359 ;scopes = https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email 360 ;auth_url = https://accounts.google.com/o/oauth2/auth 361 ;token_url = https://accounts.google.com/o/oauth2/token 362 ;api_url = https://www.googleapis.com/oauth2/v1/userinfo 363 ;allowed_domains = 364 ;hosted_domain = 365 366 #################################### Grafana.com Auth #################### 367 [auth.grafana_com] 368 ;enabled = false 369 ;allow_sign_up = true 370 ;client_id = some_id 371 ;client_secret = some_secret 372 ;scopes = user:email 373 ;allowed_organizations = 374 375 #################################### Azure AD OAuth ####################### 376 [auth.azuread] 377 ;name = Azure AD 378 ;enabled = false 379 ;allow_sign_up = true 380 ;client_id = some_client_id 381 ;client_secret = some_client_secret 382 ;scopes = openid email profile 383 ;auth_url = https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/authorize 384 ;token_url = https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token 385 ;allowed_domains = 386 ;allowed_groups = 387 388 #################################### Okta OAuth ####################### 389 [auth.okta] 390 ;name = Okta 391 ;enabled = false 392 ;allow_sign_up = true 393 ;client_id = some_id 394 ;client_secret = some_secret 395 ;scopes = openid profile email groups 396 ;auth_url = https://<tenant-id>.okta.com/oauth2/v1/authorize 397 ;token_url = https://<tenant-id>.okta.com/oauth2/v1/token 398 ;api_url = https://<tenant-id>.okta.com/oauth2/v1/userinfo 399 ;allowed_domains = 400 ;allowed_groups = 401 ;role_attribute_path = 402 403 #################################### Generic OAuth ########################## 404 [auth.generic_oauth] 405 ;enabled = false 406 ;name = OAuth 407 ;allow_sign_up = true 408 ;client_id = some_id 409 ;client_secret = some_secret 410 ;scopes = user:email,read:org 411 ;email_attribute_name = email:primary 412 ;email_attribute_path = 413 ;auth_url = https://foo.bar/login/oauth/authorize 414 ;token_url = https://foo.bar/login/oauth/access_token 415 ;api_url = https://foo.bar/user 416 ;allowed_domains = 417 ;team_ids = 418 ;allowed_organizations = 419 ;role_attribute_path = 420 ;tls_skip_verify_insecure = false 421 ;tls_client_cert = 422 ;tls_client_key = 423 ;tls_client_ca = 424 425 #################################### Basic Auth ########################## 426 [auth.basic] 427 ;enabled = true 428 429 #################################### Auth Proxy ########################## 430 [auth.proxy] 431 ;enabled = false 432 ;header_name = X-WEBAUTH-USER 433 ;header_property = username 434 ;auto_sign_up = true 435 ;sync_ttl = 60 436 ;whitelist = 192.168.1.1, 192.168.2.1 437 ;headers = Email:X-User-Email, Name:X-User-Name 438 # Read the auth proxy docs for details on what the setting below enables 439 ;enable_login_token = false 440 441 #################################### Auth LDAP ########################## 442 [auth.ldap] 443 ;enabled = false 444 ;config_file = /etc/grafana/ldap.toml 445 ;allow_sign_up = true 446 447 # LDAP backround sync (Enterprise only) 448 # At 1 am every day 449 ;sync_cron = "0 0 1 * * *" 450 ;active_sync_enabled = true 451 452 #################################### SMTP / Emailing ########################## 453 [smtp] 454 ;enabled = false 455 ;host = localhost:25 456 ;user = 457 # If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;""" 458 ;password = 459 ;cert_file = 460 ;key_file = 461 ;skip_verify = false 462 ;from_address = admin@grafana.localhost 463 ;from_name = Grafana 464 # EHLO identity in SMTP dialog (defaults to instance_name) 465 ;ehlo_identity = dashboard.example.com 466 # SMTP startTLS policy (defaults to 'OpportunisticStartTLS') 467 ;startTLS_policy = NoStartTLS 468 469 [emails] 470 ;welcome_email_on_sign_up = false 471 ;templates_pattern = emails/*.html 472 473 474 # For "console" mode only 475 [log.console] 476 ;level = 477 478 # log line format, valid options are text, console and json 479 ;format = console 480 481 # For "file" mode only 482 [log.file] 483 ;level = 484 485 # log line format, valid options are text, console and json 486 ;format = text 487 488 # This enables automated log rotate(switch of following options), default is true 489 ;log_rotate = true 490 491 # Max line number of single file, default is 1000000 492 ;max_lines = 1000000 493 494 # Max size shift of single file, default is 28 means 1 << 28, 256MB 495 ;max_size_shift = 28 496 497 # Segment log daily, default is true 498 ;daily_rotate = true 499 500 # Expired days of log file(delete after max days), default is 7 501 ;max_days = 7 502 503 [log.syslog] 504 ;level = 505 506 # log line format, valid options are text, console and json 507 ;format = text 508 509 # Syslog network type and address. This can be udp, tcp, or unix. If left blank, the default unix endpoints will be used. 510 ;network = 511 ;address = 512 513 # Syslog facility. user, daemon and local0 through local7 are valid. 514 ;facility = 515 516 # Syslog tag. By default, the process' argv[0] is used. 517 ;tag = 518 519 #################################### Usage Quotas ######################## 520 [quota] 521 ; enabled = false 522 523 #### set quotas to -1 to make unlimited. #### 524 # limit number of users per Org. 525 ; org_user = 10 526 527 # limit number of dashboards per Org. 528 ; org_dashboard = 100 529 530 # limit number of data_sources per Org. 531 ; org_data_source = 10 532 533 # limit number of api_keys per Org. 534 ; org_api_key = 10 535 536 # limit number of orgs a user can create. 537 ; user_org = 10 538 539 # Global limit of users. 540 ; global_user = -1 541 542 # global limit of orgs. 543 ; global_org = -1 544 545 # global limit of dashboards 546 ; global_dashboard = -1 547 548 # global limit of api_keys 549 ; global_api_key = -1 550 551 # global limit on number of logged in users. 552 ; global_session = -1 553 554 #################################### Alerting ############################ 555 [alerting] 556 # Disable alerting engine & UI features 557 ;enabled = true 558 # Makes it possible to turn off alert rule execution but alerting UI is visible 559 ;execute_alerts = true 560 561 # Default setting for new alert rules. Defaults to categorize error and timeouts as alerting. (alerting, keep_state) 562 ;error_or_timeout = alerting 563 564 # Default setting for how Grafana handles nodata or null values in alerting. (alerting, no_data, keep_state, ok) 565 ;nodata_or_nullvalues = no_data 566 567 # Alert notifications can include images, but rendering many images at the same time can overload the server 568 # This limit will protect the server from render overloading and make sure notifications are sent out quickly 569 ;concurrent_render_limit = 5 570 571 572 # Default setting for alert calculation timeout. Default value is 30 573 ;evaluation_timeout_seconds = 30 574 575 # Default setting for alert notification timeout. Default value is 30 576 ;notification_timeout_seconds = 30 577 578 # Default setting for max attempts to sending alert notifications. Default value is 3 579 ;max_attempts = 3 580 581 # Makes it possible to enforce a minimal interval between evaluations, to reduce load on the backend 582 ;min_interval_seconds = 1 583 584 #################################### Explore ############################# 585 [explore] 586 # Enable the Explore section 587 ;enabled = true 588 589 #################################### Internal Grafana Metrics ########################## 590 # Metrics available at HTTP API Url /metrics 591 [metrics] 592 # Disable / Enable internal metrics 593 ;enabled = true 594 # Graphite Publish interval 595 ;interval_seconds = 10 596 # Disable total stats (stat_totals_*) metrics to be generated 597 ;disable_total_stats = false 598 599 #If both are set, basic auth will be required for the metrics endpoint. 600 ; basic_auth_username = 601 ; basic_auth_password = 602 603 # Send internal metrics to Graphite 604 [metrics.graphite] 605 # Enable by setting the address setting (ex localhost:2003) 606 ;address = 607 ;prefix = prod.grafana.%(instance_name)s. 608 609 #################################### Grafana.com integration ########################## 610 # Url used to import dashboards directly from Grafana.com 611 [grafana_com] 612 ;url = https://grafana.com 613 614 #################################### Distributed tracing ############ 615 [tracing.jaeger] 616 # Enable by setting the address sending traces to jaeger (ex localhost:6831) 617 ;address = localhost:6831 618 # Tag that will always be included in when creating new spans. ex (tag1:value1,tag2:value2) 619 ;always_included_tag = tag1:value1 620 # Type specifies the type of the sampler: const, probabilistic, rateLimiting, or remote 621 ;sampler_type = const 622 # jaeger samplerconfig param 623 # for "const" sampler, 0 or 1 for always false/true respectively 624 # for "probabilistic" sampler, a probability between 0 and 1 625 # for "rateLimiting" sampler, the number of spans per second 626 # for "remote" sampler, param is the same as for "probabilistic" 627 # and indicates the initial sampling rate before the actual one 628 # is received from the mothership 629 ;sampler_param = 1 630 # Whether or not to use Zipkin propagation (x-b3- HTTP headers). 631 ;zipkin_propagation = false 632 # Setting this to true disables shared RPC spans. 633 # Not disabling is the most common setting when using Zipkin elsewhere in your infrastructure. 634 ;disable_shared_zipkin_spans = false 635 636 #################################### External image storage ########################## 637 [external_image_storage] 638 # Used for uploading images to public servers so they can be included in slack/email messages. 639 # you can choose between (s3, webdav, gcs, azure_blob, local) 640 ;provider = 641 642 [external_image_storage.s3] 643 ;endpoint = 644 ;path_style_access = 645 ;bucket = 646 ;region = 647 ;path = 648 ;access_key = 649 ;secret_key = 650 651 [external_image_storage.webdav] 652 ;url = 653 ;public_url = 654 ;username = 655 ;password = 656 657 [external_image_storage.gcs] 658 ;key_file = 659 ;bucket = 660 ;path = 661 662 [external_image_storage.azure_blob] 663 ;account_name = 664 ;account_key = 665 ;container_name = 666 667 [external_image_storage.local] 668 # does not require any configuration 669 670 [rendering] 671 # Options to configure a remote HTTP image rendering service, e.g. using https://github.com/grafana/grafana-image-renderer. 672 # URL to a remote HTTP image renderer service, e.g. http://localhost:8081/render, will enable Grafana to render panels and dashboards to PNG-images using HTTP requests to an external service. 673 ;server_url = 674 # If the remote HTTP image renderer service runs on a different server than the Grafana server you may have to configure this to a URL where Grafana is reachable, e.g. http://grafana.domain/. 675 ;callback_url = 676 # Concurrent render request limit affects when the /render HTTP endpoint is used. Rendering many images at the same time can overload the server, 677 # which this setting can help protect against by only allowing a certain amount of concurrent requests. 678 ;concurrent_render_request_limit = 30 679 680 [panels] 681 # If set to true Grafana will allow script tags in text panels. Not recommended as it enable XSS vulnerabilities. 682 ;disable_sanitize_html = false 683 684 [plugins] 685 ;enable_alpha = false 686 ;app_tls_skip_verify_insecure = false 687 # Enter a comma-separated list of plugin identifiers to identify plugins that are allowed to be loaded even if they lack a valid signature. 688 ;allow_loading_unsigned_plugins = 689 690 #################################### Grafana Image Renderer Plugin ########################## 691 [plugin.grafana-image-renderer] 692 # Instruct headless browser instance to use a default timezone when not provided by Grafana, e.g. when rendering panel image of alert. 693 # See ICU’s metaZones.txt (https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt) for a list of supported 694 # timezone IDs. Fallbacks to TZ environment variable if not set. 695 ;rendering_timezone = 696 697 # Instruct headless browser instance to use a default language when not provided by Grafana, e.g. when rendering panel image of alert. 698 # Please refer to the HTTP header Accept-Language to understand how to format this value, e.g. 'fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5'. 699 ;rendering_language = 700 701 # Instruct headless browser instance to use a default device scale factor when not provided by Grafana, e.g. when rendering panel image of alert. 702 # Default is 1. Using a higher value will produce more detailed images (higher DPI), but will require more disk space to store an image. 703 ;rendering_viewport_device_scale_factor = 704 705 # Instruct headless browser instance whether to ignore HTTPS errors during navigation. Per default HTTPS errors are not ignored. Due to 706 # the security risk it's not recommended to ignore HTTPS errors. 707 ;rendering_ignore_https_errors = 708 709 # Instruct headless browser instance whether to capture and log verbose information when rendering an image. Default is false and will 710 # only capture and log error messages. When enabled, debug messages are captured and logged as well. 711 # For the verbose information to be included in the Grafana server log you have to adjust the rendering log level to debug, configure 712 # [log].filter = rendering:debug. 713 ;rendering_verbose_logging = 714 715 # Instruct headless browser instance whether to output its debug and error messages into running process of remote rendering service. 716 # Default is false. This can be useful to enable (true) when troubleshooting. 717 ;rendering_dumpio = 718 719 # Additional arguments to pass to the headless browser instance. Default is --no-sandbox. The list of Chromium flags can be found 720 # here (https://peter.sh/experiments/chromium-command-line-switches/). Multiple arguments is separated with comma-character. 721 ;rendering_args = 722 723 # You can configure the plugin to use a different browser binary instead of the pre-packaged version of Chromium. 724 # Please note that this is not recommended, since you may encounter problems if the installed version of Chrome/Chromium is not 725 # compatible with the plugin. 726 ;rendering_chrome_bin = 727 728 # Instruct how headless browser instances are created. Default is 'default' and will create a new browser instance on each request. 729 # Mode 'clustered' will make sure that only a maximum of browsers/incognito pages can execute concurrently. 730 # Mode 'reusable' will have one browser instance and will create a new incognito page on each request. 731 ;rendering_mode = 732 733 # When rendering_mode = clustered you can instruct how many browsers or incognito pages can execute concurrently. Default is 'browser' 734 # and will cluster using browser instances. 735 # Mode 'context' will cluster using incognito pages. 736 ;rendering_clustering_mode = 737 # When rendering_mode = clustered you can define maximum number of browser instances/incognito pages that can execute concurrently.. 738 ;rendering_clustering_max_concurrency = 739 740 # Limit the maximum viewport width, height and device scale factor that can be requested. 741 ;rendering_viewport_max_width = 742 ;rendering_viewport_max_height = 743 ;rendering_viewport_max_device_scale_factor = 744 745 # Change the listening host and port of the gRPC server. Default host is 127.0.0.1 and default port is 0 and will automatically assign 746 # a port not in use. 747 ;grpc_host = 748 ;grpc_port = 749 750 [enterprise] 751 # Path to a valid Grafana Enterprise license.jwt file 752 ;license_path = 753 754 [feature_toggles] 755 # enable features, separated by spaces 756 ;enable =