Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / Loki
Schema registry

Loki

Like Prometheus, but for logs

loki.ymlloki.yaml

Check your file against this schema

Opens the validator with this schema already loaded. Paste your loki.yml and it validates in your browser — nothing is uploaded.

Validate a loki.yml → View raw schema

Fields (first 250)

Generated directly from the schema, following local $refs, to two levels of nesting. This schema is large — the table is truncated; use the raw schema for the rest.

Field Type Description
targetstringA comma-separated list of components to run. The default value 'all' runs Loki in single binary mode. The value 'read' is an alias to run only read-path related components such as the querier and query-frontend, but all in the same
auth_enabledbooleanEnables authentication through the X-Scope-OrgID header, which must be present if true. If false, the OrgID will always be set to 'fake'.
ballast_bytesintegerThe amount of virtual memory in bytes to reserve as ballast in order to optimize garbage collection. Larger ballasts result in fewer garbage collection passes, reducing CPU overhead at the cost of heap size. The ballast will not consume
serverobject
server.http_listen_networkstringHTTP server listen network, default tcp
server.http_listen_addressstringHTTP server listen address.
server.http_listen_portintegerHTTP server listen port. Default: 3100.
server.http_listen_conn_limitintegerMaximum number of simultaneous http connections, <=0 to disable. Default: 0.
server.grpc_listen_networkstringgRPC server listen network
server.grpc_listen_addressstringgRPC server listen address.
server.grpc_listen_portintegergRPC server listen port. Default: 9095.
server.grpc_listen_conn_limitintegerMaximum number of simultaneous grpc connections, <=0 to disable. Default: 0.
server.tls_cipher_suitesstringComma-separated list of cipher suites to use. If blank, the default Go cipher suites is used.
server.tls_min_versionstringMinimum TLS version to use. Allowed values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. If blank, the Go TLS minimum version is used.
server.http_tls_configobject
server.http_tls_config.certstringServer TLS certificate. This configuration parameter is YAML only.
server.http_tls_config.keystringServer TLS key. This configuration parameter is YAML only.
server.http_tls_config.client_castringRoot certificate authority used to verify client certificates. This configuration parameter is YAML only.
server.http_tls_config.cert_filestringHTTP server cert path.
server.http_tls_config.key_filestringHTTP server key path.
server.http_tls_config.client_auth_typestringHTTP TLS Client Auth type.
server.http_tls_config.client_ca_filestringHTTP TLS Client CA path.
server.grpc_tls_configobject
server.grpc_tls_config.certstringServer TLS certificate. This configuration parameter is YAML only.
server.grpc_tls_config.keystringServer TLS key. This configuration parameter is YAML only.
server.grpc_tls_config.client_castringRoot certificate authority used to verify client certificates. This configuration parameter is YAML only.
server.grpc_tls_config.cert_filestringGRPC TLS server cert path.
server.grpc_tls_config.key_filestringGRPC TLS server key path.
server.grpc_tls_config.client_auth_typestringGRPC TLS Client Auth type.
server.grpc_tls_config.client_ca_filestringGRPC TLS Client CA path.
server.register_instrumentationbooleanRegister the instrumentation handlers (/metrics etc).
server.report_grpc_codes_in_instrumentation_label_enabledbooleanIf set to true, gRPC statuses will be reported in instrumentation labels with their string representations. Otherwise, they will be reported as "error".
server.graceful_shutdown_timeoutstringTimeout for graceful shutdowns
server.http_server_read_timeoutstringRead timeout for entire HTTP request, including headers and body.
server.http_server_read_header_timeoutstringRead timeout for HTTP request headers. If set to 0, value of -server.http-read-timeout is used.
server.http_server_write_timeoutstringWrite timeout for HTTP server
server.http_server_idle_timeoutstringIdle timeout for HTTP server
server.http_log_closed_connections_without_response_enabledbooleanLog closed connections that did not receive any response, most likely because client didn't send any request within timeout.
server.grpc_server_max_recv_msg_sizeintegerLimit on the size of a gRPC message this server can receive (bytes). Default: 4194304.
server.grpc_server_max_send_msg_sizeintegerLimit on the size of a gRPC message this server can send (bytes). Default: 4194304.
server.grpc_server_max_concurrent_streamsintegerLimit on the number of concurrent streams for gRPC calls per client connection (0 = unlimited). Default: 100.
server.grpc_server_max_connection_idlestringThe duration after which an idle connection should be closed. Default: infinity
server.grpc_server_max_connection_agestringThe duration for the maximum amount of time a connection may exist before it will be closed. Default: infinity
server.grpc_server_max_connection_age_gracestringAn additive period after max-connection-age after which the connection will be forcibly closed. Default: infinity
server.grpc_server_keepalive_timestringDuration after which a keepalive probe is sent in case of no activity over the connection., Default: 2h
server.grpc_server_keepalive_timeoutstringAfter having pinged for keepalive check, the duration after which an idle connection should be closed, Default: 20s
server.grpc_server_min_time_between_pingsstringMinimum amount of time a client should wait before sending a keepalive ping. If client sends keepalive ping more often, server will send GOAWAY and close the connection.
server.grpc_server_ping_without_stream_allowedbooleanIf true, server allows keepalive pings even when there are no active streams(RPCs). If false, and client sends ping when there are no active streams, server will send GOAWAY and close the connection.
server.grpc_server_num_workersintegerIf non-zero, configures the amount of GRPC server workers used to serve the requests. Default: 0.
server.log_formatstringOutput log messages in the given format. Valid formats: [logfmt, json]
server.log_levelstringOnly log messages with the given severity or above. Valid levels: [debug, info, warn, error]
server.log_source_ips_enabledbooleanOptionally log the source IPs.
server.log_source_ips_headerstringHeader field storing the source IPs. Only used if server.log-source-ips-enabled is true. If not set the default Forwarded, X-Real-IP and X-Forwarded-For headers are used
server.log_source_ips_regexstringRegex for matching the source IPs. Only used if server.log-source-ips-enabled is true. If not set the default Forwarded, X-Real-IP and X-Forwarded-For headers are used
server.log_request_headersbooleanOptionally log request headers.
server.log_request_at_info_level_enabledbooleanOptionally log requests at info level instead of debug level. Applies to request headers as well if server.log-request-headers is enabled.
server.log_request_exclude_headers_liststringComma separated list of headers to exclude from logging. Only used if server.log-request-headers is true.
server.http_path_prefixstringBase path to serve all API routes from (e.g. /v1/)
distributorobject
distributor.ringobject
distributor.ring.kvstoreobject
distributor.ring.heartbeat_periodstringPeriod at which to heartbeat to the ring. 0 = disabled.
distributor.ring.heartbeat_timeoutstringThe heartbeat timeout after which distributors are considered unhealthy within the ring. 0 = never (timeout disabled).
distributor.ring.instance_interface_namesarray | nullName of network interface to read address from.
distributor.rate_storeobject
distributor.rate_store.max_request_parallelismintegerThe max number of concurrent requests to make to ingester stream apis. Default: 200.
distributor.rate_store.stream_rate_update_intervalstringThe interval on which distributors will update current stream rates from ingesters
distributor.rate_store.ingester_request_timeoutstringTimeout for communication between distributors and any given ingester when updating rates
distributor.rate_store.debugbooleanIf enabled, detailed logs and spans will be emitted.
distributor.write_failures_loggingobjectCustomize the logging of write failures.
distributor.write_failures_logging.ratestringLog volume allowed (per second). Default: 1KB. Default: 1KB.
distributor.write_failures_logging.add_insights_labelbooleanWhether a insight=true key should be logged or not. Default: false.
distributor.otlp_configobject
distributor.otlp_config.default_resource_attributes_as_index_labelsarray | nullList of default otlp resource attributes to be picked as index labels
querierobject
querier.tail_max_durationstringMaximum duration for which the live tailing requests are served.
querier.extra_query_delaystringTime to wait before sending more than the minimum successful query requests.
querier.query_ingesters_withinstringMaximum lookback beyond which queries are not sent to ingester. 0 means all queries are sent to ingester.
querier.engineobject
querier.engine.max_look_back_periodstringThe maximum amount of time to look back for log lines. Used only for instant log queries.
querier.max_concurrentintegerThe maximum number of queries that can be simultaneously processed by the querier. Default: 4.
querier.query_store_onlybooleanOnly query the store, and not attempt any ingesters. This is useful for running a standalone querier pool operating only against stored data.
querier.query_ingester_onlybooleanWhen true, queriers only query the ingesters, and not stored data. This is useful when the object store is unavailable.
querier.multi_tenant_queries_enabledbooleanWhen true, allow queries to span multiple tenants.
querier.per_request_limits_enabledbooleanWhen true, querier limits sent via a header are enforced.
query_schedulerobject
query_scheduler.max_outstanding_requests_per_tenantintegerMaximum number of outstanding requests per tenant per query-scheduler. In-flight requests above this limit will fail with HTTP response status code 429. Default: 32000.
query_scheduler.max_queue_hierarchy_levelsintegerMaximum number of levels of nesting of hierarchical queues. 0 means that hierarchical queues are disabled. Default: 3.
query_scheduler.querier_forget_delaystringIf a querier disconnects without sending notification about graceful shutdown, the query-scheduler will keep the querier in the tenant's shard until the forget delay has passed. This feature is useful to reduce the blast radius when
query_scheduler.grpc_client_configobject
query_scheduler.grpc_client_config.max_recv_msg_sizeintegergRPC client max receive message size (bytes). Default: 104857600.
query_scheduler.grpc_client_config.max_send_msg_sizeintegergRPC client max send message size (bytes). Default: 104857600.
query_scheduler.grpc_client_config.grpc_compressionstringUse compression when sending messages. Supported values are: 'gzip', 'snappy' and '' (disable compression)
query_scheduler.grpc_client_config.rate_limitnumberRate limit for gRPC client; 0 means disabled. Default: 0.
query_scheduler.grpc_client_config.rate_limit_burstintegerRate limit burst for gRPC client. Default: 0.
query_scheduler.grpc_client_config.backoff_on_ratelimitsbooleanEnable backoff and retry when we hit rate limits.
query_scheduler.grpc_client_config.backoff_configobject
query_scheduler.grpc_client_config.initial_stream_window_sizestringInitial stream window size. Values less than the default are not supported and are ignored. Setting this to a value other than the default disables the BDP estimator. Default: 63KiB1023B.
query_scheduler.grpc_client_config.initial_connection_window_sizestringInitial connection window size. Values less than the default are not supported and are ignored. Setting this to a value other than the default disables the BDP estimator. Default: 63KiB1023B.
query_scheduler.grpc_client_config.tls_enabledbooleanEnable TLS in the gRPC client. This flag needs to be enabled when any other TLS flag is set. If set to false, insecure connection to gRPC server will be used.
query_scheduler.grpc_client_config.tls_cert_pathstringPath to the client certificate, which will be used for authenticating with the server. Also requires the key path to be configured.
query_scheduler.grpc_client_config.tls_key_pathstringPath to the key for the client certificate. Also requires the client certificate to be configured.
query_scheduler.grpc_client_config.tls_ca_pathstringPath to the CA certificates to validate server certificate against. If not set, the host's root CA certificates are used.
query_scheduler.grpc_client_config.tls_server_namestringOverride the expected name on the server certificate.
query_scheduler.grpc_client_config.tls_insecure_skip_verifybooleanSkip validating server certificate.
query_scheduler.grpc_client_config.tls_cipher_suitesstringOverride the default cipher suite list (separated by commas). Allowed values: Secure Ciphers: - TLS_AES_128_GCM_SHA256 - TLS_AES_256_GCM_SHA384 - TLS_CHACHA20_POLY1305_SHA256 - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
query_scheduler.grpc_client_config.tls_min_versionstringOverride the default minimum TLS version. Allowed values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13
query_scheduler.grpc_client_config.connect_timeoutstringThe maximum amount of time to establish a connection. A value of 0 means default gRPC client connect timeout and backoff.
query_scheduler.grpc_client_config.connect_backoff_base_delaystringInitial backoff delay after first connection failure. Only relevant if ConnectTimeout > 0.
query_scheduler.grpc_client_config.connect_backoff_max_delaystringMaximum backoff delay when establishing a connection. Only relevant if ConnectTimeout > 0.
query_scheduler.use_scheduler_ringbooleanSet to true to have the query schedulers create and place themselves in a ring. If no frontend_address or scheduler_address are present anywhere else in the configuration, Loki will toggle this value to true.
query_scheduler.scheduler_ringobjectThe hash ring configuration. This option is required only if use_scheduler_ring is true.
query_scheduler.scheduler_ring.kvstoreobject
query_scheduler.scheduler_ring.heartbeat_periodstringPeriod at which to heartbeat to the ring. 0 = disabled.
query_scheduler.scheduler_ring.heartbeat_timeoutstringThe heartbeat timeout after which compactors are considered unhealthy within the ring. 0 = never (timeout disabled).
query_scheduler.scheduler_ring.tokens_file_pathstringFile path where tokens are stored. If empty, tokens are not stored at shutdown and restored at startup.
query_scheduler.scheduler_ring.zone_awareness_enabledbooleanTrue to enable zone-awareness and replicate blocks across different availability zones.
query_scheduler.scheduler_ring.num_tokensany
query_scheduler.scheduler_ring.replication_factorany
query_scheduler.scheduler_ring.instance_idstringInstance ID to register in the ring.
query_scheduler.scheduler_ring.instance_interface_namesarray | nullName of network interface to read address from.
query_scheduler.scheduler_ring.instance_portintegerPort to advertise in the ring (defaults to server.grpc-listen-port). Default: 0.
query_scheduler.scheduler_ring.instance_addrstringIP address to advertise in the ring.
query_scheduler.scheduler_ring.instance_availability_zonestringThe availability zone where this instance is running. Required if zone-awareness is enabled.
query_scheduler.scheduler_ring.instance_enable_ipv6booleanEnable using a IPv6 instance address.
frontendobject
frontend.log_queries_longer_thanstringLog queries that are slower than the specified duration. Set to 0 to disable. Set to < 0 to enable on all queries.
frontend.log_query_request_headersstringComma-separated list of request header names to include in query logs. Applies to both query stats and slow queries logs.
frontend.max_body_sizeintegerMax body size for downstream prometheus. Default: 10485760.
frontend.query_stats_enabledbooleanTrue to enable query statistics tracking. When enabled, a message with some statistics is logged for every query.
frontend.max_outstanding_per_tenantintegerMaximum number of outstanding requests per tenant per frontend; requests beyond this error with HTTP 429. Default: 2048.
frontend.querier_forget_delaystringIn the event a tenant is repeatedly sending queries that lead the querier to crash or be killed due to an out-of-memory error, the crashed querier will be disconnected from the query frontend and a new querier will be immediately assigned
frontend.scheduler_addressstringDNS hostname used for finding query-schedulers.
frontend.scheduler_dns_lookup_periodstringHow often to resolve the scheduler-address, in order to look for new query-scheduler instances. Also used to determine how often to poll the scheduler-ring for addresses if the scheduler-ring is configured.
frontend.scheduler_worker_concurrencyintegerNumber of concurrent workers forwarding queries to single query-scheduler. Default: 5.
frontend.grpc_client_configobject
frontend.grpc_client_config.max_recv_msg_sizeintegergRPC client max receive message size (bytes). Default: 104857600.
frontend.grpc_client_config.max_send_msg_sizeintegergRPC client max send message size (bytes). Default: 104857600.
frontend.grpc_client_config.grpc_compressionstringUse compression when sending messages. Supported values are: 'gzip', 'snappy' and '' (disable compression)
frontend.grpc_client_config.rate_limitnumberRate limit for gRPC client; 0 means disabled. Default: 0.
frontend.grpc_client_config.rate_limit_burstintegerRate limit burst for gRPC client. Default: 0.
frontend.grpc_client_config.backoff_on_ratelimitsbooleanEnable backoff and retry when we hit rate limits.
frontend.grpc_client_config.backoff_configobject
frontend.grpc_client_config.initial_stream_window_sizestringInitial stream window size. Values less than the default are not supported and are ignored. Setting this to a value other than the default disables the BDP estimator. Default: 63KiB1023B.
frontend.grpc_client_config.initial_connection_window_sizestringInitial connection window size. Values less than the default are not supported and are ignored. Setting this to a value other than the default disables the BDP estimator. Default: 63KiB1023B.
frontend.grpc_client_config.tls_enabledbooleanEnable TLS in the gRPC client. This flag needs to be enabled when any other TLS flag is set. If set to false, insecure connection to gRPC server will be used.
frontend.grpc_client_config.tls_cert_pathstringPath to the client certificate, which will be used for authenticating with the server. Also requires the key path to be configured.
frontend.grpc_client_config.tls_key_pathstringPath to the key for the client certificate. Also requires the client certificate to be configured.
frontend.grpc_client_config.tls_ca_pathstringPath to the CA certificates to validate server certificate against. If not set, the host's root CA certificates are used.
frontend.grpc_client_config.tls_server_namestringOverride the expected name on the server certificate.
frontend.grpc_client_config.tls_insecure_skip_verifybooleanSkip validating server certificate.
frontend.grpc_client_config.tls_cipher_suitesstringOverride the default cipher suite list (separated by commas). Allowed values: Secure Ciphers: - TLS_AES_128_GCM_SHA256 - TLS_AES_256_GCM_SHA384 - TLS_CHACHA20_POLY1305_SHA256 - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
frontend.grpc_client_config.tls_min_versionstringOverride the default minimum TLS version. Allowed values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13
frontend.grpc_client_config.connect_timeoutstringThe maximum amount of time to establish a connection. A value of 0 means default gRPC client connect timeout and backoff.
frontend.grpc_client_config.connect_backoff_base_delaystringInitial backoff delay after first connection failure. Only relevant if ConnectTimeout > 0.
frontend.grpc_client_config.connect_backoff_max_delaystringMaximum backoff delay when establishing a connection. Only relevant if ConnectTimeout > 0.
frontend.graceful_shutdown_timeoutstringTime to wait for inflight requests to finish before forcefully shutting down. This needs to be aligned with the query timeout and the graceful termination period of the process orchestrator.
frontend.instance_interface_namesarray | nullName of network interface to read address from. This address is sent to query-scheduler and querier, which uses it to send the query response back to query-frontend.
frontend.encodingstringDefines the encoding for requests to and responses from the scheduler and querier. Can be 'json' or 'protobuf' (defaults to 'json').
frontend.compress_responsesbooleanCompress HTTP responses.
frontend.downstream_urlstringURL of downstream Loki.
frontend.tail_proxy_urlstringURL of querier for tail proxy.
frontend.tail_tls_configobject
frontend.tail_tls_config.tls_cert_pathstringPath to the client certificate, which will be used for authenticating with the server. Also requires the key path to be configured.
frontend.tail_tls_config.tls_key_pathstringPath to the key for the client certificate. Also requires the client certificate to be configured.
frontend.tail_tls_config.tls_ca_pathstringPath to the CA certificates to validate server certificate against. If not set, the host's root CA certificates are used.
frontend.tail_tls_config.tls_server_namestringOverride the expected name on the server certificate.
frontend.tail_tls_config.tls_insecure_skip_verifybooleanSkip validating server certificate.
frontend.tail_tls_config.tls_cipher_suitesstringOverride the default cipher suite list (separated by commas). Allowed values: Secure Ciphers: - TLS_AES_128_GCM_SHA256 - TLS_AES_256_GCM_SHA384 - TLS_CHACHA20_POLY1305_SHA256 - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
frontend.tail_tls_config.tls_min_versionstringOverride the default minimum TLS version. Allowed values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13
query_rangeobject
query_range.align_queries_with_stepbooleanMutate incoming queries to align their start and end with their step.
query_range.results_cacheobject
query_range.results_cache.cacheobject
query_range.results_cache.compressionstringUse compression in cache. The default is an empty value '', which disables compression. Supported values are: 'snappy' and ''.
query_range.cache_resultsbooleanCache query results.
query_range.max_retriesintegerMaximum number of retries for a single request; beyond this, the downstream error is returned. Default: 5.
query_range.parallelise_shardable_queriesbooleanPerform query parallelisations based on storage sharding configuration and query ASTs. This feature is supported only by the chunks storage engine.
query_range.shard_aggregationsstringA comma-separated list of LogQL vector and range aggregations that should be sharded
query_range.cache_index_stats_resultsbooleanCache index stats query results.
query_range.index_stats_results_cacheobjectIf a cache config is not specified and cache_index_stats_results is true, the config for the results cache is used.
query_range.index_stats_results_cache.cacheobject
query_range.index_stats_results_cache.compressionstringUse compression in cache. The default is an empty value '', which disables compression. Supported values are: 'snappy' and ''.
query_range.cache_volume_resultsbooleanCache volume query results.
query_range.volume_results_cacheobjectIf a cache config is not specified and cache_volume_results is true, the config for the results cache is used.
query_range.volume_results_cache.cacheobject
query_range.volume_results_cache.compressionstringUse compression in cache. The default is an empty value '', which disables compression. Supported values are: 'snappy' and ''.
query_range.cache_instant_metric_resultsbooleanCache instant metric query results.
query_range.instant_metric_results_cacheobjectIf a cache config is not specified and cache_instant_metric_results is true, the config for the results cache is used.
query_range.instant_metric_results_cache.cacheobject
query_range.instant_metric_results_cache.compressionstringUse compression in cache. The default is an empty value '', which disables compression. Supported values are: 'snappy' and ''.
query_range.instant_metric_query_split_alignbooleanWhether to align the splits of instant metric query with splitByInterval and query's exec time. Useful when instant_metric_cache is enabled
query_range.cache_series_resultsbooleanCache series query results.
query_range.series_results_cacheobjectIf series_results_cache is not configured and cache_series_results is true, the config for the results cache is used.
query_range.series_results_cache.cacheobject
query_range.series_results_cache.compressionstringUse compression in cache. The default is an empty value '', which disables compression. Supported values are: 'snappy' and ''.
query_range.cache_label_resultsbooleanCache label query results.
query_range.label_results_cacheobjectIf label_results_cache is not configured and cache_label_results is true, the config for the results cache is used.
query_range.label_results_cache.cacheobject
query_range.label_results_cache.compressionstringUse compression in cache. The default is an empty value '', which disables compression. Supported values are: 'snappy' and ''.
rulerobject
ruler.external_urlstringBase URL of the Grafana instance.
ruler.datasource_uidstringDatasource UID for the dashboard.
ruler.external_labelsarray | nullLabels to add to all alerts.
ruler.ruler_clientobject
ruler.ruler_client.max_recv_msg_sizeintegergRPC client max receive message size (bytes). Default: 104857600.
ruler.ruler_client.max_send_msg_sizeintegergRPC client max send message size (bytes). Default: 104857600.
ruler.ruler_client.grpc_compressionstringUse compression when sending messages. Supported values are: 'gzip', 'snappy' and '' (disable compression)
ruler.ruler_client.rate_limitnumberRate limit for gRPC client; 0 means disabled. Default: 0.
ruler.ruler_client.rate_limit_burstintegerRate limit burst for gRPC client. Default: 0.
ruler.ruler_client.backoff_on_ratelimitsbooleanEnable backoff and retry when we hit rate limits.
ruler.ruler_client.backoff_configobject
ruler.ruler_client.initial_stream_window_sizestringInitial stream window size. Values less than the default are not supported and are ignored. Setting this to a value other than the default disables the BDP estimator. Default: 63KiB1023B.
ruler.ruler_client.initial_connection_window_sizestringInitial connection window size. Values less than the default are not supported and are ignored. Setting this to a value other than the default disables the BDP estimator. Default: 63KiB1023B.
ruler.ruler_client.tls_enabledbooleanEnable TLS in the gRPC client. This flag needs to be enabled when any other TLS flag is set. If set to false, insecure connection to gRPC server will be used.
ruler.ruler_client.tls_cert_pathstringPath to the client certificate, which will be used for authenticating with the server. Also requires the key path to be configured.
ruler.ruler_client.tls_key_pathstringPath to the key for the client certificate. Also requires the client certificate to be configured.
ruler.ruler_client.tls_ca_pathstringPath to the CA certificates to validate server certificate against. If not set, the host's root CA certificates are used.
ruler.ruler_client.tls_server_namestringOverride the expected name on the server certificate.
ruler.ruler_client.tls_insecure_skip_verifybooleanSkip validating server certificate.
ruler.ruler_client.tls_cipher_suitesstringOverride the default cipher suite list (separated by commas). Allowed values: Secure Ciphers: - TLS_AES_128_GCM_SHA256 - TLS_AES_256_GCM_SHA384 - TLS_CHACHA20_POLY1305_SHA256 - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
ruler.ruler_client.tls_min_versionstringOverride the default minimum TLS version. Allowed values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13
ruler.ruler_client.connect_timeoutstringThe maximum amount of time to establish a connection. A value of 0 means default gRPC client connect timeout and backoff.
ruler.ruler_client.connect_backoff_base_delaystringInitial backoff delay after first connection failure. Only relevant if ConnectTimeout > 0.
ruler.ruler_client.connect_backoff_max_delaystringMaximum backoff delay when establishing a connection. Only relevant if ConnectTimeout > 0.
ruler.evaluation_intervalstringHow frequently to evaluate rules.
ruler.poll_intervalstringHow frequently to poll for rule changes.
ruler.storageobjectDeprecated: Use -ruler-storage. CLI flags and their respective YAML config options instead.
ruler.storage.typestringMethod to use for backend rule storage (configdb, azure, gcs, s3, swift, local, bos, cos)
ruler.storage.azureobject
ruler.storage.alibabacloudobject
ruler.storage.gcsobject
ruler.storage.s3object
ruler.storage.bosobject
ruler.storage.swiftobject
ruler.storage.cosobject
ruler.storage.localobjectConfigures backend rule storage for a local file system directory.
ruler.rule_pathstringFile path to store temporary rule files.
ruler.alertmanager_urlstringComma-separated list of Alertmanager URLs to send notifications to. Each Alertmanager URL is treated as a separate group in the configuration. Multiple Alertmanagers in HA per group can be supported by using DNS resolution via
ruler.enable_alertmanager_discoverybooleanUse DNS SRV records to discover Alertmanager hosts.
ruler.alertmanager_refresh_intervalstringHow long to wait between refreshing DNS resolutions of Alertmanager hosts.
ruler.enable_alertmanager_v2booleanIf enabled requests to Alertmanager will utilize the V2 API.
ruler.alert_relabel_configsarray | nullList of alert relabel configs.
ruler.notification_queue_capacityintegerCapacity of the queue for notifications to be sent to the Alertmanager. Default: 10000.
ruler.notification_timeoutstringHTTP timeout duration when sending notifications to the Alertmanager.
ruler.alertmanager_clientobject
ruler.alertmanager_client.tls_cert_pathstringPath to the client certificate, which will be used for authenticating with the server. Also requires the key path to be configured.
ruler.alertmanager_client.tls_key_pathstringPath to the key for the client certificate. Also requires the client certificate to be configured.
ruler.alertmanager_client.tls_ca_pathstringPath to the CA certificates to validate server certificate against. If not set, the host's root CA certificates are used.
ruler.alertmanager_client.tls_server_namestringOverride the expected name on the server certificate.

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas