@ -1,5 +1,1155 @@
% { if Vars . AuthEnabled ~ }
auth_enabled : true
% { else }
auth_enabled : false
% { endif }
#####################.Configuration Example #####################
#
# Everything has defaults so you only need to uncomment things you want to
# change
# possible values : production, development
app_mode = ${ V a r s . A p p M o d e }
# instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty
instance_name = ${ V a r s . H o s t N a m e }
# force migration will run migrations that might cause dataloss
;force_migration = false
#################################### Paths ####################################
[ paths ]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
data = / var / lib / grafana
# Temporary files in `data` directory older than given duration will be removed
temp_data_lifetime = 24 h
# Directory where grafana can store logs
logs = / var / log / grafana
# Directory where grafana will automatically scan and look for plugins
plugins = / var / lib / grafana / plugins
# folder that contains provisioning config files that grafana will apply on startup and while running.
provisioning = conf / provisioning
#################################### Server ####################################
[ server ]
# Protocol (http, https, h2, socket)
;protocol = http
# The ip address to bind to, empty will bind to all interfaces
;http_addr =
# The http port to use
http_port = ${ V a r s . H T T P P o r t }
# The public facing domain name used to access grafana from a browser
domain = ${ V a r s . D o m a i n N a m e }
# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
;enforce_domain = false
# The full public facing url you use in browser, used for redirects and emails
# If you use reverse proxy and sub path specify full url (with sub path)
;root_url = % ( protocol ) s : / / % ( domain ) s : % ( http_port ) s /
# Serve.from subpath specified in `root_url` setting. By default it is set to `false` for compatibility reasons.
;serve_from_sub_path = false
# Log web requests
;router_logging = false
# the path relative working path
;static_root_path = public
# enable gzip
;enable_gzip = false
# https certs & key file
;cert_file =
;cert_key =
# Unix socket path
;socket =
# CDN Url
;cdn_url =
# Sets the maximum time using a duration format (5s/5m/5ms) before timing out read of an incoming request and closing idle connections.
# `0` means there is no timeout for reading the request.
;read_timeout = 0
#################################### Database ####################################
[ database ]
# You can configure the database connection by specifying type, host, name, user and password
# as separate properties or as on string using the url properties.
# Either "mysql", "postgres" or "sqlite3", it's your choice
type = sqlite3
host = 127 . 0 . 0 . 1 : 3306
name = grafana
user = ${ V a r s . U s e r N a m e }
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
;password =
# Use either URL or the previous fields to configure the database
# Example: mysql://user:secret@host:port/database
;url =
# For "postgres" only, either "disable", "require" or "verify-full"
;ssl_mode = disable
# Database drivers may support different transaction isolation levels.
# Currently, only "mysql" driver supports isolation levels.
# If the value is empty - driver's default isolation level is applied.
# For "mysql" use "READ-UNCOMMITTED", "READ-COMMITTED", "REPEATABLE-READ" or "SERIALIZABLE".
;isolation_level =
;ca_cert_path =
;client_key_path =
;client_cert_path =
;server_cert_name =
# For "sqlite3" only, path relative to data_path setting
path = grafana . db
# Max idle conn setting default is 2
;max_idle_conn = 2
# Max conn setting default is 0 (mean not set)
;max_open_conn =
# Connection Max Lifetime default is 14400 (means 14400 seconds or 4 hours)
;conn_max_lifetime = 14400
# Set to true to log the sql calls and execution times.
;log_queries =
# For "sqlite3" only. cache mode setting used for connecting to the database. (private, shared)
;cache_mode = private
# For "mysql" only if lockingMigration feature toggle is set. How many seconds to wait before failing to lock the database for the migrations, default is 0.
;locking_attempt_timeout_sec = 0
################################### Data sources #########################
[ datasources ]
# Upper limit of data sources that.will return. This limit is a temporary configuration and it will be deprecated when pagination will be introduced on the list data sources API.
;datasource_limit = 5000
#################################### Cache server #############################
[ remote_cache ]
# Either "redis", "memcached" or "database" default is "database"
;type = database
# cache connectionstring options
# database: will use.primary database.
# 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'.
# memcache: 127.0.0.1:11211
;connstr =
#################################### Data proxy ###########################
[ dataproxy ]
# This enables data proxy logging, default is false
;logging = false
# How long the data proxy waits to read the headers of the response before timing out, default is 30 seconds.
# This setting also applies to core backend HTTP data sources where query requests use an HTTP client with timeout set.
;timeout = 30
# How long the data proxy waits to establish a TCP connection before timing out, default is 10 seconds.
;dialTimeout = 10
# How many seconds the data proxy waits before sending a keepalive probe request.
;keep_alive_seconds = 30
# How many seconds the data proxy waits for a successful TLS Handshake before timing out.
;tls_handshake_timeout_seconds = 10
# How many seconds the data proxy will wait for a server's first response headers after
# fully writing the request headers if the request has an "Expect: 100-continue"
# header. A value of 0 will result in the body being sent immediately, without
# waiting for the server to approve.
;expect_continue_timeout_seconds = 1
# Optionally limits the total number of connections per host, including connections in the dialing,
# active, and idle states. On limit violation, dials will block.
# A value of zero (0) means no limit.
;max_conns_per_host = 0
# The maximum number of idle connections that.will keep alive.
;max_idle_connections = 100
# How many seconds the data proxy keeps an idle connection open before timing out.
;idle_conn_timeout_seconds = 90
# If enabled and user is not anonymous, data proxy will add X.User header with username into the request, default is false.
;send_user_header = false
# Limit the amount of bytes that will be read/accepted from responses of outgoing HTTP requests.
;response_limit = 0
# Limits the number of rows that.will process from SQL data sources.
;row_limit = 1000000
#################################### Analytics ####################################
[ analytics ]
# Server reporting, sends usage counters to stats.grafana.org every 24 hours.
# No ip addresses are being tracked, only simple counters to track
# running instances, dashboard and error counts. It is very helpful to us.
# Change this option to false to disable reporting.
;reporting_enabled = true
# The name of the distributor of the.instance. Ex hosted-grafana, grafana-labs
;reporting_distributor = grafana - labs
# Set to false to disable all checks to https://grafana.com
# for new versions of grafana. The check is used
# in some UI views to notify that a grafana update exists.
# This option does not cause any auto updates, nor send any information
# only a GET request to https://raw.githubusercontent.com/grafana/grafana/main/latest.json to get the latest version.
;check_for_updates = true
# Set to false to disable all checks to https://grafana.com
# for new versions of plugins. The check is used
# in some UI views to notify that a plugin update exists.
# This option does not cause any auto updates, nor send any information
# only a GET request to https://grafana.com to get the latest versions.
;check_for_plugin_updates = true
# Google Analytics universal tracking code, only enabled if you specify an id here
;google_analytics_ua_id =
# Google Tag Manager ID, only enabled if you specify an id here
;google_tag_manager_id =
# Rudderstack write key, enabled only if rudderstack_data_plane_url is also set
;rudderstack_write_key =
# Rudderstack data plane url, enabled only if rudderstack_write_key is also set
;rudderstack_data_plane_url =
# Rudderstack SDK url, optional, only valid if rudderstack_write_key and rudderstack_data_plane_url is also set
;rudderstack_sdk_url =
# Rudderstack Config url, optional, used by Rudderstack SDK to fetch source config
;rudderstack_config_url =
# Controls if the UI contains any links to user feedback forms
;feedback_links_enabled = true
#################################### Security ####################################
[ security ]
# disable creation of admin user on first start of grafana
;disable_initial_admin_creation = false
# default admin user, created on startup
;admin_user = admin
# default admin password, can be changed before first start of grafana, or in profile settings
;admin_password = admin
# used for signing
;secret_key = SW2YcwTIb9zpOOhoPsMm
# current key provider used for envelope encryption, default to static value specified by secret_key
;encryption_provider = secretKey . v1
# list of configured key providers, space separated (Enterprise only): e.g., awskms.v1 azurekv.v1
;available_encryption_providers =
# disable gravatar profile images
;disable_gravatar = false
# data source proxy whitelist (ip_or_domain:port separated by spaces)
;data_source_proxy_whitelist =
# disable protection against brute force login attempts
;disable_brute_force_login_protection = false
# set to true if you host.behind HTTPS. default is false.
;cookie_secure = false
# set cookie SameSite attribute. defaults to `lax`. can be set to "lax", "strict", "none" and "disabled"
;cookie_samesite = lax
# set to true if you want to allow browsers to render.in a <frame>, <iframe>, <embed> or <object>. default is false.
;allow_embedding = false
# Set to true if you want to enable http strict transport security (HSTS) response header.
# HSTS tells browsers that the site should only be accessed using HTTPS.
;strict_transport_security = false
# Sets how long a browser should cache HSTS. Only applied if strict_transport_security is enabled.
;strict_transport_security_max_age_seconds = 86400
# Set to true if to enable HSTS preloading option. Only applied if strict_transport_security is enabled.
;strict_transport_security_preload = false
# Set to true if to enable the HSTS includeSubDomains option. Only applied if strict_transport_security is enabled.
;strict_transport_security_subdomains = false
# Set to true to enable the X-Content-Type-Options response header.
# The X-Content-Type-Options response HTTP header is a marker used by the server to indicate that the MIME types advertised
# in the Content-Type headers should not be changed and be followed.
;x_content_type_options = true
# Set to true to enable the X-XSS-Protection header, which tells browsers to stop pages from loading
# when they detect reflected cross-site scripting (XSS) attacks.
;x_xss_protection = true
# Enable adding the Content-Security-Policy header to your requests.
# CSP allows to control resources the user agent is allowed to load and helps prevent XSS attacks.
;content_security_policy = false
# Set Content Security Policy template used when adding the Content-Security-Policy header to your requests.
# $NONCE in the template includes a random nonce.
# $ROOT_PATH is server.root_url without the protocol.
;content_security_policy_template = """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';"""
# Controls if old angular plugins are supported or not. This will be disabled by default in future release
;angular_support_enabled = true
[ security . encryption ]
# Defines the time-to-live (TTL) for decrypted data encryption keys stored in memory (cache).
# Please note that small values may cause performance issues due to a high frequency decryption operations.
;data_keys_cache_ttl = 15 m
# Defines the frequency of data encryption keys cache cleanup interval.
# On every interval, decrypted data encryption keys that reached the TTL are removed from the cache.
;data_keys_cache_cleanup_interval = 1 m
#################################### Snapshots ###########################
[ snapshots ]
# snapshot sharing options
;external_enabled = true
;external_snapshot_url = https : / / snapshots . raintank . io
;external_snapshot_name = Publish to snapshots . raintank . io
# Set to true to enable this.instance act as an external snapshot server and allow unauthenticated requests for
# creating and deleting snapshots.
;public_mode = false
# remove expired snapshot
;snapshot_remove_expired = true
#################################### Dashboards History ##################
[ dashboards ]
# Number dashboard versions to keep (per dashboard). Default: 20, Minimum: 1
;versions_to_keep = 20
# 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.
# 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.
;min_refresh_interval = 5 s
# Path to the default home dashboard. If this value is empty, then.uses StaticRootPath + "dashboards/home.json"
;default_home_dashboard_path =
#################################### Users ###############################
[ users ]
# disable user signup / registration
;allow_sign_up = true
# Allow non admin users to create organizations
;allow_org_create = true
# Set to true to automatically assign new users to the default organization (id 1)
;auto_assign_org = true
# Set this value to automatically add new users to the provided organization (if auto_assign_org above is set to true)
;auto_assign_org_id = 1
# Default role new users will be automatically assigned (if disabled above is set to true)
;auto_assign_org_role = Viewer
# Require email validation before sign up completes
;verify_email_enabled = false
# Background text for the user field on the login page
;login_hint = email or username
;password_hint = password
# Default UI theme ("dark" or "light")
;default_theme = dark
# Path to a custom home page. Users are only redirected to this if the default home dashboard is used. It should match a frontend route and contain a leading slash.
; home_page =
# External user management, these options affect the organization users view
;external_manage_link_url =
;external_manage_link_name =
;external_manage_info =
# Viewers can edit/inspect dashboard settings in the browser. But not save the dashboard.
;viewers_can_edit = false
# Editors can administrate dashboard, folders and teams they create
;editors_can_admin = false
# The duration in time a user invitation remains valid before expiring. This setting should be expressed as a duration. Examples: 6h (hours), 2d (days), 1w (week). Default is 24h (24 hours). The minimum supported duration is 15m (15 minutes).
;user_invite_max_lifetime_duration = 24 h
# Enter a comma-separated list of users login to hide them in the.UI. These users are shown to.admins and themselves.
; hidden_users =
[ auth ]
# Login cookie name
;login_cookie_name = grafana_session
# The maximum lifetime (duration) an authenticated user can be inactive before being required to login at next visit. Default is 7 days (7d). This setting should be expressed as a duration, e.g. 5m (minutes), 6h (hours), 10d (days), 2w (weeks), 1M (month). The lifetime resets at each successful token rotation.
;login_maximum_inactive_lifetime_duration =
# The maximum lifetime (duration) an authenticated user can be logged in since login time before being required to login. Default is 30 days (30d). This setting should be expressed as a duration, e.g. 5m (minutes), 6h (hours), 10d (days), 2w (weeks), 1M (month).
;login_maximum_lifetime_duration =
# How often should auth tokens be rotated for authenticated users when being active. The default is each 10 minutes.
;token_rotation_interval_minutes = 10
# Set to true to disable (hide) the login form, useful if you use OAuth, defaults to false
;disable_login_form = false
# Set to true to disable the sign out link in the side menu. Useful if you use auth.proxy or auth.jwt, defaults to false
;disable_signout_menu = false
# URL to redirect the user to after sign out
;signout_redirect_url =
# Set to true to attempt login with OAuth automatically, skipping the login screen.
# This setting is ignored if multiple OAuth providers are configured.
;oauth_auto_login = false
# OAuth state max age cookie duration in seconds. Defaults to 600 seconds.
;oauth_state_cookie_max_age = 600
# Skip forced assignment of OrgID 1 or 'auto_assign_org_id' for social logins
;oauth_skip_org_role_update_sync = false
# limit of api_key seconds to live before expiration
;api_key_max_seconds_to_live = - 1
# Set to true to enable SigV4 authentication option for HTTP-based datasources.
;sigv4_auth_enabled = false
# Set to true to enable verbose logging of SigV4 request signing
;sigv4_verbose_logging = false
#################################### Anonymous Auth ######################
[ auth . anonymous ]
# enable anonymous access
;enabled = false
# specify organization name that should be used for unauthenticated users
;org_name = Main Org .
# specify role for unauthenticated users
;org_role = Viewer
# mask the.version number for unauthenticated users
;hide_version = false
#################################### GitHub Auth ##########################
[ auth . github ]
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user : email , read : org
;auth_url = https : / / github . com / login / oauth / authorize
;token_url = https : / / github . com / login / oauth / access_token
;api_url = https : / / api . github . com / user
;allowed_domains =
;team_ids =
;allowed_organizations =
#################################### GitLab Auth #########################
[ auth . gitlab ]
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = api
;auth_url = https : / / gitlab . com / oauth / authorize
;token_url = https : / / gitlab . com / oauth / token
;api_url = https : / / gitlab . com / api / v4
;allowed_domains =
;allowed_groups =
#################################### Google Auth ##########################
[ auth . google ]
;enabled = false
;allow_sign_up = true
;client_id = some_client_id
;client_secret = some_client_secret
;scopes = https : / / www . googleapis . com / auth / userinfo . profile https : / / www . googleapis . com / auth / userinfo . email
;auth_url = https : / / accounts . google . com / o / oauth2 / auth
;token_url = https : / / accounts . google . com / o / oauth2 / token
;api_url = https : / / www . googleapis . com / oauth2 / v1 / userinfo
;allowed_domains =
;hosted_domain =
####################################.com Auth ####################
[ auth . grafana_com ]
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user : email
;allowed_organizations =
#################################### Azure AD OAuth #######################
[ auth . azuread ]
;name = Azure AD
;enabled = false
;allow_sign_up = true
;client_id = some_client_id
;client_secret = some_client_secret
;scopes = openid email profile
;auth_url = https : / / login . microsoftonline . com / < tenant - id > / oauth2 / v2 . 0 / authorize
;token_url = https : / / login . microsoftonline . com / < tenant - id > / oauth2 / v2 . 0 / token
;allowed_domains =
;allowed_groups =
;role_attribute_strict = false
#################################### Okta OAuth #######################
[ auth . okta ]
;name = Okta
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = openid profile email groups
;auth_url = https : / / < tenant - id > . okta . com / oauth2 / v1 / authorize
;token_url = https : / / < tenant - id > . okta . com / oauth2 / v1 / token
;api_url = https : / / < tenant - id > . okta . com / oauth2 / v1 / userinfo
;allowed_domains =
;allowed_groups =
;role_attribute_path =
;role_attribute_strict = false
#################################### Generic OAuth ##########################
[ auth . generic_oauth ]
;enabled = false
;name = OAuth
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user : email , read : org
;empty_scopes = false
;email_attribute_name = email : primary
;email_attribute_path =
;login_attribute_path =
;name_attribute_path =
;id_token_attribute_name =
;auth_url = https : / / foo . bar / login / oauth / authorize
;token_url = https : / / foo . bar / login / oauth / access_token
;api_url = https : / / foo . bar / user
;teams_url =
;allowed_domains =
;team_ids =
;allowed_organizations =
;role_attribute_path =
;role_attribute_strict = false
;groups_attribute_path =
;team_ids_attribute_path =
;tls_skip_verify_insecure = false
;tls_client_cert =
;tls_client_key =
;tls_client_ca =
;use_pkce = false
#################################### Basic Auth ##########################
[ auth . basic ]
;enabled = true
#################################### Auth Proxy ##########################
[ auth . proxy ]
;enabled = false
;header_name = X - WEBAUTH - USER
;header_property = username
;auto_sign_up = true
;sync_ttl = 60
;whitelist = 192 . 168 . 1 . 1 , 192 . 168 . 2 . 1
;headers = Email : X - User - Email , Name : X - User - Name
# Non-ASCII strings in header values are encoded using quoted-printable encoding
;headers_encoded = false
# Read the auth proxy docs for details on what the setting below enables
;enable_login_token = false
#################################### Auth JWT ##########################
[ auth . jwt ]
;enabled = true
;header_name = X - JWT - Assertion
;email_claim = sub
;username_claim = sub
;jwk_set_url = https : / / foo . bar / . well - known / jwks . json
;jwk_set_file = / path / to / jwks . json
;cache_ttl = 60 m
;expected_claims = {"aud": ["foo", "bar" ] }
;key_file = / path / to / key / file
;auto_sign_up = false
#################################### Auth LDAP ##########################
[ auth . ldap ]
;enabled = false
;config_file = / etc / grafana / ldap . toml
;allow_sign_up = true
# LDAP background sync (Enterprise only)
# At 1 am every day
;sync_cron = "0 0 1 * * *"
;active_sync_enabled = true
#################################### AWS ###########################
[ aws ]
# Enter a comma-separated list of allowed AWS authentication providers.
# Options are: default (AWS SDK Default), keys (Access && secret key), credentials (Credentials field), ec2_iam_role (EC2 IAM Role)
; allowed_auth_providers = default , keys , credentials
# Allow AWS users to assume a role using temporary security credentials.
# If true, assume role will be enabled for all AWS authentication providers that are specified in aws_auth_providers
; assume_role_enabled = true
#################################### Azure ###############################
[ azure ]
# Azure cloud environment where.is hosted
# Possible values are AzureCloud, AzureChinaCloud, AzureUSGovernment and AzureGermanCloud
# Default value is AzureCloud (i.e. public cloud)
;cloud = AzureCloud
# Specifies whether.hosted in Azure service with Managed Identity configured (e.g. Azure Virtual Machines instance)
# If enabled, the managed identity can be used for authentication of.in Azure services
# Disabled by default, needs to be explicitly enabled
;managed_identity_enabled = false
# Client ID to use for user-assigned managed identity
# Should be set for user-assigned identity and should be empty for system-assigned identity
;managed_identity_client_id =
#################################### SMTP / Emailing ##########################
[ smtp ]
;enabled = false
;host = localhost : 25
;user =
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
;password =
;cert_file =
;key_file =
;skip_verify = false
;from_address = admin @ grafana . localhost
;from_name = Grafana
# EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard . example . com
# SMTP startTLS policy (defaults to 'OpportunisticStartTLS')
;startTLS_policy = NoStartTLS
[ emails ]
;welcome_email_on_sign_up = false
;templates_pattern = emails /* . h t m l , e m a i l s /* . t x t
; c o n t e n t _ t y p e s = t e x t / h t m l
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # L o g g i n g # # # # # # # # # # # # # # # # # # # # # # # # # #
[ l o g ]
# E i t h e r " c o n s o l e " , " f i l e " , " s y s l o g " . D e f a u l t i s c o n s o l e a n d f i l e
# U s e s p a c e t o s e p a r a t e m u l t i p l e m o d e s , e . g . " c o n s o l e f i l e "
; m o d e = c o n s o l e f i l e
# E i t h e r " d e b u g " , " i n f o " , " w a r n " , " e r r o r " , " c r i t i c a l " , d e f a u l t i s " i n f o "
; l e v e l = i n f o
# o p t i o n a l s e t t i n g s t o s e t d i f f e r e n t l e v e l s f o r s p e c i f i c l o g g e r s . E x f i l t e r s = s q l s t o r e : d e b u g
; f i l t e r s =
# F o r " c o n s o l e " m o d e o n l y
[ l o g . c o n s o l e ]
; l e v e l =
# l o g l i n e f o r m a t , v a l i d o p t i o n s a r e t e x t , c o n s o l e a n d j s o n
; f o r m a t = c o n s o l e
# F o r " f i l e " m o d e o n l y
[ l o g . f i l e ]
; l e v e l =
# l o g l i n e f o r m a t , v a l i d o p t i o n s a r e t e x t , c o n s o l e a n d j s o n
; f o r m a t = t e x t
# T h i s e n a b l e s a u t o m a t e d l o g r o t a t e ( s w i t c h o f f o l l o w i n g o p t i o n s ) , d e f a u l t i s t r u e
; l o g _ r o t a t e = t r u e
# M a x l i n e n u m b e r o f s i n g l e f i l e , d e f a u l t i s 1 0 0 0 0 0 0
; m a x _ l i n e s = 1 0 0 0 0 0 0
# M a x s i z e s h i f t o f s i n g l e f i l e , d e f a u l t i s 2 8 m e a n s 1 < < 2 8 , 2 5 6 M B
; m a x _ s i z e _ s h i f t = 2 8
# S e g m e n t l o g d a i l y , d e f a u l t i s t r u e
; d a i l y _ r o t a t e = t r u e
# E x p i r e d d a y s o f l o g f i l e ( d e l e t e a f t e r m a x d a y s ) , d e f a u l t i s 7
; m a x _ d a y s = 7
[ l o g . s y s l o g ]
; l e v e l =
# l o g l i n e f o r m a t , v a l i d o p t i o n s a r e t e x t , c o n s o l e a n d j s o n
; f o r m a t = t e x t
# S y s l o g n e t w o r k t y p e a n d a d d r e s s . T h i s c a n b e u d p , t c p , o r u n i x . I f l e f t b l a n k , t h e d e f a u l t u n i x e n d p o i n t s w i l l b e u s e d .
; n e t w o r k =
; a d d r e s s =
# S y s l o g f a c i l i t y . u s e r , d a e m o n a n d l o c a l 0 t h r o u g h l o c a l 7 a r e v a l i d .
; f a c i l i t y =
# S y s l o g t a g . B y d e f a u l t , t h e p r o c e s s ' a r g v [ 0 ] i s u s e d .
; t a g =
[ l o g . f r o n t e n d ]
# S h o u l d S e n t r y j a v a s c r i p t a g e n t b e i n i t i a l i z e d
; e n a b l e d = f a l s e
# S e n t r y D S N i f y o u w a n t t o s e n d e v e n t s t o S e n t r y .
; s e n t r y _ d s n =
# C u s t o m H T T P e n d p o i n t t o s e n d e v e n t s c a p t u r e d b y t h e S e n t r y a g e n t t o . D e f a u l t w i l l l o g t h e e v e n t s t o s t d o u t .
; c u s t o m _ e n d p o i n t = / l o g
# R a t e o f e v e n t s t o b e r e p o r t e d b e t w e e n 0 ( n o n e ) a n d 1 ( a l l ) , f l o a t
; s a m p l e _ r a t e = 1 . 0
# R e q u e s t s p e r s e c o n d l i m i t e n f o r c e d a n e x t e n d e d p e r i o d , f o r . b a c k e n d l o g i n g e s t i o n e n d p o i n t ( / l o g ) .
; l o g _ e n d p o i n t _ r e q u e s t s _ p e r _ s e c o n d _ l i m i t = 3
# M a x r e q u e s t s a c c e p t e d p e r s h o r t i n t e r v a l o f t i m e f o r . b a c k e n d l o g i n g e s t i o n e n d p o i n t ( / l o g ) .
; l o g _ e n d p o i n t _ b u r s t _ l i m i t = 1 5
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # U s a g e Q u o t a s # # # # # # # # # # # # # # # # # # # # # # # #
[ q u o t a ]
; e n a b l e d = f a l s e
# # # # s e t q u o t a s t o - 1 t o m a k e u n l i m i t e d . # # # #
# l i m i t n u m b e r o f u s e r s p e r O r g .
; o r g _ u s e r = 1 0
# l i m i t n u m b e r o f d a s h b o a r d s p e r O r g .
; o r g _ d a s h b o a r d = 1 0 0
# l i m i t n u m b e r o f d a t a _ s o u r c e s p e r O r g .
; o r g _ d a t a _ s o u r c e = 1 0
# l i m i t n u m b e r o f a p i _ k e y s p e r O r g .
; o r g _ a p i _ k e y = 1 0
# l i m i t n u m b e r o f a l e r t s p e r O r g .
; o r g _ a l e r t _ r u l e = 1 0 0
# l i m i t n u m b e r o f o r g s a u s e r c a n c r e a t e .
; u s e r _ o r g = 1 0
# G l o b a l l i m i t o f u s e r s .
; g l o b a l _ u s e r = - 1
# g l o b a l l i m i t o f o r g s .
; g l o b a l _ o r g = - 1
# g l o b a l l i m i t o f d a s h b o a r d s
; g l o b a l _ d a s h b o a r d = - 1
# g l o b a l l i m i t o f a p i _ k e y s
; g l o b a l _ a p i _ k e y = - 1
# g l o b a l l i m i t o n n u m b e r o f l o g g e d i n u s e r s .
; g l o b a l _ s e s s i o n = - 1
# g l o b a l l i m i t o f a l e r t s
; g l o b a l _ a l e r t _ r u l e = - 1
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # U n i f i e d A l e r t i n g # # # # # # # # # # # # # # # # # # # #
[ u n i f i e d _ a l e r t i n g ]
# E n a b l e t h e U n i f i e d A l e r t i n g s u b - s y s t e m a n d i n t e r f a c e . W h e n e n a b l e d w e ' l l m i g r a t e a l l o f y o u r a l e r t r u l e s a n d n o t i f i c a t i o n c h a n n e l s t o t h e n e w s y s t e m . N e w a l e r t r u l e s w i l l b e c r e a t e d a n d y o u r n o t i f i c a t i o n c h a n n e l s w i l l b e c o n v e r t e d i n t o a n A l e r t m a n a g e r c o n f i g u r a t i o n . P r e v i o u s d a t a i s p r e s e r v e d t o e n a b l e b a c k w a r d s c o m p a t i b i l i t y b u t n e w d a t a i s r e m o v e d . ` ` `
; e n a b l e d = t r u e
# C o m m a - s e p a r a t e d l i s t o f o r g a n i z a t i o n I D s f o r w h i c h t o d i s a b l e u n i f i e d a l e r t i n g . O n l y s u p p o r t e d i f u n i f i e d a l e r t i n g i s e n a b l e d .
; d i s a b l e d _ o r g s =
# S p e c i f y t h e f r e q u e n c y o f p o l l i n g f o r a d m i n c o n f i g c h a n g e s .
# T h e i n t e r v a l s t r i n g i s a p o s s i b l y s i g n e d s e q u e n c e o f d e c i m a l n u m b e r s , f o l l o w e d b y a u n i t s u f f i x ( m s , s , m , h , d ) , e . g . 3 0 s o r 1 m .
; a d m i n _ c o n f i g _ p o l l _ i n t e r v a l = 6 0 s
# S p e c i f y t h e f r e q u e n c y o f p o l l i n g f o r A l e r t m a n a g e r c o n f i g c h a n g e s .
# T h e i n t e r v a l s t r i n g i s a p o s s i b l y s i g n e d s e q u e n c e o f d e c i m a l n u m b e r s , f o l l o w e d b y a u n i t s u f f i x ( m s , s , m , h , d ) , e . g . 3 0 s o r 1 m .
; a l e r t m a n a g e r _ c o n f i g _ p o l l _ i n t e r v a l = 6 0 s
# L i s t e n a d d r e s s / h o s t n a m e a n d p o r t t o r e c e i v e u n i f i e d a l e r t i n g m e s s a g e s f o r o t h e r . i n s t a n c e s . T h e p o r t i s u s e d f o r b o t h T C P a n d U D P . I t i s a s s u m e d o t h e r . i n s t a n c e s a r e a l s o r u n n i n g o n t h e s a m e p o r t . T h e d e f a u l t v a l u e i s ` 0 . 0 . 0 . 0 : 9 0 9 4 ` .
; h a _ l i s t e n _ a d d r e s s = " 0 . 0 . 0 . 0 : 9 0 9 4 "
# L i s t e n a d d r e s s / h o s t n a m e a n d p o r t t o r e c e i v e u n i f i e d a l e r t i n g m e s s a g e s f o r o t h e r . i n s t a n c e s . T h e p o r t i s u s e d f o r b o t h T C P a n d U D P . I t i s a s s u m e d o t h e r . i n s t a n c e s a r e a l s o r u n n i n g o n t h e s a m e p o r t . T h e d e f a u l t v a l u e i s ` 0 . 0 . 0 . 0 : 9 0 9 4 ` .
; h a _ a d v e r t i s e _ a d d r e s s = " "
# C o m m a - s e p a r a t e d l i s t o f i n i t i a l i n s t a n c e s ( i n a f o r m a t o f h o s t : p o r t ) t h a t w i l l f o r m t h e H A c l u s t e r . C o n f i g u r i n g t h i s s e t t i n g w i l l e n a b l e H i g h A v a i l a b i l i t y m o d e f o r a l e r t i n g .
; h a _ p e e r s = " "
# T i m e t o w a i t f o r a n i n s t a n c e t o s e n d a n o t i f i c a t i o n v i a t h e A l e r t m a n a g e r . I n H A , e a c h . i n s t a n c e w i l l
# b e a s s i g n e d a p o s i t i o n ( e . g . 0 , 1 ) . W e t h e n m u l t i p l y t h i s p o s i t i o n w i t h t h e t i m e o u t t o i n d i c a t e h o w l o n g s h o u l d
# e a c h i n s t a n c e w a i t b e f o r e s e n d i n g t h e n o t i f i c a t i o n t o t a k e i n t o a c c o u n t r e p l i c a t i o n l a g .
# T h e i n t e r v a l s t r i n g i s a p o s s i b l y s i g n e d s e q u e n c e o f d e c i m a l n u m b e r s , f o l l o w e d b y a u n i t s u f f i x ( m s , s , m , h , d ) , e . g . 3 0 s o r 1 m .
; h a _ p e e r _ t i m e o u t = " 1 5 s "
# T h e i n t e r v a l b e t w e e n s e n d i n g g o s s i p m e s s a g e s . B y l o w e r i n g t h i s v a l u e ( m o r e f r e q u e n t ) g o s s i p m e s s a g e s a r e p r o p a g a t e d
# a c r o s s c l u s t e r m o r e q u i c k l y a t t h e e x p e n s e o f i n c r e a s e d b a n d w i d t h u s a g e .
# T h e i n t e r v a l s t r i n g i s a p o s s i b l y s i g n e d s e q u e n c e o f d e c i m a l n u m b e r s , f o l l o w e d b y a u n i t s u f f i x ( m s , s , m , h , d ) , e . g . 3 0 s o r 1 m .
; h a _ g o s s i p _ i n t e r v a l = " 2 0 0 m s "
# T h e i n t e r v a l b e t w e e n g o s s i p f u l l s t a t e s y n c s . S e t t i n g t h i s i n t e r v a l l o w e r ( m o r e f r e q u e n t ) w i l l i n c r e a s e c o n v e r g e n c e s p e e d s
# a c r o s s l a r g e r c l u s t e r s a t t h e e x p e n s e o f i n c r e a s e d b a n d w i d t h u s a g e .
# T h e i n t e r v a l s t r i n g i s a p o s s i b l y s i g n e d s e q u e n c e o f d e c i m a l n u m b e r s , f o l l o w e d b y a u n i t s u f f i x ( m s , s , m , h , d ) , e . g . 3 0 s o r 1 m .
; h a _ p u s h _ p u l l _ i n t e r v a l = " 6 0 s "
# E n a b l e o r d i s a b l e a l e r t i n g r u l e e x e c u t i o n . T h e a l e r t i n g U I r e m a i n s v i s i b l e . T h i s o p t i o n h a s a l e g a c y v e r s i o n i n t h e ` [ a l e r t i n g ] ` s e c t i o n t h a t t a k e s p r e c e d e n c e .
; e x e c u t e _ a l e r t s = t r u e
# A l e r t e v a l u a t i o n t i m e o u t w h e n f e t c h i n g d a t a f r o m t h e d a t a s o u r c e . T h i s o p t i o n h a s a l e g a c y v e r s i o n i n t h e ` [ a l e r t i n g ] ` s e c t i o n t h a t t a k e s p r e c e d e n c e .
# T h e t i m e o u t s t r i n g i s a p o s s i b l y s i g n e d s e q u e n c e o f d e c i m a l n u m b e r s , f o l l o w e d b y a u n i t s u f f i x ( m s , s , m , h , d ) , e . g . 3 0 s o r 1 m .
; e v a l u a t i o n _ t i m e o u t = 3 0 s
# N u m b e r o f t i m e s w e ' l l a t t e m p t t o e v a l u a t e a n a l e r t r u l e b e f o r e g i v i n g u p o n t h a t e v a l u a t i o n . T h i s o p t i o n h a s a l e g a c y v e r s i o n i n t h e ` [ a l e r t i n g ] ` s e c t i o n t h a t t a k e s p r e c e d e n c e .
; m a x _ a t t e m p t s = 3
# M i n i m u m i n t e r v a l t o e n f o r c e b e t w e e n r u l e e v a l u a t i o n s . R u l e s w i l l b e a d j u s t e d i f t h e y a r e l e s s t h a n t h i s v a l u e o r i f t h e y a r e n o t m u l t i p l e o f t h e s c h e d u l e r i n t e r v a l ( 1 0 s ) . H i g h e r v a l u e s c a n h e l p w i t h r e s o u r c e m a n a g e m e n t a s w e ' l l s c h e d u l e f e w e r e v a l u a t i o n s o v e r t i m e . T h i s o p t i o n h a s a l e g a c y v e r s i o n i n t h e ` [ a l e r t i n g ] ` s e c t i o n t h a t t a k e s p r e c e d e n c e .
# T h e i n t e r v a l s t r i n g i s a p o s s i b l y s i g n e d s e q u e n c e o f d e c i m a l n u m b e r s , f o l l o w e d b y a u n i t s u f f i x ( m s , s , m , h , d ) , e . g . 3 0 s o r 1 m .
; m i n _ i n t e r v a l = 1 0 s
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # A l e r t i n g # # # # # # # # # # # # # # # # # # # # # # # # # # # #
[ a l e r t i n g ]
# D i s a b l e l e g a c y a l e r t i n g e n g i n e & U I f e a t u r e s
; e n a b l e d = f a l s e
# M a k e s i t p o s s i b l e t o t u r n o f f a l e r t e x e c u t i o n b u t a l e r t i n g U I i s v i s i b l e
; e x e c u t e _ a l e r t s = t r u e
# D e f a u l t s e t t i n g f o r n e w a l e r t r u l e s . D e f a u l t s t o c a t e g o r i z e e r r o r a n d t i m e o u t s a s a l e r t i n g . ( a l e r t i n g , k e e p _ s t a t e )
; e r r o r _ o r _ t i m e o u t = a l e r t i n g
# D e f a u l t s e t t i n g f o r h o w . h a n d l e s n o d a t a o r n u l l v a l u e s i n a l e r t i n g . ( a l e r t i n g , n o _ d a t a , k e e p _ s t a t e , o k )
; n o d a t a _ o r _ n u l l v a l u e s = n o _ d a t a
# A l e r t n o t i f i c a t i o n s c a n i n c l u d e i m a g e s , b u t r e n d e r i n g m a n y i m a g e s a t t h e s a m e t i m e c a n o v e r l o a d t h e s e r v e r
# T h i s l i m i t w i l l p r o t e c t t h e s e r v e r f r o m r e n d e r o v e r l o a d i n g a n d m a k e s u r e n o t i f i c a t i o n s a r e s e n t o u t q u i c k l y
; c o n c u r r e n t _ r e n d e r _ l i m i t = 5
# D e f a u l t s e t t i n g f o r a l e r t c a l c u l a t i o n t i m e o u t . D e f a u l t v a l u e i s 3 0
; e v a l u a t i o n _ t i m e o u t _ s e c o n d s = 3 0
# D e f a u l t s e t t i n g f o r a l e r t n o t i f i c a t i o n t i m e o u t . D e f a u l t v a l u e i s 3 0
; n o t i f i c a t i o n _ t i m e o u t _ s e c o n d s = 3 0
# D e f a u l t s e t t i n g f o r m a x a t t e m p t s t o s e n d i n g a l e r t n o t i f i c a t i o n s . D e f a u l t v a l u e i s 3
; m a x _ a t t e m p t s = 3
# M a k e s i t p o s s i b l e t o e n f o r c e a m i n i m a l i n t e r v a l b e t w e e n e v a l u a t i o n s , t o r e d u c e l o a d o n t h e b a c k e n d
; m i n _ i n t e r v a l _ s e c o n d s = 1
# C o n f i g u r e s f o r h o w l o n g a l e r t a n n o t a t i o n s a r e s t o r e d . D e f a u l t i s 0 , w h i c h k e e p s t h e m f o r e v e r .
# T h i s s e t t i n g s h o u l d b e e x p r e s s e d a s a d u r a t i o n . E x a m p l e s : 6 h ( h o u r s ) , 1 0 d ( d a y s ) , 2 w ( w e e k s ) , 1 M ( m o n t h ) .
; m a x _ a n n o t a t i o n _ a g e =
# C o n f i g u r e s m a x n u m b e r o f a l e r t a n n o t a t i o n s t h a t . s t o r e s . D e f a u l t v a l u e i s 0 , w h i c h k e e p s a l l a l e r t a n n o t a t i o n s .
; m a x _ a n n o t a t i o n s _ t o _ k e e p =
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # A n n o t a t i o n s # # # # # # # # # # # # # # # # # # # # # # # # #
[ a n n o t a t i o n s ]
# C o n f i g u r e s t h e b a t c h s i z e f o r t h e a n n o t a t i o n c l e a n - u p j o b . T h i s s e t t i n g i s u s e d f o r d a s h b o a r d , A P I , a n d a l e r t a n n o t a t i o n s .
; c l e a n u p j o b _ b a t c h s i z e = 1 0 0
[ a n n o t a t i o n s . d a s h b o a r d ]
# D a s h b o a r d a n n o t a t i o n s m e a n s t h a t a n n o t a t i o n s a r e a s s o c i a t e d w i t h t h e d a s h b o a r d t h e y a r e c r e a t e d o n .
# C o n f i g u r e s h o w l o n g d a s h b o a r d a n n o t a t i o n s a r e s t o r e d . D e f a u l t i s 0 , w h i c h k e e p s t h e m f o r e v e r .
# T h i s s e t t i n g s h o u l d b e e x p r e s s e d a s a d u r a t i o n . E x a m p l e s : 6 h ( h o u r s ) , 1 0 d ( d a y s ) , 2 w ( w e e k s ) , 1 M ( m o n t h ) .
; m a x _ a g e =
# C o n f i g u r e s m a x n u m b e r o f d a s h b o a r d a n n o t a t i o n s t h a t . s t o r e s . D e f a u l t v a l u e i s 0 , w h i c h k e e p s a l l d a s h b o a r d a n n o t a t i o n s .
; m a x _ a n n o t a t i o n s _ t o _ k e e p =
[ a n n o t a t i o n s . a p i ]
# A P I a n n o t a t i o n s m e a n s t h a t t h e a n n o t a t i o n s h a v e b e e n c r e a t e d u s i n g t h e A P I w i t h o u t a n y
# a s s o c i a t i o n w i t h a d a s h b o a r d .
# C o n f i g u r e s h o w l o n g . s t o r e s A P I a n n o t a t i o n s . D e f a u l t i s 0 , w h i c h k e e p s t h e m f o r e v e r .
# T h i s s e t t i n g s h o u l d b e e x p r e s s e d a s a d u r a t i o n . E x a m p l e s : 6 h ( h o u r s ) , 1 0 d ( d a y s ) , 2 w ( w e e k s ) , 1 M ( m o n t h ) .
; m a x _ a g e =
# C o n f i g u r e s m a x n u m b e r o f A P I a n n o t a t i o n s t h a t . k e e p s . D e f a u l t v a l u e i s 0 , w h i c h k e e p s a l l A P I a n n o t a t i o n s .
; m a x _ a n n o t a t i o n s _ t o _ k e e p =
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # E x p l o r e # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
[ e x p l o r e ]
# E n a b l e t h e E x p l o r e s e c t i o n
; e n a b l e d = t r u e
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # H e l p # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
[ h e l p ]
# E n a b l e t h e H e l p s e c t i o n
; e n a b l e d = t r u e
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # P r o f i l e # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
[ p r o f i l e ]
# E n a b l e t h e P r o f i l e s e c t i o n
; e n a b l e d = t r u e
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Q u e r y H i s t o r y # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
[ q u e r y _ h i s t o r y ]
# E n a b l e t h e Q u e r y h i s t o r y
; e n a b l e d = f a l s e
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # I n t e r n a l . M e t r i c s # # # # # # # # # # # # # # # # # # # # # # # # # #
# M e t r i c s a v a i l a b l e a t H T T P U R L / m e t r i c s a n d / m e t r i c s / p l u g i n s / : p l u g i n I d
[ m e t r i c s ]
# D i s a b l e / E n a b l e i n t e r n a l m e t r i c s
; e n a b l e d = t r u e
# G r a p h i t e P u b l i s h i n t e r v a l
; i n t e r v a l _ s e c o n d s = 1 0
# D i s a b l e t o t a l s t a t s ( s t a t _ t o t a l s _ * ) m e t r i c s t o b e g e n e r a t e d
; d i s a b l e _ t o t a l _ s t a t s = f a l s e
# I f b o t h a r e s e t , b a s i c a u t h w i l l b e r e q u i r e d f o r t h e m e t r i c s e n d p o i n t s .
; b a s i c _ a u t h _ u s e r n a m e =
; b a s i c _ a u t h _ p a s s w o r d =
# M e t r i c s e n v i r o n m e n t i n f o a d d s d i m e n s i o n s t o t h e ` g r a f a n a _ e n v i r o n m e n t _ i n f o ` m e t r i c , w h i c h
# c a n e x p o s e m o r e i n f o r m a t i o n a b o u t t h e . i n s t a n c e .
[ m e t r i c s . e n v i r o n m e n t _ i n f o ]
# e x a m p l e L a b e l 1 = e x a m p l e V a l u e 1
# e x a m p l e L a b e l 2 = e x a m p l e V a l u e 2
# S e n d i n t e r n a l m e t r i c s t o G r a p h i t e
[ m e t r i c s . g r a p h i t e ]
# E n a b l e b y s e t t i n g t h e a d d r e s s s e t t i n g ( e x l o c a l h o s t : 2 0 0 3 )
; a d d r e s s =
; p r e f i x = p r o d . g r a f a n a . % ( i n s t a n c e _ n a m e ) s .
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # . c o m i n t e g r a t i o n # # # # # # # # # # # # # # # # # # # # # # # # # #
# U r l u s e d t o i m p o r t d a s h b o a r d s d i r e c t l y f r o m . c o m
[ g r a f a n a _ c o m ]
; u r l = h t t p s : / / g r a f a n a . c o m
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # D i s t r i b u t e d t r a c i n g # # # # # # # # # # # #
[ t r a c i n g . j a e g e r ]
# E n a b l e b y s e t t i n g t h e a d d r e s s s e n d i n g t r a c e s t o j a e g e r ( e x l o c a l h o s t : 6 8 3 1 )
; a d d r e s s = l o c a l h o s t : 6 8 3 1
# T a g t h a t w i l l a l w a y s b e i n c l u d e d i n w h e n c r e a t i n g n e w s p a n s . e x ( t a g 1 : v a l u e 1 , t a g 2 : v a l u e 2 )
; a l w a y s _ i n c l u d e d _ t a g = t a g 1 : v a l u e 1
# T y p e s p e c i f i e s t h e t y p e o f t h e s a m p l e r : c o n s t , p r o b a b i l i s t i c , r a t e L i m i t i n g , o r r e m o t e
; s a m p l e r _ t y p e = c o n s t
# j a e g e r s a m p l e r c o n f i g p a r a m
# f o r " c o n s t " s a m p l e r , 0 o r 1 f o r a l w a y s f a l s e / t r u e r e s p e c t i v e l y
# f o r " p r o b a b i l i s t i c " s a m p l e r , a p r o b a b i l i t y b e t w e e n 0 a n d 1
# f o r " r a t e L i m i t i n g " s a m p l e r , t h e n u m b e r o f s p a n s p e r s e c o n d
# f o r " r e m o t e " s a m p l e r , p a r a m i s t h e s a m e a s f o r " p r o b a b i l i s t i c "
# a n d i n d i c a t e s t h e i n i t i a l s a m p l i n g r a t e b e f o r e t h e a c t u a l o n e
# i s r e c e i v e d f r o m t h e m o t h e r s h i p
; s a m p l e r _ p a r a m = 1
# s a m p l i n g _ s e r v e r _ u r l i s t h e U R L o f a s a m p l i n g m a n a g e r p r o v i d i n g a s a m p l i n g s t r a t e g y .
; s a m p l i n g _ s e r v e r _ u r l =
# W h e t h e r o r n o t t o u s e Z i p k i n p r o p a g a t i o n ( x - b 3 - H T T P h e a d e r s ) .
; z i p k i n _ p r o p a g a t i o n = f a l s e
# S e t t i n g t h i s t o t r u e d i s a b l e s s h a r e d R P C s p a n s .
# N o t d i s a b l i n g i s t h e m o s t c o m m o n s e t t i n g w h e n u s i n g Z i p k i n e l s e w h e r e i n y o u r i n f r a s t r u c t u r e .
; d i s a b l e _ s h a r e d _ z i p k i n _ s p a n s = f a l s e
[ t r a c i n g . o p e n t e l e m e t r y . j a e g e r ]
# j a e g e r d e s t i n a t i o n ( e x h t t p : / / l o c a l h o s t : 1 4 2 6 8 / a p i / t r a c e s )
; a d d r e s s = h t t p : / / l o c a l h o s t : 1 4 2 6 8 / a p i / t r a c e s
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # E x t e r n a l i m a g e s t o r a g e # # # # # # # # # # # # # # # # # # # # # # # # # #
[ e x t e r n a l _ i m a g e _ s t o r a g e ]
# U s e d f o r u p l o a d i n g i m a g e s t o p u b l i c s e r v e r s s o t h e y c a n b e i n c l u d e d i n s l a c k / e m a i l m e s s a g e s .
# y o u c a n c h o o s e b e t w e e n ( s 3 , w e b d a v , g c s , a z u r e _ b l o b , l o c a l )
; p r o v i d e r =
[ e x t e r n a l _ i m a g e _ s t o r a g e . s 3 ]
; e n d p o i n t =
; p a t h _ s t y l e _ a c c e s s =
; b u c k e t =
; r e g i o n =
; p a t h =
; a c c e s s _ k e y =
; s e c r e t _ k e y =
[ e x t e r n a l _ i m a g e _ s t o r a g e . w e b d a v ]
; u r l =
; p u b l i c _ u r l =
; u s e r n a m e =
; p a s s w o r d =
[ e x t e r n a l _ i m a g e _ s t o r a g e . g c s ]
; k e y _ f i l e =
; b u c k e t =
; p a t h =
[ e x t e r n a l _ i m a g e _ s t o r a g e . a z u r e _ b l o b ]
; a c c o u n t _ n a m e =
; a c c o u n t _ k e y =
; c o n t a i n e r _ n a m e =
[ e x t e r n a l _ i m a g e _ s t o r a g e . l o c a l ]
# d o e s n o t r e q u i r e a n y c o n f i g u r a t i o n
[ r e n d e r i n g ]
# O p t i o n s t o c o n f i g u r e a r e m o t e H T T P i m a g e r e n d e r i n g s e r v i c e , e . g . u s i n g h t t p s : / / g i t h u b . c o m / g r a f a n a / g r a f a n a - i m a g e - r e n d e r e r .
# U R L t o a r e m o t e H T T P i m a g e r e n d e r e r s e r v i c e , e . g . h t t p : / / l o c a l h o s t : 8 0 8 1 / r e n d e r , w i l l e n a b l e . t o r e n d e r p a n e l s a n d d a s h b o a r d s t o P N G - i m a g e s u s i n g H T T P r e q u e s t s t o a n e x t e r n a l s e r v i c e .
; s e r v e r _ u r l =
# I f t h e r e m o t e H T T P i m a g e r e n d e r e r s e r v i c e r u n s o n a d i f f e r e n t s e r v e r t h a n t h e . s e r v e r y o u m a y h a v e t o c o n f i g u r e t h i s t o a U R L w h e r e . i s r e a c h a b l e , e . g . h t t p : / / g r a f a n a . d o m a i n / .
; c a l l b a c k _ u r l =
# C o n c u r r e n t r e n d e r r e q u e s t l i m i t a f f e c t s w h e n t h e / r e n d e r H T T P e n d p o i n t i s u s e d . R e n d e r i n g m a n y i m a g e s a t t h e s a m e t i m e c a n o v e r l o a d t h e s e r v e r ,
# w h i c h t h i s s e t t i n g c a n h e l p p r o t e c t a g a i n s t b y o n l y a l l o w i n g a c e r t a i n a m o u n t o f c o n c u r r e n t r e q u e s t s .
; c o n c u r r e n t _ r e n d e r _ r e q u e s t _ l i m i t = 3 0
[ p a n e l s ]
# I f s e t t o t r u e . w i l l a l l o w s c r i p t t a g s i n t e x t p a n e l s . N o t r e c o m m e n d e d a s i t e n a b l e X S S v u l n e r a b i l i t i e s .
; d i s a b l e _ s a n i t i z e _ h t m l = f a l s e
[ p l u g i n s ]
; e n a b l e _ a l p h a = f a l s e
; a p p _ t l s _ s k i p _ v e r i f y _ i n s e c u r e = f a l s e
# E n t e r a c o m m a - s e p a r a t e d l i s t o f p l u g i n i d e n t i f i e r s t o i d e n t i f y p l u g i n s t o l o a d e v e n i f t h e y a r e u n s i g n e d . P l u g i n s w i t h m o d i f i e d s i g n a t u r e s a r e n e v e r l o a d e d .
; a l l o w _ l o a d i n g _ u n s i g n e d _ p l u g i n s =
# E n a b l e o r d i s a b l e i n s t a l l i n g / u n i n s t a l l i n g / u p d a t i n g p l u g i n s d i r e c t l y f r o m w i t h i n .
; p l u g i n _ a d m i n _ e n a b l e d = f a l s e
; p l u g i n _ a d m i n _ e x t e r n a l _ m a n a g e _ e n a b l e d = f a l s e
; p l u g i n _ c a t a l o g _ u r l = h t t p s : / / g r a f a n a . c o m / g r a f a n a / p l u g i n s /
# E n t e r a c o m m a - s e p a r a t e d l i s t o f p l u g i n i d e n t i f i e r s t o h i d e i n t h e p l u g i n c a t a l o g .
; p l u g i n _ c a t a l o g _ h i d d e n _ p l u g i n s =
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # . L i v e # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
[ l i v e ]
# m a x _ c o n n e c t i o n s t o . L i v e W e b S o c k e t e n d p o i n t p e r . s e r v e r i n s t a n c e . S e e . L i v e d o c s
# i f y o u a r e p l a n n i n g t o m a k e i t h i g h e r t h a n d e f a u l t 1 0 0 s i n c e t h i s c a n r e q u i r e s o m e O S a n d i n f r a s t r u c t u r e
# t u n i n g . 0 d i s a b l e s L i v e , - 1 m e a n s u n l i m i t e d c o n n e c t i o n s .
; m a x _ c o n n e c t i o n s = 1 0 0
# a l l o w e d _ o r i g i n s i s a c o m m a - s e p a r a t e d l i s t o f o r i g i n s t h a t c a n e s t a b l i s h c o n n e c t i o n w i t h . L i v e .
# I f n o t s e t t h e n o r i g i n w i l l b e m a t c h e d o v e r r o o t _ u r l . S u p p o r t s w i l d c a r d s y m b o l " * " .
; a l l o w e d _ o r i g i n s =
# e n g i n e d e f i n e s a n H A ( h i g h a v a i l a b i l i t y ) e n g i n e t o u s e f o r . L i v e . B y d e f a u l t n o e n g i n e u s e d - i n
# t h i s c a s e L i v e f e a t u r e s w o r k o n l y o n a s i n g l e . s e r v e r . A v a i l a b l e o p t i o n s : " r e d i s " .
# S e t t i n g h a _ e n g i n e i s a n E X P E R I M E N T A L f e a t u r e .
; h a _ e n g i n e =
# h a _ e n g i n e _ a d d r e s s s e t s a c o n n e c t i o n a d d r e s s f o r L i v e H A e n g i n e . D e p e n d i n g o n e n g i n e t y p e a d d r e s s f o r m a t c a n d i f f e r .
# F o r n o w w e o n l y s u p p o r t R e d i s c o n n e c t i o n a d d r e s s i n " h o s t : p o r t " f o r m a t .
# T h i s o p t i o n i s E X P E R I M E N T A L .
; h a _ e n g i n e _ a d d r e s s = " 1 2 7 . 0 . 0 . 1 : 6 3 7 9 "
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # . I m a g e R e n d e r e r P l u g i n # # # # # # # # # # # # # # # # # # # # # # # # # #
[ p l u g i n . g r a f a n a - i m a g e - r e n d e r e r ]
# I n s t r u c t h e a d l e s s b r o w s e r i n s t a n c e t o u s e a d e f a u l t t i m e z o n e w h e n n o t p r o v i d e d b y . e . g . w h e n r e n d e r i n g p a n e l i m a g e o f a l e r t .
# S e e I C U ’ s m e t a Z o n e s . t x t ( h t t p s : / / c s . c h r o m i u m . o r g / c h r o m i u m / s r c / t h i r d _ p a r t y / i c u / s o u r c e / d a t a / m i s c / m e t a Z o n e s . t x t ) f o r a l i s t o f s u p p o r t e d
# t i m e z o n e I D s . F a l l b a c k s t o T Z e n v i r o n m e n t v a r i a b l e i f n o t s e t .
; r e n d e r i n g _ t i m e z o n e =
# I n s t r u c t h e a d l e s s b r o w s e r i n s t a n c e t o u s e a d e f a u l t l a n g u a g e w h e n n o t p r o v i d e d b y . e . g . w h e n r e n d e r i n g p a n e l i m a g e o f a l e r t .
# P l e a s e r e f e r t o t h e H T T P h e a d e r A c c e p t - L a n g u a g e t o u n d e r s t a n d h o w t o f o r m a t t h i s v a l u e , e . g . ' f r - C H , f r ; q = 0 . 9 , e n ; q = 0 . 8 , d e ; q = 0 . 7 , * ; q = 0 . 5 ' .
; r e n d e r i n g _ l a n g u a g e =
# I n s t r u c t h e a d l e s s b r o w s e r i n s t a n c e t o u s e a d e f a u l t d e v i c e s c a l e f a c t o r w h e n n o t p r o v i d e d b y . e . g . w h e n r e n d e r i n g p a n e l i m a g e o f a l e r t .
# D e f a u l t i s 1 . U s i n g a h i g h e r v a l u e w i l l p r o d u c e m o r e d e t a i l e d i m a g e s ( h i g h e r D P I ) , b u t w i l l r e q u i r e m o r e d i s k s p a c e t o s t o r e a n i m a g e .
; r e n d e r i n g _ v i e w p o r t _ d e v i c e _ s c a l e _ f a c t o r =
# I n s t r u c t h e a d l e s s b r o w s e r i n s t a n c e w h e t h e r t o i g n o r e H T T P S e r r o r s d u r i n g n a v i g a t i o n . P e r d e f a u l t H T T P S e r r o r s a r e n o t i g n o r e d . D u e t o
# t h e s e c u r i t y r i s k i t ' s n o t r e c o m m e n d e d t o i g n o r e H T T P S e r r o r s .
; r e n d e r i n g _ i g n o r e _ h t t p s _ e r r o r s =
# I n s t r u c t h e a d l e s s b r o w s e r i n s t a n c e w h e t h e r t o c a p t u r e a n d l o g v e r b o s e i n f o r m a t i o n w h e n r e n d e r i n g a n i m a g e . D e f a u l t i s f a l s e a n d w i l l
# o n l y c a p t u r e a n d l o g e r r o r m e s s a g e s . W h e n e n a b l e d , d e b u g m e s s a g e s a r e c a p t u r e d a n d l o g g e d a s w e l l .
# F o r t h e v e r b o s e i n f o r m a t i o n t o b e i n c l u d e d i n t h e . s e r v e r l o g y o u h a v e t o a d j u s t t h e r e n d e r i n g l o g l e v e l t o d e b u g , c o n f i g u r e
# [ l o g ] . f i l t e r = r e n d e r i n g : d e b u g .
; r e n d e r i n g _ v e r b o s e _ l o g g i n g =
# I n s t r u c t h e a d l e s s b r o w s e r i n s t a n c e w h e t h e r t o o u t p u t i t s d e b u g a n d e r r o r m e s s a g e s i n t o r u n n i n g p r o c e s s o f r e m o t e r e n d e r i n g s e r v i c e .
# D e f a u l t i s f a l s e . T h i s c a n b e u s e f u l t o e n a b l e ( t r u e ) w h e n t r o u b l e s h o o t i n g .
; r e n d e r i n g _ d u m p i o =
# A d d i t i o n a l a r g u m e n t s t o p a s s t o t h e h e a d l e s s b r o w s e r i n s t a n c e . D e f a u l t i s - - n o - s a n d b o x . T h e l i s t o f C h r o m i u m f l a g s c a n b e f o u n d
# h e r e ( h t t p s : / / p e t e r . s h / e x p e r i m e n t s / c h r o m i u m - c o m m a n d - l i n e - s w i t c h e s / ) . M u l t i p l e a r g u m e n t s i s s e p a r a t e d w i t h c o m m a - c h a r a c t e r .
; r e n d e r i n g _ a r g s =
# Y o u c a n c o n f i g u r e t h e p l u g i n t o u s e a d i f f e r e n t b r o w s e r b i n a r y i n s t e a d o f t h e p r e - p a c k a g e d v e r s i o n o f C h r o m i u m .
# P l e a s e n o t e t h a t t h i s i s n o t r e c o m m e n d e d , s i n c e y o u m a y e n c o u n t e r p r o b l e m s i f t h e i n s t a l l e d v e r s i o n o f C h r o m e / C h r o m i u m i s n o t
# c o m p a t i b l e w i t h t h e p l u g i n .
; r e n d e r i n g _ c h r o m e _ b i n =
# I n s t r u c t h o w h e a d l e s s b r o w s e r i n s t a n c e s a r e c r e a t e d . D e f a u l t i s ' d e f a u l t ' a n d w i l l c r e a t e a n e w b r o w s e r i n s t a n c e o n e a c h r e q u e s t .
# M o d e ' c l u s t e r e d ' w i l l m a k e s u r e t h a t o n l y a m a x i m u m o f b r o w s e r s / i n c o g n i t o p a g e s c a n e x e c u t e c o n c u r r e n t l y .
# M o d e ' r e u s a b l e ' w i l l h a v e o n e b r o w s e r i n s t a n c e a n d w i l l c r e a t e a n e w i n c o g n i t o p a g e o n e a c h r e q u e s t .
; r e n d e r i n g _ m o d e =
# W h e n r e n d e r i n g _ m o d e = c l u s t e r e d , y o u c a n i n s t r u c t h o w m a n y b r o w s e r s o r i n c o g n i t o p a g e s c a n e x e c u t e c o n c u r r e n t l y . D e f a u l t i s ' b r o w s e r '
# a n d w i l l c l u s t e r u s i n g b r o w s e r i n s t a n c e s .
# M o d e ' c o n t e x t ' w i l l c l u s t e r u s i n g i n c o g n i t o p a g e s .
; r e n d e r i n g _ c l u s t e r i n g _ m o d e =
# W h e n r e n d e r i n g _ m o d e = c l u s t e r e d , y o u c a n d e f i n e t h e m a x i m u m n u m b e r o f b r o w s e r i n s t a n c e s / i n c o g n i t o p a g e s t h a t c a n e x e c u t e c o n c u r r e n t l y . D e f a u l t i s ' 5 ' .
; r e n d e r i n g _ c l u s t e r i n g _ m a x _ c o n c u r r e n c y =
# W h e n r e n d e r i n g _ m o d e = c l u s t e r e d , y o u c a n s p e c i f y t h e d u r a t i o n a r e n d e r i n g r e q u e s t c a n t a k e b e f o r e i t w i l l t i m e o u t . D e f a u l t i s ` 3 0 ` s e c o n d s .
; r e n d e r i n g _ c l u s t e r i n g _ t i m e o u t =
# L i m i t t h e m a x i m u m v i e w p o r t w i d t h , h e i g h t a n d d e v i c e s c a l e f a c t o r t h a t c a n b e r e q u e s t e d .
; r e n d e r i n g _ v i e w p o r t _ m a x _ w i d t h =
; r e n d e r i n g _ v i e w p o r t _ m a x _ h e i g h t =
; r e n d e r i n g _ v i e w p o r t _ m a x _ d e v i c e _ s c a l e _ f a c t o r =
# C h a n g e t h e l i s t e n i n g h o s t a n d p o r t o f t h e g R P C s e r v e r . D e f a u l t h o s t i s 1 2 7 . 0 . 0 . 1 a n d d e f a u l t p o r t i s 0 a n d w i l l a u t o m a t i c a l l y a s s i g n
# a p o r t n o t i n u s e .
; g r p c _ h o s t =
; g r p c _ p o r t =
[ e n t e r p r i s e ]
# P a t h t o a v a l i d . E n t e r p r i s e l i c e n s e . j w t f i l e
; l i c e n s e _ p a t h =
[ f e a t u r e _ t o g g l e s ]
# t h e r e a r e c u r r e n t l y t w o w a y s t o e n a b l e f e a t u r e t o g g l e s i n t h e ` g r a f a n a . i n i ` .
# y o u c a n e i t h e r p a s s a n a r r a y o f f e a t u r e y o u w a n t t o e n a b l e t o t h e ` e n a b l e ` f i e l d o r
# c o n f i g u r e e a c h t o g g l e b y s e t t i n g t h e n a m e o f t h e t o g g l e t o t r u e / f a l s e . T o g g l e s s e t t o t r u e / f a l s e
# w i l l t a k e p r e s i d e n c e o v e r t o g g l e s i n t h e ` e n a b l e ` l i s t .
; e n a b l e = f e a t u r e 1 , f e a t u r e 2
; f e a t u r e 1 = t r u e
; f e a t u r e 2 = f a l s e
[ d a t e _ f o r m a t s ]
# F o r i n f o r m a t i o n o n w h a t f o r m a t t i n g p a t t e r n s t h a t a r e s u p p o r t e d h t t p s : / / m o m e n t j s . c o m / d o c s / # / d i s p l a y i n g /
# D e f a u l t s y s t e m d a t e f o r m a t u s e d i n t i m e r a n g e p i c k e r a n d o t h e r p l a c e s w h e r e f u l l t i m e i s d i s p l a y e d
; f u l l _ d a t e = Y Y Y Y - M M - D D H H : m m : s s
# U s e d b y g r a p h a n d o t h e r p l a c e s w h e r e w e o n l y s h o w s m a l l i n t e r v a l s
; i n t e r v a l _ s e c o n d = H H : m m : s s
; i n t e r v a l _ m i n u t e = H H : m m
; i n t e r v a l _ h o u r = M M / D D H H : m m
; i n t e r v a l _ d a y = M M / D D
; i n t e r v a l _ m o n t h = Y Y Y Y - M M
; i n t e r v a l _ y e a r = Y Y Y Y
# E x p e r i m e n t a l f e a t u r e
; u s e _ b r o w s e r _ l o c a l e = f a l s e
# D e f a u l t t i m e z o n e f o r u s e r p r e f e r e n c e s . O p t i o n s a r e ' b r o w s e r ' f o r t h e b r o w s e r l o c a l t i m e z o n e o r a t i m e z o n e n a m e f r o m I A N A T i m e Z o n e d a t a b a s e , e . g . ' U T C ' o r ' E u r o p e / A m s t e r d a m ' e t c .
; d e f a u l t _ t i m e z o n e = b r o w s e r
[ e x p r e s s i o n s ]
# E n a b l e o r d i s a b l e t h e e x p r e s s i o n s f u n c t i o n a l i t y .
; e n a b l e d = t r u e
[ g e o m a p ]
# S e t t h e J S O N c o n f i g u r a t i o n f o r t h e d e f a u l t b a s e m a p
; d e f a u l t _ b a s e l a y e r _ c o n f i g = ` {
; " t y p e " : " x y z " ,
; " c o n f i g " : {
; " a t t r i b u t i o n " : " O p e n s t r e e t m a p " ,
; " u r l " : " h t t p s : / / t i l e . o p e n s t r e e t m a p . o r g / { z } / { x } / { y } . p n g "
; }
; } `
# E n a b l e o r d i s a b l e l o a d i n g o t h e r b a s e m a p l a y e r s
; e n a b l e _ c u s t o m _ b a s e l a y e r s = t r u e