OS Manuals

/usr/bin/grafana-mimir

Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.

From grafana-mimir-fips-3.1 3.1.9-r1 (enterprise-packages), captured 2026-11-08 by running grafana-mimir --help (exit 2). permalink

Usage of /usr/bin/grafana-mimir:
  -activity-tracker.filepath string
    	File where ongoing activities are stored. If empty, activity tracking is disabled. (default "./metrics-activity.log")
  -alertmanager-storage.azure.account-key string
    	Azure storage account key. If unset, Azure managed identities will be used for authentication instead.
  -alertmanager-storage.azure.account-name string
    	Azure storage account name
  -alertmanager-storage.azure.connection-string string
    	If `connection-string` is set, the value of `endpoint-suffix` will not be used. Use this method over `account-key` if you need to authenticate via a SAS token. Or if you use the Azurite emulator.
  -alertmanager-storage.azure.container-name string
    	Azure storage container name
  -alertmanager-storage.azure.endpoint-suffix string
    	Azure storage endpoint suffix without schema. The account name will be prefixed to this value to create the FQDN. If set to empty string, default endpoint suffix is used.
  -alertmanager-storage.backend string
    	Backend storage to use. Supported backends are: s3, gcs, azure, swift, filesystem, local. (default "filesystem")
  -alertmanager-storage.filesystem.dir string
    	Local filesystem storage directory. (default "alertmanager")
  -alertmanager-storage.gcs.bucket-name string
    	GCS bucket name
  -alertmanager-storage.gcs.service-account string
    	JSON either from a Google Developers Console client_credentials.json file, or a Google Developers service account key. Needs to be valid JSON, not a filesystem path.
  -alertmanager-storage.local.path string
    	Path at which alertmanager configurations are stored.
  -alertmanager-storage.s3.access-key-id string
    	S3 access key ID
  -alertmanager-storage.s3.bucket-name string
    	S3 bucket name
  -alertmanager-storage.s3.endpoint string
    	The S3 bucket endpoint. It could be an AWS S3 endpoint listed at https://docs.aws.amazon.com/general/latest/gr/s3.html or the address of an S3-compatible service in hostname:port format.
  -alertmanager-storage.s3.region string
    	S3 region. If unset, the client will issue a S3 GetBucketLocation API call to autodetect it.
  -alertmanager-storage.s3.secret-access-key string
    	S3 secret access key
  -alertmanager-storage.s3.session-token string
    	S3 session token
  -alertmanager-storage.s3.sse.kms-encryption-context string
    	KMS Encryption Context used for object encryption. It expects JSON formatted string.
  -alertmanager-storage.s3.sse.kms-key-id string
    	KMS Key ID used to encrypt objects in S3
  -alertmanager-storage.s3.sse.type string
    	Enable AWS Server Side Encryption. Supported values: SSE-KMS, SSE-S3.
  -alertmanager-storage.s3.sts-endpoint string
    	Accessing S3 resources using temporary, secure credentials provided by AWS Security Token Service.
  -alertmanager-storage.storage-prefix string
    	Prefix for all objects stored in the backend storage. For simplicity, it may only contain digits and English alphabet letters.
  -alertmanager-storage.swift.application-credential-id string
    	OpenStack Swift application credential id
  -alertmanager-storage.swift.application-credential-name string
    	OpenStack Swift application credential name
  -alertmanager-storage.swift.application-credential-secret string
    	OpenStack Swift application credential secret
  -alertmanager-storage.swift.auth-url string
    	OpenStack Swift authentication URL
  -alertmanager-storage.swift.auth-version int
    	OpenStack Swift authentication API version. 0 to autodetect.
  -alertmanager-storage.swift.container-name string
    	Name of the OpenStack Swift container to put chunks in.
  -alertmanager-storage.swift.domain-id string
    	OpenStack Swift user's domain ID.
  -alertmanager-storage.swift.domain-name string
    	OpenStack Swift user's domain name.
  -alertmanager-storage.swift.password string
    	OpenStack Swift API key.
  -alertmanager-storage.swift.project-domain-id string
    	ID of the OpenStack Swift project's domain (v3 auth only), only needed if it differs the from user domain.
  -alertmanager-storage.swift.project-domain-name string
    	Name of the OpenStack Swift project's domain (v3 auth only), only needed if it differs from the user domain.
  -alertmanager-storage.swift.project-id string
    	OpenStack Swift project ID (v2,v3 auth only).
  -alertmanager-storage.swift.project-name string
    	OpenStack Swift project name (v2,v3 auth only).
  -alertmanager-storage.swift.region-name string
    	OpenStack Swift Region to use (v2,v3 auth only).
  -alertmanager-storage.swift.user-domain-id string
    	OpenStack Swift user's domain ID.
  -alertmanager-storage.swift.user-domain-name string
    	OpenStack Swift user's domain name.
  -alertmanager-storage.swift.user-id string
    	OpenStack Swift user ID.
  -alertmanager-storage.swift.username string
    	OpenStack Swift username.
  -alertmanager.configs.fallback string
    	Filename of fallback config to use if none specified for instance.
  -alertmanager.max-alerts-count int
    	Maximum number of alerts that a single tenant can have. Inserting more alerts will fail with a log message and metric increment. 0 = no limit.
  -alertmanager.max-alerts-size-bytes int
    	Maximum total size of alerts that a single tenant can have, alert size is the sum of the bytes of its labels, annotations and generatorURL. Inserting more alerts will fail with a log message and metric increment. 0 = no limit.
  -alertmanager.max-config-size-bytes int
    	Maximum size of the Alertmanager configuration for a tenant. 0 = no limit.
  -alertmanager.max-dispatcher-aggregation-groups int
    	Maximum number of aggregation groups in Alertmanager's dispatcher that a tenant can have. Each active aggregation group uses single goroutine. When the limit is reached, dispatcher will not dispatch alerts that belong to additional aggregation groups, but existing groups will keep working properly. 0 = no limit.
  -alertmanager.max-silence-size-bytes int
    	Maximum silence size in bytes. 0 = no limit.
  -alertmanager.max-silences-count int
    	Maximum number of silences, including expired silences, that a tenant can have at once. 0 = no limit.
  -alertmanager.max-template-size-bytes int
    	Maximum size of single template in tenant's Alertmanager configuration uploaded via Alertmanager API. 0 = no limit.
  -alertmanager.max-templates-count int
    	Maximum number of templates in tenant's Alertmanager configuration uploaded via Alertmanager API. 0 = no limit.
  -alertmanager.notification-rate-limit float
    	Per-tenant rate limit for sending notifications from Alertmanager in notifications/sec. 0 = rate limit disabled. Negative value = no notifications are allowed.
  -alertmanager.notification-rate-limit-per-integration value
    	Per-integration notification rate limits. Value is a map, where each key is integration name and value is a rate-limit (float). On command line, this map is given in JSON format. Rate limit has the same meaning as -alertmanager.notification-rate-limit, but only applies for specific integration. Allowed integration names: webhook, email, pagerduty, opsgenie, wechat, slack, victorops, pushover, sns, webex, telegram, discord, msteams, msteamsv2. (default {})
  -alertmanager.receivers-firewall-block-cidr-networks comma-separated-list-of-strings
    	Comma-separated list of network CIDRs to block in Alertmanager receiver integrations.
  -alertmanager.receivers-firewall-block-private-addresses
    	True to block private and local addresses in Alertmanager receiver integrations. It blocks private addresses defined by  RFC 1918 (IPv4 addresses) and RFC 4193 (IPv6 addresses), as well as loopback, local unicast and local multicast addresses.
  -alertmanager.sharding-ring.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -alertmanager.sharding-ring.etcd.endpoints string
    	The etcd endpoints to connect to.
  -alertmanager.sharding-ring.etcd.password string
    	Etcd password.
  -alertmanager.sharding-ring.etcd.username string
    	Etcd username.
  -alertmanager.sharding-ring.instance-interface-names string
    	List of network interface names to look up when finding the instance IP address. (default [<private network interfaces>])
  -alertmanager.sharding-ring.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -alertmanager.storage.path string
    	Directory to store Alertmanager state and temporarily configuration files. The content of this directory is not required to be persisted between restarts unless Alertmanager replication has been disabled. (default "./data-alertmanager/")
  -alertmanager.web.external-url string
    	The URL under which Alertmanager is externally reachable (eg. could be different than -http.alertmanager-http-prefix in case Alertmanager is served via a reverse proxy). This setting is used both to configure the internal requests router and to generate links in alert templates. If the external URL has a path portion, it will be used to prefix all HTTP endpoints served by Alertmanager, both the UI and API. (default http://localhost:8080/alertmanager)
  -auth.multitenancy-enabled
    	When set to true, incoming HTTP requests must specify tenant ID in HTTP X-Scope-OrgId header. When set to false, tenant ID from -auth.no-auth-tenant is used instead. (default true)
  -blocks-storage.azure.account-key string
    	Azure storage account key. If unset, Azure managed identities will be used for authentication instead.
  -blocks-storage.azure.account-name string
    	Azure storage account name
  -blocks-storage.azure.connection-string string
    	If `connection-string` is set, the value of `endpoint-suffix` will not be used. Use this method over `account-key` if you need to authenticate via a SAS token. Or if you use the Azurite emulator.
  -blocks-storage.azure.container-name string
    	Azure storage container name
  -blocks-storage.azure.endpoint-suffix string
    	Azure storage endpoint suffix without schema. The account name will be prefixed to this value to create the FQDN. If set to empty string, default endpoint suffix is used.
  -blocks-storage.backend string
    	Backend storage to use. Supported backends are: s3, gcs, azure, swift, filesystem. (default "filesystem")
  -blocks-storage.bucket-store.chunks-cache.backend string
    	Backend for chunks cache, if not empty. Supported values: memcached.
  -blocks-storage.bucket-store.chunks-cache.memcached.addresses comma-separated-list-of-strings
    	Comma-separated list of memcached addresses. Each address can be an IP address, hostname, or an entry specified in the DNS Service Discovery format.
  -blocks-storage.bucket-store.chunks-cache.memcached.connect-timeout duration
    	The connection timeout. (default 200ms)
  -blocks-storage.bucket-store.chunks-cache.memcached.timeout duration
    	The socket read/write timeout. (default 200ms)
  -blocks-storage.bucket-store.index-cache.backend string
    	The index cache backend type. Supported values: inmemory, memcached. (default "inmemory")
  -blocks-storage.bucket-store.index-cache.inmemory.max-size-bytes uint
    	Maximum size in bytes of in-memory index cache used to speed up blocks index lookups (shared between all tenants). (default 1073741824)
  -blocks-storage.bucket-store.index-cache.memcached.addresses comma-separated-list-of-strings
    	Comma-separated list of memcached addresses. Each address can be an IP address, hostname, or an entry specified in the DNS Service Discovery format.
  -blocks-storage.bucket-store.index-cache.memcached.connect-timeout duration
    	The connection timeout. (default 200ms)
  -blocks-storage.bucket-store.index-cache.memcached.timeout duration
    	The socket read/write timeout. (default 200ms)
  -blocks-storage.bucket-store.metadata-cache.backend string
    	Backend for metadata cache, if not empty. Supported values: memcached.
  -blocks-storage.bucket-store.metadata-cache.memcached.addresses comma-separated-list-of-strings
    	Comma-separated list of memcached addresses. Each address can be an IP address, hostname, or an entry specified in the DNS Service Discovery format.
  -blocks-storage.bucket-store.metadata-cache.memcached.connect-timeout duration
    	The connection timeout. (default 200ms)
  -blocks-storage.bucket-store.metadata-cache.memcached.timeout duration
    	The socket read/write timeout. (default 200ms)
  -blocks-storage.bucket-store.sync-dir string
    	Directory to store synchronized TSDB index headers. This directory is not required to be persisted between restarts, but it's highly recommended in order to improve the store-gateway startup time. (default "./tsdb-sync/")
  -blocks-storage.filesystem.dir string
    	Local filesystem storage directory. (default "blocks")
  -blocks-storage.gcs.bucket-name string
    	GCS bucket name
  -blocks-storage.gcs.service-account string
    	JSON either from a Google Developers Console client_credentials.json file, or a Google Developers service account key. Needs to be valid JSON, not a filesystem path.
  -blocks-storage.s3.access-key-id string
    	S3 access key ID
  -blocks-storage.s3.bucket-name string
    	S3 bucket name
  -blocks-storage.s3.endpoint string
    	The S3 bucket endpoint. It could be an AWS S3 endpoint listed at https://docs.aws.amazon.com/general/latest/gr/s3.html or the address of an S3-compatible service in hostname:port format.
  -blocks-storage.s3.region string
    	S3 region. If unset, the client will issue a S3 GetBucketLocation API call to autodetect it.
  -blocks-storage.s3.secret-access-key string
    	S3 secret access key
  -blocks-storage.s3.session-token string
    	S3 session token
  -blocks-storage.s3.sse.kms-encryption-context string
    	KMS Encryption Context used for object encryption. It expects JSON formatted string.
  -blocks-storage.s3.sse.kms-key-id string
    	KMS Key ID used to encrypt objects in S3
  -blocks-storage.s3.sse.type string
    	Enable AWS Server Side Encryption. Supported values: SSE-KMS, SSE-S3.
  -blocks-storage.s3.sts-endpoint string
    	Accessing S3 resources using temporary, secure credentials provided by AWS Security Token Service.
  -blocks-storage.storage-prefix string
    	Prefix for all objects stored in the backend storage. For simplicity, it may only contain digits and English alphabet letters.
  -blocks-storage.swift.application-credential-id string
    	OpenStack Swift application credential id
  -blocks-storage.swift.application-credential-name string
    	OpenStack Swift application credential name
  -blocks-storage.swift.application-credential-secret string
    	OpenStack Swift application credential secret
  -blocks-storage.swift.auth-url string
    	OpenStack Swift authentication URL
  -blocks-storage.swift.auth-version int
    	OpenStack Swift authentication API version. 0 to autodetect.
  -blocks-storage.swift.container-name string
    	Name of the OpenStack Swift container to put chunks in.
  -blocks-storage.swift.domain-id string
    	OpenStack Swift user's domain ID.
  -blocks-storage.swift.domain-name string
    	OpenStack Swift user's domain name.
  -blocks-storage.swift.password string
    	OpenStack Swift API key.
  -blocks-storage.swift.project-domain-id string
    	ID of the OpenStack Swift project's domain (v3 auth only), only needed if it differs the from user domain.
  -blocks-storage.swift.project-domain-name string
    	Name of the OpenStack Swift project's domain (v3 auth only), only needed if it differs from the user domain.
  -blocks-storage.swift.project-id string
    	OpenStack Swift project ID (v2,v3 auth only).
  -blocks-storage.swift.project-name string
    	OpenStack Swift project name (v2,v3 auth only).
  -blocks-storage.swift.region-name string
    	OpenStack Swift Region to use (v2,v3 auth only).
  -blocks-storage.swift.user-domain-id string
    	OpenStack Swift user's domain ID.
  -blocks-storage.swift.user-domain-name string
    	OpenStack Swift user's domain name.
  -blocks-storage.swift.user-id string
    	OpenStack Swift user ID.
  -blocks-storage.swift.username string
    	OpenStack Swift username.
  -blocks-storage.tsdb.dir string
    	Directory to store TSDBs (including WAL) in the ingesters. This directory is required to be persisted between restarts. (default "./tsdb/")
  -blocks-storage.tsdb.retention-period duration
    	TSDB blocks retention in the ingester before a block is removed. If shipping is enabled, the retention will be relative to the time when the block was uploaded to storage. If shipping is disabled then its relative to the creation time of the block. This should be larger than the -blocks-storage.tsdb.block-ranges-period, -querier.query-store-after and large enough to give store-gateways and queriers enough time to discover newly uploaded blocks. (default 13h0m0s)
  -common.storage.azure.account-key string
    	Azure storage account key. If unset, Azure managed identities will be used for authentication instead.
  -common.storage.azure.account-name string
    	Azure storage account name
  -common.storage.azure.connection-string string
    	If `connection-string` is set, the value of `endpoint-suffix` will not be used. Use this method over `account-key` if you need to authenticate via a SAS token. Or if you use the Azurite emulator.
  -common.storage.azure.container-name string
    	Azure storage container name
  -common.storage.azure.endpoint-suffix string
    	Azure storage endpoint suffix without schema. The account name will be prefixed to this value to create the FQDN. If set to empty string, default endpoint suffix is used.
  -common.storage.backend string
    	Backend storage to use. Supported backends are: s3, gcs, azure, swift, filesystem. (default "filesystem")
  -common.storage.filesystem.dir string
    	Local filesystem storage directory.
  -common.storage.gcs.bucket-name string
    	GCS bucket name
  -common.storage.gcs.service-account string
    	JSON either from a Google Developers Console client_credentials.json file, or a Google Developers service account key. Needs to be valid JSON, not a filesystem path.
  -common.storage.s3.access-key-id string
    	S3 access key ID
  -common.storage.s3.bucket-name string
    	S3 bucket name
  -common.storage.s3.endpoint string
    	The S3 bucket endpoint. It could be an AWS S3 endpoint listed at https://docs.aws.amazon.com/general/latest/gr/s3.html or the address of an S3-compatible service in hostname:port format.
  -common.storage.s3.region string
    	S3 region. If unset, the client will issue a S3 GetBucketLocation API call to autodetect it.
  -common.storage.s3.secret-access-key string
    	S3 secret access key
  -common.storage.s3.session-token string
    	S3 session token
  -common.storage.s3.sse.kms-encryption-context string
    	KMS Encryption Context used for object encryption. It expects JSON formatted string.
  -common.storage.s3.sse.kms-key-id string
    	KMS Key ID used to encrypt objects in S3
  -common.storage.s3.sse.type string
    	Enable AWS Server Side Encryption. Supported values: SSE-KMS, SSE-S3.
  -common.storage.s3.sts-endpoint string
    	Accessing S3 resources using temporary, secure credentials provided by AWS Security Token Service.
  -common.storage.swift.application-credential-id string
    	OpenStack Swift application credential id
  -common.storage.swift.application-credential-name string
    	OpenStack Swift application credential name
  -common.storage.swift.application-credential-secret string
    	OpenStack Swift application credential secret
  -common.storage.swift.auth-url string
    	OpenStack Swift authentication URL
  -common.storage.swift.auth-version int
    	OpenStack Swift authentication API version. 0 to autodetect.
  -common.storage.swift.container-name string
    	Name of the OpenStack Swift container to put chunks in.
  -common.storage.swift.domain-id string
    	OpenStack Swift user's domain ID.
  -common.storage.swift.domain-name string
    	OpenStack Swift user's domain name.
  -common.storage.swift.password string
    	OpenStack Swift API key.
  -common.storage.swift.project-domain-id string
    	ID of the OpenStack Swift project's domain (v3 auth only), only needed if it differs the from user domain.
  -common.storage.swift.project-domain-name string
    	Name of the OpenStack Swift project's domain (v3 auth only), only needed if it differs from the user domain.
  -common.storage.swift.project-id string
    	OpenStack Swift project ID (v2,v3 auth only).
  -common.storage.swift.project-name string
    	OpenStack Swift project name (v2,v3 auth only).
  -common.storage.swift.region-name string
    	OpenStack Swift Region to use (v2,v3 auth only).
  -common.storage.swift.user-domain-id string
    	OpenStack Swift user's domain ID.
  -common.storage.swift.user-domain-name string
    	OpenStack Swift user's domain name.
  -common.storage.swift.user-id string
    	OpenStack Swift user ID.
  -common.storage.swift.username string
    	OpenStack Swift username.
  -compactor.block-upload-enabled
    	Enable block upload API for the tenant.
  -compactor.block-upload-validation-enabled
    	Enable block upload validation for the tenant. (default true)
  -compactor.block-upload-verify-chunks
    	Verify chunks when uploading blocks via the upload API for the tenant. (default true)
  -compactor.blocks-retention-period duration
    	Delete blocks containing samples older than the specified retention period. Also used by query-frontend to avoid querying beyond the retention period by instant, range or remote read queries. 0 to disable.
  -compactor.compactor-tenant-shard-size int
    	Max number of compactors that can compact blocks for single tenant. 0 to disable the limit and use all compactors.
  -compactor.data-dir string
    	Directory to temporarily store blocks during compaction. This directory is not required to be persisted between restarts. (default "./data-compactor/")
  -compactor.first-level-compaction-wait-period duration
    	How long the compactor waits before compacting first-level blocks that are uploaded by the ingesters or block-builders. This configuration option allows for the reduction of cases where the compactor begins to compact blocks before all ingesters have uploaded their blocks to the storage. Does not apply to out-of-order blocks. (default 25m0s)
  -compactor.ooo-split-and-merge-shards int
    	The number of shards to use when splitting out-of-order blocks. 0 to use the value of -compactor.split-and-merge-shards. Only applies to blocks with the out-of-order external label, see -ingester.out-of-order-blocks-external-label-enabled.
  -compactor.partial-block-deletion-delay duration
    	If a partial block (unfinished block without meta.json file) hasn't been modified for this time, it will be marked for deletion. The minimum accepted value is 4h0m0s: a lower value will be ignored and the feature disabled. 0 to disable. (default 1d)
  -compactor.ring.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -compactor.ring.etcd.endpoints string
    	The etcd endpoints to connect to.
  -compactor.ring.etcd.password string
    	Etcd password.
  -compactor.ring.etcd.username string
    	Etcd username.
  -compactor.ring.instance-interface-names string
    	List of network interface names to look up when finding the instance IP address. (default [<private network interfaces>])
  -compactor.ring.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -compactor.split-and-merge-shards int
    	The number of shards to use when splitting blocks. 0 to disable splitting.
  -compactor.split-groups int
    	Number of groups that blocks for splitting should be grouped into. Each group of blocks is then split separately. Number of output split shards is controlled by -compactor.split-and-merge-shards. (default 1)
  -config.expand-env
    	Expands ${var} or $var in config according to the values of the environment variables.
  -config.file value
    	Configuration file to load.
  -distributor.ha-tracker.cluster string
    	Prometheus label to look for in samples to identify a Prometheus HA cluster. (default "cluster")
  -distributor.ha-tracker.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -distributor.ha-tracker.enable
    	Enable the distributors HA tracker so that it can accept samples from Prometheus HA replicas gracefully (requires labels).
  -distributor.ha-tracker.enable-elected-replica-metric
    	Enable the elected_replica_status metric, which shows the current elected replica. It is disabled by default due to the possible high cardinality of the metric.
  -distributor.ha-tracker.enable-for-all-users
    	Flag to enable, for all tenants, handling of samples with external labels identifying replicas in an HA Prometheus setup.
  -distributor.ha-tracker.etcd.endpoints string
    	The etcd endpoints to connect to.
  -distributor.ha-tracker.etcd.password string
    	Etcd password.
  -distributor.ha-tracker.etcd.username string
    	Etcd username.
  -distributor.ha-tracker.max-clusters int
    	Maximum number of clusters that HA tracker will keep track of for a single tenant. 0 to disable the limit. (default 100)
  -distributor.ha-tracker.replica string
    	Prometheus label to look for in samples to identify a Prometheus HA replica. (default "__replica__")
  -distributor.ha-tracker.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -distributor.ingestion-burst-size int
    	Per-tenant allowed ingestion burst size (in number of samples). (default 200000)
  -distributor.ingestion-rate-limit float
    	Per-tenant ingestion rate limit in samples per second. (default 10000)
  -distributor.ingestion-tenant-shard-size int
    	The tenant's shard size used by shuffle-sharding. This value is the total size of the shard (ie. it is not the number of ingesters in the shard per zone, but the number of ingesters in the shard across all zones, if zone-awareness is enabled). Must be set both on ingesters and distributors. 0 disables shuffle sharding.
  -distributor.request-burst-size int
    	Per-tenant allowed push request burst size. 0 to disable.
  -distributor.request-rate-limit float
    	Per-tenant push request rate limit in requests per second. 0 to disable.
  -distributor.ring.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -distributor.ring.etcd.endpoints string
    	The etcd endpoints to connect to.
  -distributor.ring.etcd.password string
    	Etcd password.
  -distributor.ring.etcd.username string
    	Etcd username.
  -distributor.ring.instance-interface-names string
    	List of network interface names to look up when finding the instance IP address. (default [<private network interfaces>])
  -distributor.ring.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -h
    	Print basic help.
  -help
    	Print basic help.
  -help-all
    	Print help, also including advanced and experimental parameters.
  -ingest-storage.enabled
    	True to enable the ingestion via object storage.
  -ingest-storage.kafka.address comma-separated-list-of-strings
    	The Kafka seed broker address, or a comma-separated list of seed broker addresses.
  -ingest-storage.kafka.auto-create-topic-default-partitions int
    	When auto-creation of Kafka topic is enabled and this value is positive, Mimir creates the topic with this number of partitions. When the value is -1 the Kafka broker uses the default number of partitions (num.partitions configuration). (default -1)
  -ingest-storage.kafka.auto-create-topic-enabled
    	Enable auto-creation of Kafka topic on startup if it doesn't exist. If creating the topic fails and the topic doesn't already exist, Mimir fails to start. (default true)
  -ingest-storage.kafka.client-id string
    	The Kafka client ID.
  -ingest-storage.kafka.client-rack string
    	The rack identifier for this Kafka client. Corresponds to the Kafka client.rack setting.
  -ingest-storage.kafka.consume-from-position-at-startup string
    	From which position to start consuming the partition at startup. Supported options: last-offset, start, end, timestamp. (default "last-offset")
  -ingest-storage.kafka.consume-from-timestamp-at-startup int
    	Milliseconds timestamp after which the consumption of the partition starts at startup. Only applies when consume-from-position-at-startup is timestamp
  -ingest-storage.kafka.consumer-group string
    	The consumer group used by the consumer to track the last consumed offset. The consumer group must be different for each ingester. If the configured consumer group contains the '<partition>' placeholder, it is replaced with the actual partition ID owned by the ingester. When empty (recommended), Mimir uses the ingester instance ID to guarantee uniqueness.
  -ingest-storage.kafka.consumer-group-offset-commit-interval duration
    	How frequently a consumer should commit the consumed offset to Kafka. The last committed offset is used at startup to continue the consumption from where it was left. (default 1s)
  -ingest-storage.kafka.dial-timeout duration
    	The maximum time allowed to open a connection to a Kafka broker. (default 2s)
  -ingest-storage.kafka.fetch-concurrency-max int
    	The maximum number of concurrent fetch requests that the ingester makes when reading data from Kafka during startup. Concurrent fetch requests are issued only when there is sufficient backlog of records to consume. Set to 0 to disable. (default 12)
  -ingest-storage.kafka.fetch-max-wait duration
    	The maximum amount of time a Kafka broker waits for some records before a Fetch response is returned. (default 5s)
  -ingest-storage.kafka.ingestion-concurrency-batch-size int
    	The number of timeseries to batch together before ingesting to the TSDB head. Only use this setting when -ingest-storage.kafka.ingestion-concurrency-max is greater than 0. (default 150)
  -ingest-storage.kafka.ingestion-concurrency-estimated-bytes-per-sample int
    	The estimated number of bytes a sample has at time of ingestion. This value is used to estimate the timeseries without decompressing them. Only use this setting when -ingest-storage.kafka.ingestion-concurrency-max is greater than 0. (default 200)
  -ingest-storage.kafka.ingestion-concurrency-max int
    	The maximum number of concurrent ingestion streams to the TSDB head. Every tenant has their own set of streams. 0 to disable. (default 8)
  -ingest-storage.kafka.ingestion-concurrency-queue-capacity int
    	The number of batches to prepare and queue to ingest to the TSDB head. Only use this setting when -ingest-storage.kafka.ingestion-concurrency-max is greater than 0. (default 3)
  -ingest-storage.kafka.ingestion-concurrency-target-flushes-per-shard int
    	The expected number of times to ingest timeseries to the TSDB head after batching. With fewer flushes, the overhead of splitting up the work is higher than the benefit of parallelization. Only use this setting when -ingest-storage.kafka.ingestion-concurrency-max is greater than 0. (default 40)
  -ingest-storage.kafka.last-produced-offset-poll-interval duration
    	How frequently to poll the last produced offset, used to enforce strong read consistency. (default 1s)
  -ingest-storage.kafka.last-produced-offset-retry-timeout duration
    	How long to retry a failed request to get the last produced offset. (default 10s)
  -ingest-storage.kafka.max-buffered-bytes int
    	The maximum number of buffered records ready to be processed. This limit applies to the sum of all inflight requests. Set to 0 to disable the limit. (default 1000000000)
  -ingest-storage.kafka.max-consumer-lag-at-startup duration
    	The guaranteed maximum lag before a consumer is considered to have caught up reading from a partition at startup, becomes ACTIVE in the hash ring and passes the readiness check. Set both -ingest-storage.kafka.target-consumer-lag-at-startup and -ingest-storage.kafka.max-consumer-lag-at-startup to 0 to disable waiting for maximum consumer lag being honored at startup. (default 15s)
  -ingest-storage.kafka.producer-max-buffered-bytes int
    	The maximum size of (uncompressed) buffered and unacknowledged produced records sent to Kafka. The produce request fails once this limit is reached. This limit is per Kafka client. 0 to disable the limit. (default 1073741824)
  -ingest-storage.kafka.producer-max-record-size-bytes int
    	The maximum size of a Kafka record data that should be generated by the producer. An incoming write request larger than this size is split into multiple Kafka records. We strongly recommend to not change this setting unless for testing purposes. (default 15983616)
  -ingest-storage.kafka.producer-record-version int
    	The record version that this producer sends. (default 2)
  -ingest-storage.kafka.sasl-mechanism string
    	The SASL mechanism used to authenticate to Kafka. Supported values: PLAIN, SCRAM-SHA-256, SCRAM-SHA-512, OAUTHBEARER, AWS_MSK_IAM. For backwards-compatibility, PLAIN with no username nor password disables SASL. (default "PLAIN")
  -ingest-storage.kafka.sasl-msk-iam-access-key string
    	The AWS access key ID to authenticate to Kafka using SASL AWS_MSK_IAM. Consider ingest-storage.kafka.sasl-msk-iam-file-path instead.
  -ingest-storage.kafka.sasl-msk-iam-file-path string
    	Path to a file containing AWS credentials to authenticate to Kafka using SASL AWS_MSK_IAM. Mutually exclusive with ingest-storage.kafka.sasl-msk-iam-http-socket-path. The file is read anew on every reauthentication, so it can be updated with fresh credentials. The file must be in JSON format, adhering to this JSON schema: {"type": "object", "required": ["AccessKey", "SecretKey"], "properties": {"AccessKey": {"type": "string"}, "SecretKey": {"type": "string"}, "SessionToken": {"type": "string"}, "UserAgent": {"type": "string"}}}
  -ingest-storage.kafka.sasl-msk-iam-http-socket-path string
    	Path to a Unix domain socket to fetch AWS credentials from via HTTP. Mutually exclusive with ingest-storage.kafka.sasl-msk-iam-file-path. On every authentication or reauthentication, an HTTP GET / request is made to the socket and the response body is read as JSON. The JSON schema is the same as for ingest-storage.kafka.sasl-msk-iam-file-path.
  -ingest-storage.kafka.sasl-msk-iam-http-socket-timeout duration
    	Timeout for requesting AWS credentials from the HTTP socket. Effective when ingest-storage.kafka.sasl-msk-iam-http-socket-path is set. (default 10s)
  -ingest-storage.kafka.sasl-msk-iam-secret-key string
    	The AWS secret access key to authenticate to Kafka using SASL AWS_MSK_IAM. Consider ingest-storage.kafka.sasl-msk-iam-file-path instead.
  -ingest-storage.kafka.sasl-msk-iam-session-token string
    	Optional AWS session token to authenticate to Kafka using SASL AWS_MSK_IAM.
  -ingest-storage.kafka.sasl-msk-iam-user-agent string
    	Optional user agent to use when authenticating to Kafka using SASL AWS_MSK_IAM.
  -ingest-storage.kafka.sasl-oauthbearer-extensions value
    	Optional additional OAuth extensions to include when authenticating to Kafka using SASL OAUTHBEARER as a JSON object. (default {})
  -ingest-storage.kafka.sasl-oauthbearer-file-path string
    	Path to a file containing an OAuth token to authenticate to Kafka. Mutually exclusive with ingest-storage.kafka.sasl-oauthbearer-http-socket-path. The file is read anew on every reauthentication, so it can be updated with fresh tokens. The file must be in JSON format, adhering to this JSON schema: {"type": "object", "required": ["token"], "properties": {"token": {"type": "string"}, "zid": {"type": "string"}, "extensions": {"type": "object", "additionalProperties": {"type": "string"}}}
  -ingest-storage.kafka.sasl-oauthbearer-http-socket-path string
    	Path to a Unix domain socket to fetch an OAuth token from via HTTP. Mutually exclusive with ingest-storage.kafka.sasl-oauthbearer-file-path. On every authentication or reauthentication, an HTTP GET / request is made to the socket and the response body is read as JSON. The JSON schema is the same as for ingest-storage.kafka.sasl-oauthbearer-file-path.
  -ingest-storage.kafka.sasl-oauthbearer-http-socket-timeout duration
    	Timeout for requesting the token from the HTTP socket. Effective when ingest-storage.kafka.sasl-oauthbearer-http-socket-path is set. (default 10s)
  -ingest-storage.kafka.sasl-oauthbearer-token string
    	The OAuth token to use to authenticate to Kafka. Consider ingest-storage.kafka.sasl-oauthbearer-file-path instead.
  -ingest-storage.kafka.sasl-oauthbearer-zid string
    	Optional authorization ID to use when authenticating to Kafka using SASL OAUTHBEARER.
  -ingest-storage.kafka.sasl-password string
    	The password used to authenticate to Kafka using SASL. To enable SASL, configure both the username and password.
  -ingest-storage.kafka.sasl-username string
    	The username used to authenticate to Kafka using SASL. To enable SASL, configure both the username and password.
  -ingest-storage.kafka.target-consumer-lag-at-startup duration
    	The best-effort maximum lag a consumer tries to achieve at startup. Set both -ingest-storage.kafka.target-consumer-lag-at-startup and -ingest-storage.kafka.max-consumer-lag-at-startup to 0 to disable waiting for maximum consumer lag being honored at startup. (default 2s)
  -ingest-storage.kafka.tls-enabled
    	Enable TLS for the Kafka client connection.
  -ingest-storage.kafka.topic string
    	The Kafka topic name.
  -ingest-storage.kafka.use-compressed-bytes-as-fetch-max-bytes
    	When enabled, the fetch request MaxBytes field is computed using the compressed size of previous records. When disabled, MaxBytes is computed using uncompressed bytes. Different Kafka implementations interpret MaxBytes differently. (default true)
  -ingest-storage.kafka.wait-strong-read-consistency-timeout duration
    	The maximum allowed for a read requests processed by an ingester to wait until strong read consistency is enforced. 0 to disable the timeout. (default 20s)
  -ingest-storage.kafka.write-timeout duration
    	How long to wait for an incoming write request to be successfully committed to the Kafka backend. (default 10s)
  -ingest-storage.migration.distributor-send-to-ingesters-enabled
    	When both this option and ingest storage are enabled, distributors write to both Kafka and ingesters. A write request is considered successful only when written to both backends.
  -ingest-storage.migration.ignore-ingest-storage-errors
    	When enabled, errors writing to ingest storage are logged but do not affect write success or quorum. When disabled, write requests fail if ingest storage write fails.
  -ingest-storage.migration.ingest-storage-max-wait-time duration
    	The maximum time a write request that goes through the ingest storage waits before it times out. Set to `0` to disable the timeout.
  -ingester.max-global-metadata-per-metric int
    	The maximum number of metadata per metric, across the cluster. 0 to disable.
  -ingester.max-global-metadata-per-user int
    	The maximum number of in-memory metrics with metadata per tenant, across the cluster. 0 to disable.
  -ingester.max-global-series-per-metric int
    	The maximum number of in-memory series per metric name, across the cluster before replication. 0 to disable.
  -ingester.max-global-series-per-user int
    	The maximum number of in-memory series per tenant, across the cluster before replication. 0 to disable. (default 150000)
  -ingester.out-of-order-time-window duration
    	Non-zero value enables out-of-order support for most recent samples that are within the time window in relation to the TSDB's maximum time, i.e., within [db.maxTime-timeWindow, db.maxTime]). The ingester will need more memory as a factor of rate of out-of-order samples being ingested and the number of series that are getting out-of-order samples. If query falls into this window, cached results will use value from -query-frontend.results-cache-ttl-for-out-of-order-time-window option to specify TTL for resulting cache entry.
  -ingester.partition-ring.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -ingester.partition-ring.delete-inactive-partition-after duration
    	How long to wait before an INACTIVE partition is eligible for deletion. The partition is deleted only if it has been in INACTIVE state for at least the configured duration and it has no owners registered. A value of 0 disables partitions deletion. (default 13h0m0s)
  -ingester.partition-ring.etcd.endpoints string
    	The etcd endpoints to connect to.
  -ingester.partition-ring.etcd.password string
    	Etcd password.
  -ingester.partition-ring.etcd.username string
    	Etcd username.
  -ingester.partition-ring.min-partition-owners-count int
    	Minimum number of owners to wait before a PENDING partition gets switched to ACTIVE. (default 1)
  -ingester.partition-ring.min-partition-owners-duration duration
    	How long the minimum number of owners are enforced before a PENDING partition gets switched to ACTIVE. (default 10s)
  -ingester.partition-ring.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -ingester.ring.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -ingester.ring.etcd.endpoints string
    	The etcd endpoints to connect to.
  -ingester.ring.etcd.password string
    	Etcd password.
  -ingester.ring.etcd.username string
    	Etcd username.
  -ingester.ring.replication-factor int
    	Number of ingesters that each time series is replicated to. This configuration is not used when ingest storage is enabled. This option needs be set on ingesters, distributors, queriers, and rulers when running in microservices mode. (default 3)
  -ingester.ring.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -ingester.ring.tokens-file-path string
    	File path where tokens are stored. If empty, tokens are not stored at shutdown and restored at startup. Must be empty if -ingester.ring.token-generation-strategy is set to "spread-minimizing".
  -ingester.ring.zone-awareness-enabled
    	True to enable the zone-awareness and replicate ingested samples across different availability zones. This option needs be set on ingesters, distributors, queriers, and rulers when running in microservices mode.
  -log.format string
    	Output log messages in the given format. Valid formats: [logfmt, json] (default "logfmt")
  -log.level value
    	Only log messages with the given severity or above. Valid levels: [debug, info, warn, error] (default info)
  -log.rate-limit-enabled
    	Use rate limited logger to reduce the number of logged messages per second.
  -log.rate-limit-logs-burst-size int
    	Burst size, i.e., maximum number of messages that can be logged at once, temporarily exceeding the configured maximum logs per second. (default 1000)
  -log.rate-limit-logs-per-second float
    	Maximum number of messages per second to be logged. (default 10000)
  -memberlist.abort-if-join-fails
    	Abort if this node fails to join memberlist cluster at startup. When enabled, it's not guaranteed that other services are started only after the cluster state has been successfully updated; use 'abort-if-fast-join-fails' instead.
  -memberlist.advertise-addr string
    	Gossip address to advertise to other members in the cluster. Used for NAT traversal.
  -memberlist.advertise-port int
    	Gossip port to advertise to other members in the cluster. Used for NAT traversal. (default 7946)
  -memberlist.bind-addr string
    	IP address to listen on for gossip messages. Multiple addresses may be specified. Defaults to 0.0.0.0
  -memberlist.bind-port int
    	Port to listen on for gossip messages. (default 7946)
  -memberlist.join value
    	Other cluster members to join. Can be specified multiple times or as a comma-separated list. It can be an IP, hostname or an entry specified in the DNS Service Discovery format.
  -modules
    	List available values that can be used as target.
  -overrides-exporter.enabled-metrics comma-separated-list-of-strings
    	Comma-separated list of metrics to include in the exporter. Metric names must match yaml tags from the limits section of the configuration. (default ingestion_burst_size,ingestion_rate,max_fetched_chunk_bytes_per_query,max_fetched_chunks_per_query,max_fetched_series_per_query,max_global_exemplars_per_user,max_global_series_per_metric,max_global_series_per_user,ruler_max_rule_groups_per_tenant,ruler_max_rules_per_rule_group)
  -overrides-exporter.ring.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -overrides-exporter.ring.enabled
    	Enable the ring used by override-exporters to deduplicate exported limit metrics.
  -overrides-exporter.ring.etcd.endpoints string
    	The etcd endpoints to connect to.
  -overrides-exporter.ring.etcd.password string
    	Etcd password.
  -overrides-exporter.ring.etcd.username string
    	Etcd username.
  -overrides-exporter.ring.instance-interface-names string
    	List of network interface names to look up when finding the instance IP address. (default [<private network interfaces>])
  -overrides-exporter.ring.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -print.config
    	Print the config and exit.
  -querier.cardinality-analysis-enabled
    	Enables endpoints used for cardinality analysis.
  -querier.label-names-and-values-results-max-size-bytes int
    	Maximum size in bytes of distinct label names and values. When querier receives response from ingester, it merges the response with responses from other ingesters. This maximum size limit is applied to the merged(distinct) results. If the limit is reached, an error is returned. (default 419430400)
  -querier.label-values-max-cardinality-label-names-per-request int
    	Maximum number of label names allowed to be queried in a single /api/v1/cardinality/label_values API call. (default 100)
  -querier.max-concurrent int
    	The number of workers running in each querier process. This setting limits the maximum number of concurrent queries in each querier. The minimum value is four; lower values are ignored and set to the minimum (default 20)
  -querier.max-fetched-chunk-bytes-per-query int
    	The maximum size of all chunks in bytes that a query can fetch from ingesters and store-gateways. This limit is enforced in the querier and ruler. 0 to disable.
  -querier.max-fetched-chunks-per-query int
    	Maximum number of chunks that can be fetched in a single query from ingesters and store-gateways. This limit is enforced in the querier, ruler and store-gateway. 0 to disable. (default 2000000)
  -querier.max-fetched-series-per-query int
    	The maximum number of unique series for which a query can fetch samples from ingesters and store-gateways. This limit is enforced in the querier, ruler and store-gateway. 0 to disable
  -querier.max-label-names-limit int
    	Maximum number of names the label names endpoint returns. This limit is enforced in the querier. If the requested limit is outside of the allowed value, the request doesn't fail, but is manipulated to only query data up to the allowed limit. Set to 0 to disable.
  -querier.max-label-values-limit int
    	Maximum number of values the label values endpoint returns. This limit is enforced in the querier. If the requested limit is outside of the allowed value, the request doesn't fail, but is manipulated to only query data up to the allowed limit. Set to 0 to disable.
  -querier.max-partial-query-length duration
    	Limit the time range for partial queries at the querier level.
  -querier.max-query-lookback duration
    	Limit how long back data (series and metadata) can be queried, up until <lookback> duration ago. This limit is enforced in the query-frontend, querier and ruler for instant, range and remote read queries. For metadata queries like series, label names, label values queries the limit is enforced in the querier and ruler. If the requested time range is outside the allowed range, the request will not fail but will be manipulated to only query data within the allowed time range. 0 to disable.
  -querier.max-query-parallelism int
    	Maximum number of split (by time) or partial (by shard) queries that will be scheduled in parallel by the query-frontend for a single input query. This limit is introduced to have a fairer query scheduling and avoid a single query over a large time range saturating all available queriers. (default 14)
  -querier.max-samples int
    	Maximum number of samples a single query can load into memory. This config option should be set on query-frontend too when query sharding is enabled. (default 50000000)
  -querier.max-series-query-limit int
    	Maximum number of series, the series endpoint queries. This limit is enforced in the querier. If the requested limit is outside of the allowed value, the request doesn't fail, but is manipulated to only query data up to the allowed limit. Set to 0 to disable.
  -querier.mimir-query-engine.range-vector-splitting.backend string
    	Backend for intermediate results cache, if not empty. Supported values: memcached.
  -querier.mimir-query-engine.range-vector-splitting.compression string
    	Enable cache compression, if not empty. Supported values are: snappy.
  -querier.mimir-query-engine.range-vector-splitting.memcached.addresses comma-separated-list-of-strings
    	Comma-separated list of memcached addresses. Each address can be an IP address, hostname, or an entry specified in the DNS Service Discovery format.
  -querier.mimir-query-engine.range-vector-splitting.memcached.connect-timeout duration
    	The connection timeout. (default 200ms)
  -querier.mimir-query-engine.range-vector-splitting.memcached.timeout duration
    	The socket read/write timeout. (default 200ms)
  -querier.ring.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -querier.ring.etcd.endpoints string
    	The etcd endpoints to connect to.
  -querier.ring.etcd.password string
    	Etcd password.
  -querier.ring.etcd.username string
    	Etcd username.
  -querier.ring.instance-interface-names string
    	List of network interface names to look up when finding the instance IP address. (default [<private network interfaces>])
  -querier.ring.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -querier.scheduler-address string
    	Address of the query-scheduler component, in host:port format. The host should resolve to all query-scheduler instances. This option should be set only when query-scheduler component is in use and -query-scheduler.service-discovery-mode is set to 'dns'.
  -querier.timeout duration
    	The timeout for a query. This config option should be set on query-frontend too when query sharding is enabled. This also applies to queries evaluated by the ruler (internally or remotely). (default 2m0s)
  -query-frontend.align-queries-with-step
    	Mutate incoming queries to align their start and end with their step to improve result caching.
  -query-frontend.cache-errors
    	Cache non-transient errors from queries.
  -query-frontend.cache-results
    	Cache query results.
  -query-frontend.enabled-promql-experimental-functions comma-separated-list-of-strings
    	Enable certain experimental PromQL functions, which are subject to being changed or removed at any time, on a per-tenant basis. Defaults to empty which means all experimental functions are disabled. Set to 'all' to enable all experimental functions.
  -query-frontend.enabled-promql-extended-range-selectors comma-separated-list-of-strings
    	Enable certain experimental PromQL extended range selector modifiers, which are subject to being changed or removed at any time, on a per-tenant basis. Defaults to empty which means all experimental modifiers are disabled. Set to 'all' to enable all experimental modifiers.
  -query-frontend.log-queries-longer-than duration
    	Log queries that are slower than the specified duration. Set to 0 to disable. Set to < 0 to enable on all queries.
  -query-frontend.max-queriers-per-tenant int
    	Maximum number of queriers that can handle requests for a single tenant. If set to 0 or value higher than number of available queriers, *all* queriers will handle requests for the tenant. Each frontend (or query-scheduler, if used) will select the same set of queriers for the same tenant (given that all queriers are connected to all frontends / query-schedulers). This option only works with queriers connecting to the query-frontend / query-scheduler, not when using downstream URL.
  -query-frontend.max-query-expression-size-bytes int
    	Max size of the raw query, in bytes. This limit is enforced by the query-frontend for instant, range and remote read queries. 0 to not apply a limit to the size of the query.
  -query-frontend.max-total-query-length duration
    	Limit the total query time range (end - start time). This limit is enforced in the query-frontend on the received instant, range or remote read query.
  -query-frontend.parallelize-shardable-queries
    	True to enable query sharding.
  -query-frontend.query-result-response-format string
    	Format to use when retrieving query results from queriers. Supported values: json, protobuf (default "protobuf")
  -query-frontend.query-sharding-max-regexp-size-bytes int
    	Disable query sharding for any query containing a regular expression matcher longer than the configured number of bytes. 0 to disable the limit. (default 4096)
  -query-frontend.query-sharding-max-sharded-queries int
    	The max number of sharded queries that can be run for a given received query. 0 to disable limit. (default 128)
  -query-frontend.query-sharding-total-shards int
    	The amount of shards to use when doing parallelisation via query sharding by tenant. 0 to disable query sharding for tenant. Query sharding implementation will adjust the number of query shards based on compactor shards. This allows querier to not search the blocks which cannot possibly have the series for given query shard. (default 16)
  -query-frontend.results-cache-ttl duration
    	Time to live duration for cached query results. If query falls into out-of-order time window, -query-frontend.results-cache-ttl-for-out-of-order-time-window is used instead. (default 1w)
  -query-frontend.results-cache-ttl-for-cardinality-query duration
    	Time to live duration for cached cardinality query results. The value 0 disables the cache.
  -query-frontend.results-cache-ttl-for-errors duration
    	Time to live duration for cached non-transient errors (default 5m)
  -query-frontend.results-cache-ttl-for-labels-query duration
    	Time to live duration for cached label names and label values query results. The value 0 disables the cache.
  -query-frontend.results-cache-ttl-for-out-of-order-time-window duration
    	Time to live duration for cached query results if query falls into out-of-order time window. This is lower than -query-frontend.results-cache-ttl so that incoming out-of-order samples are returned in the query results sooner. (default 10m)
  -query-frontend.results-cache.backend string
    	Backend for query-frontend results cache, if not empty. Supported values: memcached.
  -query-frontend.results-cache.compression string
    	Enable cache compression, if not empty. Supported values are: snappy.
  -query-frontend.results-cache.memcached.addresses comma-separated-list-of-strings
    	Comma-separated list of memcached addresses. Each address can be an IP address, hostname, or an entry specified in the DNS Service Discovery format.
  -query-frontend.results-cache.memcached.connect-timeout duration
    	The connection timeout. (default 200ms)
  -query-frontend.results-cache.memcached.timeout duration
    	The socket read/write timeout. (default 200ms)
  -query-frontend.scheduler-address string
    	Address of the query-scheduler component, in host:port format. The host should resolve to all query-scheduler instances. This option should be set only when query-scheduler component is in use and -query-scheduler.service-discovery-mode is set to 'dns'.
  -query-scheduler.max-outstanding-requests-per-tenant int
    	Maximum number of outstanding requests per tenant per query-scheduler. In-flight requests above this limit will fail with HTTP response status code 429. (default 100)
  -query-scheduler.max-used-instances int
    	The maximum number of query-scheduler instances to use, regardless how many replicas are running. This option can be set only when -query-scheduler.service-discovery-mode is set to 'ring'. 0 to use all available query-scheduler instances.
  -query-scheduler.ring.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -query-scheduler.ring.etcd.endpoints string
    	The etcd endpoints to connect to.
  -query-scheduler.ring.etcd.password string
    	Etcd password.
  -query-scheduler.ring.etcd.username string
    	Etcd username.
  -query-scheduler.ring.instance-interface-names string
    	List of network interface names to look up when finding the instance IP address. (default [<private network interfaces>])
  -query-scheduler.ring.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -ruler-storage.azure.account-key string
    	Azure storage account key. If unset, Azure managed identities will be used for authentication instead.
  -ruler-storage.azure.account-name string
    	Azure storage account name
  -ruler-storage.azure.connection-string string
    	If `connection-string` is set, the value of `endpoint-suffix` will not be used. Use this method over `account-key` if you need to authenticate via a SAS token. Or if you use the Azurite emulator.
  -ruler-storage.azure.container-name string
    	Azure storage container name
  -ruler-storage.azure.endpoint-suffix string
    	Azure storage endpoint suffix without schema. The account name will be prefixed to this value to create the FQDN. If set to empty string, default endpoint suffix is used.
  -ruler-storage.backend string
    	Backend storage to use. Supported backends are: s3, gcs, azure, swift, filesystem, local. (default "filesystem")
  -ruler-storage.cache.backend string
    	Backend for ruler storage cache, if not empty. The cache is supported for any storage backend except "local". Supported values: memcached.
  -ruler-storage.cache.memcached.addresses comma-separated-list-of-strings
    	Comma-separated list of memcached addresses. Each address can be an IP address, hostname, or an entry specified in the DNS Service Discovery format.
  -ruler-storage.cache.memcached.connect-timeout duration
    	The connection timeout. (default 200ms)
  -ruler-storage.cache.memcached.timeout duration
    	The socket read/write timeout. (default 200ms)
  -ruler-storage.filesystem.dir string
    	Local filesystem storage directory. (default "ruler")
  -ruler-storage.gcs.bucket-name string
    	GCS bucket name
  -ruler-storage.gcs.service-account string
    	JSON either from a Google Developers Console client_credentials.json file, or a Google Developers service account key. Needs to be valid JSON, not a filesystem path.
  -ruler-storage.local.directory string
    	Directory to scan for rules
  -ruler-storage.s3.access-key-id string
    	S3 access key ID
  -ruler-storage.s3.bucket-name string
    	S3 bucket name
  -ruler-storage.s3.endpoint string
    	The S3 bucket endpoint. It could be an AWS S3 endpoint listed at https://docs.aws.amazon.com/general/latest/gr/s3.html or the address of an S3-compatible service in hostname:port format.
  -ruler-storage.s3.region string
    	S3 region. If unset, the client will issue a S3 GetBucketLocation API call to autodetect it.
  -ruler-storage.s3.secret-access-key string
    	S3 secret access key
  -ruler-storage.s3.session-token string
    	S3 session token
  -ruler-storage.s3.sse.kms-encryption-context string
    	KMS Encryption Context used for object encryption. It expects JSON formatted string.
  -ruler-storage.s3.sse.kms-key-id string
    	KMS Key ID used to encrypt objects in S3
  -ruler-storage.s3.sse.type string
    	Enable AWS Server Side Encryption. Supported values: SSE-KMS, SSE-S3.
  -ruler-storage.s3.sts-endpoint string
    	Accessing S3 resources using temporary, secure credentials provided by AWS Security Token Service.
  -ruler-storage.storage-prefix string
    	Prefix for all objects stored in the backend storage. For simplicity, it may only contain digits and English alphabet letters.
  -ruler-storage.swift.application-credential-id string
    	OpenStack Swift application credential id
  -ruler-storage.swift.application-credential-name string
    	OpenStack Swift application credential name
  -ruler-storage.swift.application-credential-secret string
    	OpenStack Swift application credential secret
  -ruler-storage.swift.auth-url string
    	OpenStack Swift authentication URL
  -ruler-storage.swift.auth-version int
    	OpenStack Swift authentication API version. 0 to autodetect.
  -ruler-storage.swift.container-name string
    	Name of the OpenStack Swift container to put chunks in.
  -ruler-storage.swift.domain-id string
    	OpenStack Swift user's domain ID.
  -ruler-storage.swift.domain-name string
    	OpenStack Swift user's domain name.
  -ruler-storage.swift.password string
    	OpenStack Swift API key.
  -ruler-storage.swift.project-domain-id string
    	ID of the OpenStack Swift project's domain (v3 auth only), only needed if it differs the from user domain.
  -ruler-storage.swift.project-domain-name string
    	Name of the OpenStack Swift project's domain (v3 auth only), only needed if it differs from the user domain.
  -ruler-storage.swift.project-id string
    	OpenStack Swift project ID (v2,v3 auth only).
  -ruler-storage.swift.project-name string
    	OpenStack Swift project name (v2,v3 auth only).
  -ruler-storage.swift.region-name string
    	OpenStack Swift Region to use (v2,v3 auth only).
  -ruler-storage.swift.user-domain-id string
    	OpenStack Swift user's domain ID.
  -ruler-storage.swift.user-domain-name string
    	OpenStack Swift user's domain name.
  -ruler-storage.swift.user-id string
    	OpenStack Swift user ID.
  -ruler-storage.swift.username string
    	OpenStack Swift username.
  -ruler.alerting-rules-evaluation-enabled
    	Controls whether alerting rules evaluation is enabled. This configuration option can be used to forcefully disable alerting rules evaluation on a per-tenant basis. (default true)
  -ruler.alertmanager-client.basic-auth-password string
    	HTTP Basic authentication password. It overrides the password set in the URL (if any).
  -ruler.alertmanager-client.basic-auth-username string
    	HTTP Basic authentication username. It overrides the username set in the URL (if any).
  -ruler.alertmanager-client.oauth.client_id string
    	OAuth2 client ID. Enables the use of OAuth2 for authenticating with Alertmanager.
  -ruler.alertmanager-client.oauth.client_secret string
    	OAuth2 client secret.
  -ruler.alertmanager-client.oauth.endpoint-params value
    	Optional additional URL parameters to send to the token URL. (default {})
  -ruler.alertmanager-client.oauth.scopes comma-separated-list-of-strings
    	Optional scopes to include with the token request.
  -ruler.alertmanager-client.oauth.token_url string
    	Endpoint used to fetch access token.
  -ruler.alertmanager-url string
    	Comma-separated list of URL(s) of the Alertmanager(s) to send notifications to. Each URL is treated as a separate group. Multiple Alertmanagers in HA per group can be supported by using DNS service discovery format, comprehensive of the scheme. Basic auth is supported as part of the URL.
  -ruler.enable-api
    	Enable the ruler config API. (default true)
  -ruler.evaluation-delay-duration duration
    	Duration to delay the evaluation of rules to ensure the underlying metrics have been pushed. (default 1m)
  -ruler.external.url string
    	URL of alerts return path.
  -ruler.max-rule-groups-per-tenant int
    	Maximum number of rule groups per-tenant. 0 to disable. (default 70)
  -ruler.max-rule-groups-per-tenant-by-namespace value
    	Maximum number of rule groups per tenant by namespace. Value is a map, where each key is the namespace and value is the number of rule groups allowed in the namespace (int). On the command line, this map is given in a JSON format. The number of rule groups specified has the same meaning as -ruler.max-rule-groups-per-tenant, but only applies for the specific namespace. If specified, it supersedes -ruler.max-rule-groups-per-tenant. (default {})
  -ruler.max-rules-per-rule-group int
    	Maximum number of rules per rule group per-tenant. 0 to disable. (default 20)
  -ruler.max-rules-per-rule-group-by-namespace value
    	Maximum number of rules per rule group by namespace. Value is a map, where each key is the namespace and value is the number of rules allowed in the namespace (int). On the command line, this map is given in a JSON format. The number of rules specified has the same meaning as -ruler.max-rules-per-rule-group, but only applies for the specific namespace. If specified, it supersedes -ruler.max-rules-per-rule-group. (default {})
  -ruler.query-frontend.address string
    	Can be either the GRPC listen address of the query-frontend(s) or the HTTP/HTTPS address of a Prometheus-compatible server. Must be a DNS address (prefixed with dns:///) to enable GRPC client side load balancing.
  -ruler.query-frontend.max-retries-rate float
    	Maximum number of retries for failed queries per second. (default 170)
  -ruler.query-frontend.query-result-response-format string
    	Format to use when retrieving query results from query-frontends. Supported values: json, protobuf (default "protobuf")
  -ruler.recording-rules-evaluation-enabled
    	Controls whether recording rules evaluation is enabled. This configuration option can be used to forcefully disable recording rules evaluation on a per-tenant basis. (default true)
  -ruler.ring.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -ruler.ring.etcd.endpoints string
    	The etcd endpoints to connect to.
  -ruler.ring.etcd.password string
    	Etcd password.
  -ruler.ring.etcd.username string
    	Etcd username.
  -ruler.ring.instance-interface-names string
    	List of network interface names to look up when finding the instance IP address. (default [<private network interfaces>])
  -ruler.ring.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -ruler.rule-path string
    	Directory to store temporary rule files loaded by the Prometheus rule managers. This directory is not required to be persisted between restarts. (default "./data-ruler/")
  -ruler.tenant-federation.enabled
    	Enable rule groups to query against multiple tenants. The tenant IDs involved need to be in the rule group's 'source_tenants' field. If this flag is set to 'false' when there are federated rule groups that already exist, then these rules groups will be skipped during evaluations.
  -ruler.tenant-shard-size int
    	The tenant's shard size when sharding is used by ruler. Value of 0 disables shuffle sharding for the tenant, and tenant rules will be sharded across all ruler replicas.
  -runtime-config.file comma-separated-list-of-strings
    	Comma separated list of yaml files or URLs with the configuration that can be updated at runtime. Runtime config files will be merged from left to right.
  -server.create-new-traces
    	Creates new traces for each call rather than continuing the existing trace. A span link is used to allow navigation to the parent trace. Only works when using Open-Telemetry tracing.
  -server.grpc-collect-max-streams-by-conn
    	If true, the max streams by connection gauge will be collected. (default true)
  -server.grpc-listen-address string
    	gRPC server listen address.
  -server.grpc-listen-port int
    	gRPC server listen port. (default 9095)
  -server.grpc.read-buffer-size-bytes int
    	Size of the read buffer for each gRPC connection (bytes). A smaller buffer may reduce memory usage but may lead to more system calls. (default 32768)
  -server.grpc.write-buffer-size-bytes int
    	Size of the write buffer for each gRPC connection (bytes). A smaller buffer may reduce memory usage but may lead to more system calls. (default 32768)
  -server.http-listen-address string
    	HTTP server listen address.
  -server.http-listen-port int
    	HTTP server listen port. (default 8080)
  -server.http-log-closed-connections-without-response-enabled
    	Log closed connections that did not receive any response, most likely because client didn't send any request within timeout.
  -server.http-read-header-timeout duration
    	Read timeout for HTTP request headers. If set to 0, value of -server.http-read-timeout is used.
  -server.log-request-headers
    	Optionally log request headers.
  -server.log-request-headers-exclude-list string
    	Comma separated list of headers to exclude from loggin. Only used if server.log-request-headers is true.
  -server.log-source-ips-full
    	Log all source IPs instead of only the originating one. Only used if server.log-source-ips-enabled is true
  -server.report-grpc-codes-in-instrumentation-label-enabled
    	If set to true, gRPC statuses will be reported in instrumentation labels with their string representations. Otherwise, they will be reported as "error". (default true)
  -server.throughput.latency-cutoff duration
    	Requests taking over the cutoff are be observed to measure throughput. Server-Timing header is used with specified unit as the indicator, for example 'Server-Timing: unit;val=8.2'. If set to 0, the throughput is not calculated.
  -server.throughput.unit string
    	Unit of the server throughput metric, for example 'processed_bytes' or 'samples_processed'. Observed values are gathered from the 'Server-Timing' header with the 'val' key. If set, it is appended to the request_server_throughput metric name. (default "samples_processed")
  -server.tls-cipher-suites string
    	Comma-separated list of cipher suites to use. If blank, the default Go cipher suites is used.
  -server.tls-min-version string
    	Minimum TLS version to use. Allowed values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. If blank, the Go TLS minimum version is used.
  -server.trace-request-headers
    	Optionally add request headers to tracing spans.
  -server.trace-request-headers-exclude-list string
    	Comma separated list of headers to exclude from tracing spans. Only used if server.trace-request-headers is true. The following headers are always excluded: Authorization, Cookie, X-Access-Token, X-Csrf-Token, X-Grafana-Id.
  -store-gateway.sharding-ring.consul.hostname string
    	Hostname and port of Consul. (default "localhost:8500")
  -store-gateway.sharding-ring.etcd.endpoints string
    	The etcd endpoints to connect to.
  -store-gateway.sharding-ring.etcd.password string
    	Etcd password.
  -store-gateway.sharding-ring.etcd.username string
    	Etcd username.
  -store-gateway.sharding-ring.instance-availability-zone string
    	The availability zone where this instance is running. Required if zone-awareness is enabled.
  -store-gateway.sharding-ring.instance-interface-names string
    	List of network interface names to look up when finding the instance IP address. (default [<private network interfaces>])
  -store-gateway.sharding-ring.store string
    	Backend storage to use for the ring. Supported values are: consul, etcd, inmemory, memberlist, multi. (default "memberlist")
  -store-gateway.sharding-ring.tokens-file-path string
    	File path where tokens are stored. If empty, tokens are not stored at shutdown and restored at startup.
  -store-gateway.sharding-ring.unregister-on-shutdown
    	Unregister from the ring upon clean shutdown. (default true)
  -store-gateway.sharding-ring.zone-awareness-enabled
    	True to enable zone-awareness and replicate blocks across different availability zones. This option needs be set both on the store-gateway, querier and ruler when running in microservices mode.
  -store-gateway.tenant-shard-size int
    	The tenant's shard size, used when store-gateway sharding is enabled. Value of 0 disables shuffle sharding for the tenant, that is all tenant blocks are sharded across all store-gateway replicas.
  -store.max-labels-query-length duration
    	Limit the time range (end - start time) of series, label names and values queries. This limit is enforced in the querier. If the requested time range is outside the allowed range, the request will not fail but will be manipulated to only query data within the allowed time range. 0 to disable.
  -target comma-separated-list-of-strings
    	Comma-separated list of components to include in the instantiated process. The default value 'all' includes all components that are required to form a functional Grafana Mimir instance in single-binary mode. Use the '-modules' command line flag to get a list of available components, and to see which components are included with 'all'. (default all)
  -tenant-federation.enabled
    	If enabled on all services, queries can be federated across multiple tenants. The tenant IDs involved need to be specified separated by a '|' character in the 'X-Scope-OrgID' header.
  -tenant-federation.max-tenants int
    	The max number of tenant IDs that may be supplied for a federated query if enabled. 0 to disable the limit.
  -tests.basic-auth-password string
    	The password to use for HTTP bearer authentication. (mutually exclusive with bearer-token flag)
  -tests.basic-auth-user string
    	The username to use for HTTP bearer authentication. (mutually exclusive with bearer-token flag)
  -tests.bearer-token string
    	The bearer token to use for HTTP bearer authentication. (mutually exclusive with basic-auth flags)
  -tests.client.cluster-validation.label string
    	Optionally define the cluster validation label.
  -tests.client.user-agent string
    	The value the Mimir client should send in the User-Agent header. (default "mimir-continuous-test")
  -tests.ingest-storage-record.consumer-group string
    	The Kafka consumer group used for getting/setting commmitted offsets. (default "ingest-storage-record")
  -tests.ingest-storage-record.enabled
    	Whether the test for ingest-storage record correctness is enabled.
  -tests.ingest-storage-record.max-jump-size int
    	If a partition increases by this many offsets in a run, we skip processing it, to protect against downloading unexpectedly huge batches. (default 500000000)
  -tests.ingest-storage-record.max-records-per-run int
    	Limit on the number of total records to be processed in a run, to keep memory bounded in large cells. This limit is approximate, we might go over by a partial fetch. (default 200000)
  -tests.ingest-storage-record.records-processed-percent int
    	The approximate percent of records to actually fetch and compare. (default 5)
  -tests.read-endpoint string
    	The base endpoint on the read path. The URL should have no trailing slash. The specific API path is appended by the tool to the URL, for example /api/v1/query_range for range query API, so the configured URL must not include it.
  -tests.read-timeout duration
    	The timeout for a single read request. (default 1m0s)
  -tests.run-interval duration
    	How frequently tests should run. (default 5m0s)
  -tests.send-chunks-debugging-header
    	Request debugging on the server side via header.
  -tests.smoke-test
    	Run a smoke test, i.e. run all tests once and exit.
  -tests.tenant-id string
    	The tenant ID to use to write and read metrics in tests. (default "anonymous")
  -tests.write-batch-size int
    	The maximum number of series to write in a single request. (default 1000)
  -tests.write-endpoint string
    	The base endpoint on the write path. The URL should have no trailing slash. The specific API path is appended by the tool to the URL, for example /api/v1/push for the remote write API endpoint, so the configured URL must not include it.
  -tests.write-protocol string
    	The protocol to use to write series data. Supported values are: prometheus, prometheus2, otlp-http (default "prometheus")
  -tests.write-read-ooo-test.enabled
    	Enables a test that writes samples out-of-order and verifies query results.
  -tests.write-read-ooo-test.max-ooo-lag duration
    	The maximum time in which the writing of a sample might be delayed. Must be smaller than the tenant's out-of-order time window or delayed writes are rejected. (default 1h0m0s)
  -tests.write-read-ooo-test.max-query-age duration
    	How back in the past metrics can be queried at most. (default 168h0m0s)
  -tests.write-read-ooo-test.num-series int
    	Number of series used for the test. (default 5000)
  -tests.write-read-series-test.float-samples-enabled
    	Set to true to use float samples (default true)
  -tests.write-read-series-test.histogram-samples-enabled
    	Set to true to use native histogram samples
  -tests.write-read-series-test.max-query-age duration
    	How back in the past metrics can be queried at most. (default 168h0m0s)
  -tests.write-read-series-test.num-series int
    	Number of series used for the test. (default 10000)
  -tests.write-timeout duration
    	The timeout for a single write request. (default 5s)
  -usage-stats.enabled
    	Enable anonymous usage reporting. (default true)
  -usage-stats.installation-mode string
    	Installation mode. Supported values: custom, helm, jsonnet. (default "custom")
  -validation.max-label-names-per-info-series int
    	Maximum number of label names per info series. Has no effect if less than the value of the maximum number of label names per series option (-validation.max-label-names-per-series) (default 80)
  -validation.max-label-names-per-series int
    	Maximum number of label names per series. (default 30)
  -validation.max-length-label-name int
    	Maximum length accepted for label names (default 1024)
  -validation.max-length-label-value int
    	Maximum length accepted for label value. This setting also applies to the metric name (default 2048)
  -validation.max-metadata-length int
    	Maximum length accepted for metric metadata. Metadata refers to Metric Name, HELP and UNIT. Longer metadata is dropped except for HELP which is truncated. (default 1024)
  -validation.max-native-histogram-buckets int
    	Maximum number of buckets per native histogram sample. 0 to disable the limit.
  -validation.reduce-native-histogram-over-max-buckets
    	Whether to reduce or reject native histogram samples with more buckets than the configured limit. (default true)
  -version
    	Print application version and exit.

To see all flags, use -help-all
Options (495)
OptionDescriptionSource
-activity-tracker.filepath stringFile where ongoing activities are stored.help
-alertmanager-storage.azure.account-key stringAzure storage account key.help
-alertmanager-storage.azure.account-name stringAzure storage account namehelp
-alertmanager-storage.azure.connection-string stringIf `connection-string` is set, the value of `endpoint-suffix` will not be used.help
-alertmanager-storage.azure.container-name stringAzure storage container namehelp
-alertmanager-storage.azure.endpoint-suffix stringAzure storage endpoint suffix without schema.help
-alertmanager-storage.backend stringBackend storage to use.help
-alertmanager-storage.filesystem.dir stringLocal filesystem storage directory.help
-alertmanager-storage.gcs.bucket-name stringGCS bucket namehelp
-alertmanager-storage.gcs.service-account stringJSON either from a Google Developers Console client_credentials.json file, or a Google Developers service account key.help
-alertmanager-storage.local.path stringPath at which alertmanager configurations are stored.help
-alertmanager-storage.s3.access-key-id stringS3 access key IDhelp
-alertmanager-storage.s3.bucket-name stringS3 bucket namehelp
-alertmanager-storage.s3.endpoint stringThe S3 bucket endpoint.help
-alertmanager-storage.s3.region stringS3 region.help
-alertmanager-storage.s3.secret-access-key stringS3 secret access keyhelp
-alertmanager-storage.s3.session-token stringS3 session tokenhelp
-alertmanager-storage.s3.sse.kms-encryption-context stringKMS Encryption Context used for object encryption.help
-alertmanager-storage.s3.sse.kms-key-id stringKMS Key ID used to encrypt objects in S3help
-alertmanager-storage.s3.sse.type stringEnable AWS Server Side Encryption.help
-alertmanager-storage.s3.sts-endpoint stringAccessing S3 resources using temporary, secure credentials provided by AWS Security Token Service.help
-alertmanager-storage.storage-prefix stringPrefix for all objects stored in the backend storage.help
-alertmanager-storage.swift.application-credential-id stringOpenStack Swift application credential idhelp
-alertmanager-storage.swift.application-credential-name stringOpenStack Swift application credential namehelp
-alertmanager-storage.swift.application-credential-secret stringOpenStack Swift application credential secrethelp
-alertmanager-storage.swift.auth-url stringOpenStack Swift authentication URLhelp
-alertmanager-storage.swift.auth-version intOpenStack Swift authentication API version.help
-alertmanager-storage.swift.container-name stringName of the OpenStack Swift container to put chunks in.help
-alertmanager-storage.swift.domain-id stringOpenStack Swift user's domain ID.help
-alertmanager-storage.swift.domain-name stringOpenStack Swift user's domain name.help
-alertmanager-storage.swift.password stringOpenStack Swift API key.help
-alertmanager-storage.swift.project-domain-id stringID of the OpenStack Swift project's domain (v3 auth only), only needed if it differs the from user domain.help
-alertmanager-storage.swift.project-domain-name stringName of the OpenStack Swift project's domain (v3 auth only), only needed if it differs from the user domain.help
-alertmanager-storage.swift.project-id stringOpenStack Swift project ID (v2,v3 auth only).help
-alertmanager-storage.swift.project-name stringOpenStack Swift project name (v2,v3 auth only).help
-alertmanager-storage.swift.region-name stringOpenStack Swift Region to use (v2,v3 auth only).help
-alertmanager-storage.swift.user-domain-id stringOpenStack Swift user's domain ID.help
-alertmanager-storage.swift.user-domain-name stringOpenStack Swift user's domain name.help
-alertmanager-storage.swift.user-id stringOpenStack Swift user ID.help
-alertmanager-storage.swift.username stringOpenStack Swift username.help
-alertmanager.configs.fallback stringFilename of fallback config to use if none specified for instance.help
-alertmanager.max-alerts-count intMaximum number of alerts that a single tenant can have.help
-alertmanager.max-alerts-size-bytes intMaximum total size of alerts that a single tenant can have, alert size is the sum of the bytes of its labels, annotations and generatorURL.help
-alertmanager.max-config-size-bytes intMaximum size of the Alertmanager configuration for a tenant.help
-alertmanager.max-dispatcher-aggregation-groups intMaximum number of aggregation groups in Alertmanager's dispatcher that a tenant can have.help
-alertmanager.max-silence-size-bytes intMaximum silence size in bytes.help
-alertmanager.max-silences-count intMaximum number of silences, including expired silences, that a tenant can have at once.help
-alertmanager.max-template-size-bytes intMaximum size of single template in tenant's Alertmanager configuration uploaded via Alertmanager API.help
-alertmanager.max-templates-count intMaximum number of templates in tenant's Alertmanager configuration uploaded via Alertmanager API.help
-alertmanager.notification-rate-limit floatPer-tenant rate limit for sending notifications from Alertmanager in notifications/sec.help
-alertmanager.notification-rate-limit-per-integration valuePer-integration notification rate limits.help
-alertmanager.receivers-firewall-block-cidr-networks comma-separated-list-of-stringsComma-separated list of network CIDRs to block in Alertmanager receiver integrations.help
-alertmanager.receivers-firewall-block-private-addressesTrue to block private and local addresses in Alertmanager receiver integrations.help
-alertmanager.sharding-ring.consul.hostname stringHostname and port of Consul.help
-alertmanager.sharding-ring.etcd.endpoints stringThe etcd endpoints to connect to.help
-alertmanager.sharding-ring.etcd.password stringEtcd password.help
-alertmanager.sharding-ring.etcd.username stringEtcd username.help
-alertmanager.sharding-ring.instance-interface-names stringList of network interface names to look up when finding the instance IP address.help
-alertmanager.sharding-ring.store stringBackend storage to use for the ring.help
-alertmanager.storage.path stringDirectory to store Alertmanager state and temporarily configuration files.help
-alertmanager.web.external-url stringThe URL under which Alertmanager is externally reachable (eg.help
-auth.multitenancy-enabledWhen set to true, incoming HTTP requests must specify tenant ID in HTTP X-Scope-OrgId header.help
-blocks-storage.azure.account-key stringAzure storage account key.help
-blocks-storage.azure.account-name stringAzure storage account namehelp
-blocks-storage.azure.connection-string stringIf `connection-string` is set, the value of `endpoint-suffix` will not be used.help
-blocks-storage.azure.container-name stringAzure storage container namehelp
-blocks-storage.azure.endpoint-suffix stringAzure storage endpoint suffix without schema.help
-blocks-storage.backend stringBackend storage to use.help
-blocks-storage.bucket-store.chunks-cache.backend stringBackend for chunks cache, if not empty.help
-blocks-storage.bucket-store.chunks-cache.memcached.addresses comma-separated-list-of-stringsComma-separated list of memcached addresses.help
-blocks-storage.bucket-store.chunks-cache.memcached.connect-timeout durationThe connection timeout.help
-blocks-storage.bucket-store.chunks-cache.memcached.timeout durationThe socket read/write timeout.help
-blocks-storage.bucket-store.index-cache.backend stringThe index cache backend type.help
-blocks-storage.bucket-store.index-cache.inmemory.max-size-bytes uintMaximum size in bytes of in-memory index cache used to speed up blocks index lookups (shared between all tenants).help
-blocks-storage.bucket-store.index-cache.memcached.addresses comma-separated-list-of-stringsComma-separated list of memcached addresses.help
-blocks-storage.bucket-store.index-cache.memcached.connect-timeout durationThe connection timeout.help
-blocks-storage.bucket-store.index-cache.memcached.timeout durationThe socket read/write timeout.help
-blocks-storage.bucket-store.metadata-cache.backend stringBackend for metadata cache, if not empty.help
-blocks-storage.bucket-store.metadata-cache.memcached.addresses comma-separated-list-of-stringsComma-separated list of memcached addresses.help
-blocks-storage.bucket-store.metadata-cache.memcached.connect-timeout durationThe connection timeout.help
-blocks-storage.bucket-store.metadata-cache.memcached.timeout durationThe socket read/write timeout.help
-blocks-storage.bucket-store.sync-dir stringDirectory to store synchronized TSDB index headers.help
-blocks-storage.filesystem.dir stringLocal filesystem storage directory.help
-blocks-storage.gcs.bucket-name stringGCS bucket namehelp
-blocks-storage.gcs.service-account stringJSON either from a Google Developers Console client_credentials.json file, or a Google Developers service account key.help
-blocks-storage.s3.access-key-id stringS3 access key IDhelp
-blocks-storage.s3.bucket-name stringS3 bucket namehelp
-blocks-storage.s3.endpoint stringThe S3 bucket endpoint.help
-blocks-storage.s3.region stringS3 region.help
-blocks-storage.s3.secret-access-key stringS3 secret access keyhelp
-blocks-storage.s3.session-token stringS3 session tokenhelp
-blocks-storage.s3.sse.kms-encryption-context stringKMS Encryption Context used for object encryption.help
-blocks-storage.s3.sse.kms-key-id stringKMS Key ID used to encrypt objects in S3help
-blocks-storage.s3.sse.type stringEnable AWS Server Side Encryption.help
-blocks-storage.s3.sts-endpoint stringAccessing S3 resources using temporary, secure credentials provided by AWS Security Token Service.help
-blocks-storage.storage-prefix stringPrefix for all objects stored in the backend storage.help
-blocks-storage.swift.application-credential-id stringOpenStack Swift application credential idhelp
-blocks-storage.swift.application-credential-name stringOpenStack Swift application credential namehelp
-blocks-storage.swift.application-credential-secret stringOpenStack Swift application credential secrethelp
-blocks-storage.swift.auth-url stringOpenStack Swift authentication URLhelp
-blocks-storage.swift.auth-version intOpenStack Swift authentication API version.help
-blocks-storage.swift.container-name stringName of the OpenStack Swift container to put chunks in.help
-blocks-storage.swift.domain-id stringOpenStack Swift user's domain ID.help
-blocks-storage.swift.domain-name stringOpenStack Swift user's domain name.help
-blocks-storage.swift.password stringOpenStack Swift API key.help
-blocks-storage.swift.project-domain-id stringID of the OpenStack Swift project's domain (v3 auth only), only needed if it differs the from user domain.help
-blocks-storage.swift.project-domain-name stringName of the OpenStack Swift project's domain (v3 auth only), only needed if it differs from the user domain.help
-blocks-storage.swift.project-id stringOpenStack Swift project ID (v2,v3 auth only).help
-blocks-storage.swift.project-name stringOpenStack Swift project name (v2,v3 auth only).help
-blocks-storage.swift.region-name stringOpenStack Swift Region to use (v2,v3 auth only).help
-blocks-storage.swift.user-domain-id stringOpenStack Swift user's domain ID.help
-blocks-storage.swift.user-domain-name stringOpenStack Swift user's domain name.help
-blocks-storage.swift.user-id stringOpenStack Swift user ID.help
-blocks-storage.swift.username stringOpenStack Swift username.help
-blocks-storage.tsdb.dir stringDirectory to store TSDBs (including WAL) in the ingesters.help
-blocks-storage.tsdb.retention-period durationTSDB blocks retention in the ingester before a block is removed.help
-common.storage.azure.account-key stringAzure storage account key.help
-common.storage.azure.account-name stringAzure storage account namehelp
-common.storage.azure.connection-string stringIf `connection-string` is set, the value of `endpoint-suffix` will not be used.help
-common.storage.azure.container-name stringAzure storage container namehelp
-common.storage.azure.endpoint-suffix stringAzure storage endpoint suffix without schema.help
-common.storage.backend stringBackend storage to use.help
-common.storage.filesystem.dir stringLocal filesystem storage directory.help
-common.storage.gcs.bucket-name stringGCS bucket namehelp
-common.storage.gcs.service-account stringJSON either from a Google Developers Console client_credentials.json file, or a Google Developers service account key.help
-common.storage.s3.access-key-id stringS3 access key IDhelp
-common.storage.s3.bucket-name stringS3 bucket namehelp
-common.storage.s3.endpoint stringThe S3 bucket endpoint.help
-common.storage.s3.region stringS3 region.help
-common.storage.s3.secret-access-key stringS3 secret access keyhelp
-common.storage.s3.session-token stringS3 session tokenhelp
-common.storage.s3.sse.kms-encryption-context stringKMS Encryption Context used for object encryption.help
-common.storage.s3.sse.kms-key-id stringKMS Key ID used to encrypt objects in S3help
-common.storage.s3.sse.type stringEnable AWS Server Side Encryption.help
-common.storage.s3.sts-endpoint stringAccessing S3 resources using temporary, secure credentials provided by AWS Security Token Service.help
-common.storage.swift.application-credential-id stringOpenStack Swift application credential idhelp
-common.storage.swift.application-credential-name stringOpenStack Swift application credential namehelp
-common.storage.swift.application-credential-secret stringOpenStack Swift application credential secrethelp
-common.storage.swift.auth-url stringOpenStack Swift authentication URLhelp
-common.storage.swift.auth-version intOpenStack Swift authentication API version.help
-common.storage.swift.container-name stringName of the OpenStack Swift container to put chunks in.help
-common.storage.swift.domain-id stringOpenStack Swift user's domain ID.help
-common.storage.swift.domain-name stringOpenStack Swift user's domain name.help
-common.storage.swift.password stringOpenStack Swift API key.help
-common.storage.swift.project-domain-id stringID of the OpenStack Swift project's domain (v3 auth only), only needed if it differs the from user domain.help
-common.storage.swift.project-domain-name stringName of the OpenStack Swift project's domain (v3 auth only), only needed if it differs from the user domain.help
-common.storage.swift.project-id stringOpenStack Swift project ID (v2,v3 auth only).help
-common.storage.swift.project-name stringOpenStack Swift project name (v2,v3 auth only).help
-common.storage.swift.region-name stringOpenStack Swift Region to use (v2,v3 auth only).help
-common.storage.swift.user-domain-id stringOpenStack Swift user's domain ID.help
-common.storage.swift.user-domain-name stringOpenStack Swift user's domain name.help
-common.storage.swift.user-id stringOpenStack Swift user ID.help
-common.storage.swift.username stringOpenStack Swift username.help
-compactor.block-upload-enabledEnable block upload API for the tenant.help
-compactor.block-upload-validation-enabledEnable block upload validation for the tenant.help
-compactor.block-upload-verify-chunksVerify chunks when uploading blocks via the upload API for the tenant.help
-compactor.blocks-retention-period durationDelete blocks containing samples older than the specified retention period.help
-compactor.compactor-tenant-shard-size intMax number of compactors that can compact blocks for single tenant.help
-compactor.data-dir stringDirectory to temporarily store blocks during compaction.help
-compactor.first-level-compaction-wait-period durationHow long the compactor waits before compacting first-level blocks that are uploaded by the ingesters or block-builders.help
-compactor.ooo-split-and-merge-shards intThe number of shards to use when splitting out-of-order blocks.help
-compactor.partial-block-deletion-delay durationIf a partial block (unfinished block without meta.json file) hasn't been modified for this time, it will be marked for deletion.help
-compactor.ring.consul.hostname stringHostname and port of Consul.help
-compactor.ring.etcd.endpoints stringThe etcd endpoints to connect to.help
-compactor.ring.etcd.password stringEtcd password.help
-compactor.ring.etcd.username stringEtcd username.help
-compactor.ring.instance-interface-names stringList of network interface names to look up when finding the instance IP address.help
-compactor.ring.store stringBackend storage to use for the ring.help
-compactor.split-and-merge-shards intThe number of shards to use when splitting blocks.help
-compactor.split-groups intNumber of groups that blocks for splitting should be grouped into.help
-config.expand-envExpands ${var} or $var in config according to the values of the environment variables.help
-config.file valueConfiguration file to load.help
-distributor.ha-tracker.cluster stringPrometheus label to look for in samples to identify a Prometheus HA cluster.help
-distributor.ha-tracker.consul.hostname stringHostname and port of Consul.help
-distributor.ha-tracker.enableEnable the distributors HA tracker so that it can accept samples from Prometheus HA replicas gracefully (requires labels).help
-distributor.ha-tracker.enable-elected-replica-metricEnable the elected_replica_status metric, which shows the current elected replica.help
-distributor.ha-tracker.enable-for-all-usersFlag to enable, for all tenants, handling of samples with external labels identifying replicas in an HA Prometheus setup.help
-distributor.ha-tracker.etcd.endpoints stringThe etcd endpoints to connect to.help
-distributor.ha-tracker.etcd.password stringEtcd password.help
-distributor.ha-tracker.etcd.username stringEtcd username.help
-distributor.ha-tracker.max-clusters intMaximum number of clusters that HA tracker will keep track of for a single tenant.help
-distributor.ha-tracker.replica stringPrometheus label to look for in samples to identify a Prometheus HA replica.help
-distributor.ha-tracker.store stringBackend storage to use for the ring.help
-distributor.ingestion-burst-size intPer-tenant allowed ingestion burst size (in number of samples).help
-distributor.ingestion-rate-limit floatPer-tenant ingestion rate limit in samples per second.help
-distributor.ingestion-tenant-shard-size intThe tenant's shard size used by shuffle-sharding.help
-distributor.request-burst-size intPer-tenant allowed push request burst size.help
-distributor.request-rate-limit floatPer-tenant push request rate limit in requests per second.help
-distributor.ring.consul.hostname stringHostname and port of Consul.help
-distributor.ring.etcd.endpoints stringThe etcd endpoints to connect to.help
-distributor.ring.etcd.password stringEtcd password.help
-distributor.ring.etcd.username stringEtcd username.help
-distributor.ring.instance-interface-names stringList of network interface names to look up when finding the instance IP address.help
-distributor.ring.store stringBackend storage to use for the ring.help
-hPrint basic help.help
-helpPrint basic help.help
-help-allPrint help, also including advanced and experimental parameters.help
-ingest-storage.enabledTrue to enable the ingestion via object storage.help
-ingest-storage.kafka.address comma-separated-list-of-stringsThe Kafka seed broker address, or a comma-separated list of seed broker addresses.help
-ingest-storage.kafka.auto-create-topic-default-partitions intWhen auto-creation of Kafka topic is enabled and this value is positive, Mimir creates the topic with this number of partitions.help
-ingest-storage.kafka.auto-create-topic-enabledEnable auto-creation of Kafka topic on startup if it doesn't exist.help
-ingest-storage.kafka.client-id stringThe Kafka client ID.help
-ingest-storage.kafka.client-rack stringThe rack identifier for this Kafka client.help
-ingest-storage.kafka.consume-from-position-at-startup stringFrom which position to start consuming the partition at startup.help
-ingest-storage.kafka.consume-from-timestamp-at-startup intMilliseconds timestamp after which the consumption of the partition starts at startup.help
-ingest-storage.kafka.consumer-group stringThe consumer group used by the consumer to track the last consumed offset.help
-ingest-storage.kafka.consumer-group-offset-commit-interval durationHow frequently a consumer should commit the consumed offset to Kafka.help
-ingest-storage.kafka.dial-timeout durationThe maximum time allowed to open a connection to a Kafka broker.help
-ingest-storage.kafka.fetch-concurrency-max intThe maximum number of concurrent fetch requests that the ingester makes when reading data from Kafka during startup.help
-ingest-storage.kafka.fetch-max-wait durationThe maximum amount of time a Kafka broker waits for some records before a Fetch response is returned.help
-ingest-storage.kafka.ingestion-concurrency-batch-size intThe number of timeseries to batch together before ingesting to the TSDB head.help
-ingest-storage.kafka.ingestion-concurrency-estimated-bytes-per-sample intThe estimated number of bytes a sample has at time of ingestion.help
-ingest-storage.kafka.ingestion-concurrency-max intThe maximum number of concurrent ingestion streams to the TSDB head.help
-ingest-storage.kafka.ingestion-concurrency-queue-capacity intThe number of batches to prepare and queue to ingest to the TSDB head.help
-ingest-storage.kafka.ingestion-concurrency-target-flushes-per-shard intThe expected number of times to ingest timeseries to the TSDB head after batching.help
-ingest-storage.kafka.last-produced-offset-poll-interval durationHow frequently to poll the last produced offset, used to enforce strong read consistency.help
-ingest-storage.kafka.last-produced-offset-retry-timeout durationHow long to retry a failed request to get the last produced offset.help
-ingest-storage.kafka.max-buffered-bytes intThe maximum number of buffered records ready to be processed.help
-ingest-storage.kafka.max-consumer-lag-at-startup durationThe guaranteed maximum lag before a consumer is considered to have caught up reading from a partition at startup, becomes ACTIVE in the hash ring and passes the readiness check.help
-ingest-storage.kafka.producer-max-buffered-bytes intThe maximum size of (uncompressed) buffered and unacknowledged produced records sent to Kafka.help
-ingest-storage.kafka.producer-max-record-size-bytes intThe maximum size of a Kafka record data that should be generated by the producer.help
-ingest-storage.kafka.producer-record-version intThe record version that this producer sends.help
-ingest-storage.kafka.sasl-mechanism stringThe SASL mechanism used to authenticate to Kafka.help
-ingest-storage.kafka.sasl-msk-iam-access-key stringThe AWS access key ID to authenticate to Kafka using SASL AWS_MSK_IAM.help
-ingest-storage.kafka.sasl-msk-iam-file-path stringPath to a file containing AWS credentials to authenticate to Kafka using SASL AWS_MSK_IAM.help
-ingest-storage.kafka.sasl-msk-iam-http-socket-path stringPath to a Unix domain socket to fetch AWS credentials from via HTTP.help
-ingest-storage.kafka.sasl-msk-iam-http-socket-timeout durationTimeout for requesting AWS credentials from the HTTP socket.help
-ingest-storage.kafka.sasl-msk-iam-secret-key stringThe AWS secret access key to authenticate to Kafka using SASL AWS_MSK_IAM.help
-ingest-storage.kafka.sasl-msk-iam-session-token stringOptional AWS session token to authenticate to Kafka using SASL AWS_MSK_IAM.help
-ingest-storage.kafka.sasl-msk-iam-user-agent stringOptional user agent to use when authenticating to Kafka using SASL AWS_MSK_IAM.help
-ingest-storage.kafka.sasl-oauthbearer-extensions valueOptional additional OAuth extensions to include when authenticating to Kafka using SASL OAUTHBEARER as a JSON object.help
-ingest-storage.kafka.sasl-oauthbearer-file-path stringPath to a file containing an OAuth token to authenticate to Kafka.help
-ingest-storage.kafka.sasl-oauthbearer-http-socket-path stringPath to a Unix domain socket to fetch an OAuth token from via HTTP.help
-ingest-storage.kafka.sasl-oauthbearer-http-socket-timeout durationTimeout for requesting the token from the HTTP socket.help
-ingest-storage.kafka.sasl-oauthbearer-token stringThe OAuth token to use to authenticate to Kafka.help
-ingest-storage.kafka.sasl-oauthbearer-zid stringOptional authorization ID to use when authenticating to Kafka using SASL OAUTHBEARER.help
-ingest-storage.kafka.sasl-password stringThe password used to authenticate to Kafka using SASL.help
-ingest-storage.kafka.sasl-username stringThe username used to authenticate to Kafka using SASL.help
-ingest-storage.kafka.target-consumer-lag-at-startup durationThe best-effort maximum lag a consumer tries to achieve at startup.help
-ingest-storage.kafka.tls-enabledEnable TLS for the Kafka client connection.help
-ingest-storage.kafka.topic stringThe Kafka topic name.help
-ingest-storage.kafka.use-compressed-bytes-as-fetch-max-bytesWhen enabled, the fetch request MaxBytes field is computed using the compressed size of previous records.help
-ingest-storage.kafka.wait-strong-read-consistency-timeout durationThe maximum allowed for a read requests processed by an ingester to wait until strong read consistency is enforced.help
-ingest-storage.kafka.write-timeout durationHow long to wait for an incoming write request to be successfully committed to the Kafka backend.help
-ingest-storage.migration.distributor-send-to-ingesters-enabledWhen both this option and ingest storage are enabled, distributors write to both Kafka and ingesters.help
-ingest-storage.migration.ignore-ingest-storage-errorsWhen enabled, errors writing to ingest storage are logged but do not affect write success or quorum.help
-ingest-storage.migration.ingest-storage-max-wait-time durationThe maximum time a write request that goes through the ingest storage waits before it times out.help
-ingester.max-global-metadata-per-metric intThe maximum number of metadata per metric, across the cluster.help
-ingester.max-global-metadata-per-user intThe maximum number of in-memory metrics with metadata per tenant, across the cluster.help
-ingester.max-global-series-per-metric intThe maximum number of in-memory series per metric name, across the cluster before replication.help
-ingester.max-global-series-per-user intThe maximum number of in-memory series per tenant, across the cluster before replication.help
-ingester.out-of-order-time-window durationNon-zero value enables out-of-order support for most recent samples that are within the time window in relation to the TSDB's maximum time, i.e., within [db.maxTime-timeWindow, db.maxTime]).help
-ingester.partition-ring.consul.hostname stringHostname and port of Consul.help
-ingester.partition-ring.delete-inactive-partition-after durationHow long to wait before an INACTIVE partition is eligible for deletion.help
-ingester.partition-ring.etcd.endpoints stringThe etcd endpoints to connect to.help
-ingester.partition-ring.etcd.password stringEtcd password.help
-ingester.partition-ring.etcd.username stringEtcd username.help
-ingester.partition-ring.min-partition-owners-count intMinimum number of owners to wait before a PENDING partition gets switched to ACTIVE.help
-ingester.partition-ring.min-partition-owners-duration durationHow long the minimum number of owners are enforced before a PENDING partition gets switched to ACTIVE.help
-ingester.partition-ring.store stringBackend storage to use for the ring.help
-ingester.ring.consul.hostname stringHostname and port of Consul.help
-ingester.ring.etcd.endpoints stringThe etcd endpoints to connect to.help
-ingester.ring.etcd.password stringEtcd password.help
-ingester.ring.etcd.username stringEtcd username.help
-ingester.ring.replication-factor intNumber of ingesters that each time series is replicated to.help
-ingester.ring.store stringBackend storage to use for the ring.help
-ingester.ring.tokens-file-path stringFile path where tokens are stored.help
-ingester.ring.zone-awareness-enabledTrue to enable the zone-awareness and replicate ingested samples across different availability zones.help
-log.format stringOutput log messages in the given format.help
-log.level valueOnly log messages with the given severity or above.help
-log.rate-limit-enabledUse rate limited logger to reduce the number of logged messages per second.help
-log.rate-limit-logs-burst-size intBurst size, i.e., maximum number of messages that can be logged at once, temporarily exceeding the configured maximum logs per second.help
-log.rate-limit-logs-per-second floatMaximum number of messages per second to be logged.help
-memberlist.abort-if-join-failsAbort if this node fails to join memberlist cluster at startup.help
-memberlist.advertise-addr stringGossip address to advertise to other members in the cluster.help
-memberlist.advertise-port intGossip port to advertise to other members in the cluster.help
-memberlist.bind-addr stringIP address to listen on for gossip messages.help
-memberlist.bind-port intPort to listen on for gossip messages.help
-memberlist.join valueOther cluster members to join.help
-modulesList available values that can be used as target.help
-overrides-exporter.enabled-metrics comma-separated-list-of-stringsComma-separated list of metrics to include in the exporter.help
-overrides-exporter.ring.consul.hostname stringHostname and port of Consul.help
-overrides-exporter.ring.enabledEnable the ring used by override-exporters to deduplicate exported limit metrics.help
-overrides-exporter.ring.etcd.endpoints stringThe etcd endpoints to connect to.help
-overrides-exporter.ring.etcd.password stringEtcd password.help
-overrides-exporter.ring.etcd.username stringEtcd username.help
-overrides-exporter.ring.instance-interface-names stringList of network interface names to look up when finding the instance IP address.help
-overrides-exporter.ring.store stringBackend storage to use for the ring.help
-print.configPrint the config and exit.help
-querier.cardinality-analysis-enabledEnables endpoints used for cardinality analysis.help
-querier.label-names-and-values-results-max-size-bytes intMaximum size in bytes of distinct label names and values.help
-querier.label-values-max-cardinality-label-names-per-request intMaximum number of label names allowed to be queried in a single /api/v1/cardinality/label_values API call.help
-querier.max-concurrent intThe number of workers running in each querier process.help
-querier.max-fetched-chunk-bytes-per-query intThe maximum size of all chunks in bytes that a query can fetch from ingesters and store-gateways.help
-querier.max-fetched-chunks-per-query intMaximum number of chunks that can be fetched in a single query from ingesters and store-gateways.help
-querier.max-fetched-series-per-query intThe maximum number of unique series for which a query can fetch samples from ingesters and store-gateways.help
-querier.max-label-names-limit intMaximum number of names the label names endpoint returns.help
-querier.max-label-values-limit intMaximum number of values the label values endpoint returns.help
-querier.max-partial-query-length durationLimit the time range for partial queries at the querier level.help
-querier.max-query-lookback durationLimit how long back data (series and metadata) can be queried, up until <lookback> duration ago.help
-querier.max-query-parallelism intMaximum number of split (by time) or partial (by shard) queries that will be scheduled in parallel by the query-frontend for a single input query.help
-querier.max-samples intMaximum number of samples a single query can load into memory.help
-querier.max-series-query-limit intMaximum number of series, the series endpoint queries.help
-querier.mimir-query-engine.range-vector-splitting.backend stringBackend for intermediate results cache, if not empty.help
-querier.mimir-query-engine.range-vector-splitting.compression stringEnable cache compression, if not empty.help
-querier.mimir-query-engine.range-vector-splitting.memcached.addresses comma-separated-list-of-stringsComma-separated list of memcached addresses.help
-querier.mimir-query-engine.range-vector-splitting.memcached.connect-timeout durationThe connection timeout.help
-querier.mimir-query-engine.range-vector-splitting.memcached.timeout durationThe socket read/write timeout.help
-querier.ring.consul.hostname stringHostname and port of Consul.help
-querier.ring.etcd.endpoints stringThe etcd endpoints to connect to.help
-querier.ring.etcd.password stringEtcd password.help
-querier.ring.etcd.username stringEtcd username.help
-querier.ring.instance-interface-names stringList of network interface names to look up when finding the instance IP address.help
-querier.ring.store stringBackend storage to use for the ring.help
-querier.scheduler-address stringAddress of the query-scheduler component, in host:port format.help
-querier.timeout durationThe timeout for a query.help
-query-frontend.align-queries-with-stepMutate incoming queries to align their start and end with their step to improve result caching.help
-query-frontend.cache-errorsCache non-transient errors from queries.help
-query-frontend.cache-resultsCache query results.help
-query-frontend.enabled-promql-experimental-functions comma-separated-list-of-stringsEnable certain experimental PromQL functions, which are subject to being changed or removed at any time, on a per-tenant basis.help
-query-frontend.enabled-promql-extended-range-selectors comma-separated-list-of-stringsEnable certain experimental PromQL extended range selector modifiers, which are subject to being changed or removed at any time, on a per-tenant basis.help
-query-frontend.log-queries-longer-than durationLog queries that are slower than the specified duration.help
-query-frontend.max-queriers-per-tenant intMaximum number of queriers that can handle requests for a single tenant.help
-query-frontend.max-query-expression-size-bytes intMax size of the raw query, in bytes.help
-query-frontend.max-total-query-length durationLimit the total query time range (end - start time).help
-query-frontend.parallelize-shardable-queriesTrue to enable query sharding.help
-query-frontend.query-result-response-format stringFormat to use when retrieving query results from queriers.help
-query-frontend.query-sharding-max-regexp-size-bytes intDisable query sharding for any query containing a regular expression matcher longer than the configured number of bytes.help
-query-frontend.query-sharding-max-sharded-queries intThe max number of sharded queries that can be run for a given received query.help
-query-frontend.query-sharding-total-shards intThe amount of shards to use when doing parallelisation via query sharding by tenant.help
-query-frontend.results-cache-ttl durationTime to live duration for cached query results.help
-query-frontend.results-cache-ttl-for-cardinality-query durationTime to live duration for cached cardinality query results.help
-query-frontend.results-cache-ttl-for-errors durationTime to live duration for cached non-transient errors (default 5m)help
-query-frontend.results-cache-ttl-for-labels-query durationTime to live duration for cached label names and label values query results.help
-query-frontend.results-cache-ttl-for-out-of-order-time-window durationTime to live duration for cached query results if query falls into out-of-order time window.help
-query-frontend.results-cache.backend stringBackend for query-frontend results cache, if not empty.help
-query-frontend.results-cache.compression stringEnable cache compression, if not empty.help
-query-frontend.results-cache.memcached.addresses comma-separated-list-of-stringsComma-separated list of memcached addresses.help
-query-frontend.results-cache.memcached.connect-timeout durationThe connection timeout.help
-query-frontend.results-cache.memcached.timeout durationThe socket read/write timeout.help
-query-frontend.scheduler-address stringAddress of the query-scheduler component, in host:port format.help
-query-scheduler.max-outstanding-requests-per-tenant intMaximum number of outstanding requests per tenant per query-scheduler.help
-query-scheduler.max-used-instances intThe maximum number of query-scheduler instances to use, regardless how many replicas are running.help
-query-scheduler.ring.consul.hostname stringHostname and port of Consul.help
-query-scheduler.ring.etcd.endpoints stringThe etcd endpoints to connect to.help
-query-scheduler.ring.etcd.password stringEtcd password.help
-query-scheduler.ring.etcd.username stringEtcd username.help
-query-scheduler.ring.instance-interface-names stringList of network interface names to look up when finding the instance IP address.help
-query-scheduler.ring.store stringBackend storage to use for the ring.help
-ruler-storage.azure.account-key stringAzure storage account key.help
-ruler-storage.azure.account-name stringAzure storage account namehelp
-ruler-storage.azure.connection-string stringIf `connection-string` is set, the value of `endpoint-suffix` will not be used.help
-ruler-storage.azure.container-name stringAzure storage container namehelp
-ruler-storage.azure.endpoint-suffix stringAzure storage endpoint suffix without schema.help
-ruler-storage.backend stringBackend storage to use.help
-ruler-storage.cache.backend stringBackend for ruler storage cache, if not empty.help
-ruler-storage.cache.memcached.addresses comma-separated-list-of-stringsComma-separated list of memcached addresses.help
-ruler-storage.cache.memcached.connect-timeout durationThe connection timeout.help
-ruler-storage.cache.memcached.timeout durationThe socket read/write timeout.help
-ruler-storage.filesystem.dir stringLocal filesystem storage directory.help
-ruler-storage.gcs.bucket-name stringGCS bucket namehelp
-ruler-storage.gcs.service-account stringJSON either from a Google Developers Console client_credentials.json file, or a Google Developers service account key.help
-ruler-storage.local.directory stringDirectory to scan for ruleshelp
-ruler-storage.s3.access-key-id stringS3 access key IDhelp
-ruler-storage.s3.bucket-name stringS3 bucket namehelp
-ruler-storage.s3.endpoint stringThe S3 bucket endpoint.help
-ruler-storage.s3.region stringS3 region.help
-ruler-storage.s3.secret-access-key stringS3 secret access keyhelp
-ruler-storage.s3.session-token stringS3 session tokenhelp
-ruler-storage.s3.sse.kms-encryption-context stringKMS Encryption Context used for object encryption.help
-ruler-storage.s3.sse.kms-key-id stringKMS Key ID used to encrypt objects in S3help
-ruler-storage.s3.sse.type stringEnable AWS Server Side Encryption.help
-ruler-storage.s3.sts-endpoint stringAccessing S3 resources using temporary, secure credentials provided by AWS Security Token Service.help
-ruler-storage.storage-prefix stringPrefix for all objects stored in the backend storage.help
-ruler-storage.swift.application-credential-id stringOpenStack Swift application credential idhelp
-ruler-storage.swift.application-credential-name stringOpenStack Swift application credential namehelp
-ruler-storage.swift.application-credential-secret stringOpenStack Swift application credential secrethelp
-ruler-storage.swift.auth-url stringOpenStack Swift authentication URLhelp
-ruler-storage.swift.auth-version intOpenStack Swift authentication API version.help
-ruler-storage.swift.container-name stringName of the OpenStack Swift container to put chunks in.help
-ruler-storage.swift.domain-id stringOpenStack Swift user's domain ID.help
-ruler-storage.swift.domain-name stringOpenStack Swift user's domain name.help
-ruler-storage.swift.password stringOpenStack Swift API key.help
-ruler-storage.swift.project-domain-id stringID of the OpenStack Swift project's domain (v3 auth only), only needed if it differs the from user domain.help
-ruler-storage.swift.project-domain-name stringName of the OpenStack Swift project's domain (v3 auth only), only needed if it differs from the user domain.help
-ruler-storage.swift.project-id stringOpenStack Swift project ID (v2,v3 auth only).help
-ruler-storage.swift.project-name stringOpenStack Swift project name (v2,v3 auth only).help
-ruler-storage.swift.region-name stringOpenStack Swift Region to use (v2,v3 auth only).help
-ruler-storage.swift.user-domain-id stringOpenStack Swift user's domain ID.help
-ruler-storage.swift.user-domain-name stringOpenStack Swift user's domain name.help
-ruler-storage.swift.user-id stringOpenStack Swift user ID.help
-ruler-storage.swift.username stringOpenStack Swift username.help
-ruler.alerting-rules-evaluation-enabledControls whether alerting rules evaluation is enabled.help
-ruler.alertmanager-client.basic-auth-password stringHTTP Basic authentication password.help
-ruler.alertmanager-client.basic-auth-username stringHTTP Basic authentication username.help
-ruler.alertmanager-client.oauth.client_id stringOAuth2 client ID.help
-ruler.alertmanager-client.oauth.client_secret stringOAuth2 client secret.help
-ruler.alertmanager-client.oauth.endpoint-params valueOptional additional URL parameters to send to the token URL.help
-ruler.alertmanager-client.oauth.scopes comma-separated-list-of-stringsOptional scopes to include with the token request.help
-ruler.alertmanager-client.oauth.token_url stringEndpoint used to fetch access token.help
-ruler.alertmanager-url stringComma-separated list of URL(s) of the Alertmanager(s) to send notifications to.help
-ruler.enable-apiEnable the ruler config API.help
-ruler.evaluation-delay-duration durationDuration to delay the evaluation of rules to ensure the underlying metrics have been pushed.help
-ruler.external.url stringURL of alerts return path.help
-ruler.max-rule-groups-per-tenant intMaximum number of rule groups per-tenant.help
-ruler.max-rule-groups-per-tenant-by-namespace valueMaximum number of rule groups per tenant by namespace.help
-ruler.max-rules-per-rule-group intMaximum number of rules per rule group per-tenant.help
-ruler.max-rules-per-rule-group-by-namespace valueMaximum number of rules per rule group by namespace.help
-ruler.query-frontend.address stringCan be either the GRPC listen address of the query-frontend(s) or the HTTP/HTTPS address of a Prometheus-compatible server.help
-ruler.query-frontend.max-retries-rate floatMaximum number of retries for failed queries per second.help
-ruler.query-frontend.query-result-response-format stringFormat to use when retrieving query results from query-frontends.help
-ruler.recording-rules-evaluation-enabledControls whether recording rules evaluation is enabled.help
-ruler.ring.consul.hostname stringHostname and port of Consul.help
-ruler.ring.etcd.endpoints stringThe etcd endpoints to connect to.help
-ruler.ring.etcd.password stringEtcd password.help
-ruler.ring.etcd.username stringEtcd username.help
-ruler.ring.instance-interface-names stringList of network interface names to look up when finding the instance IP address.help
-ruler.ring.store stringBackend storage to use for the ring.help
-ruler.rule-path stringDirectory to store temporary rule files loaded by the Prometheus rule managers.help
-ruler.tenant-federation.enabledEnable rule groups to query against multiple tenants.help
-ruler.tenant-shard-size intThe tenant's shard size when sharding is used by ruler.help
-runtime-config.file comma-separated-list-of-stringsComma separated list of yaml files or URLs with the configuration that can be updated at runtime.help
-server.create-new-tracesCreates new traces for each call rather than continuing the existing trace.help
-server.grpc-collect-max-streams-by-connIf true, the max streams by connection gauge will be collected.help
-server.grpc-listen-address stringgRPC server listen address.help
-server.grpc-listen-port intgRPC server listen port.help
-server.grpc.read-buffer-size-bytes intSize of the read buffer for each gRPC connection (bytes).help
-server.grpc.write-buffer-size-bytes intSize of the write buffer for each gRPC connection (bytes).help
-server.http-listen-address stringHTTP server listen address.help
-server.http-listen-port intHTTP server listen port.help
-server.http-log-closed-connections-without-response-enabledLog closed connections that did not receive any response, most likely because client didn't send any request within timeout.help
-server.http-read-header-timeout durationRead timeout for HTTP request headers.help
-server.log-request-headersOptionally log request headers.help
-server.log-request-headers-exclude-list stringComma separated list of headers to exclude from loggin.help
-server.log-source-ips-fullLog all source IPs instead of only the originating one.help
-server.report-grpc-codes-in-instrumentation-label-enabledIf set to true, gRPC statuses will be reported in instrumentation labels with their string representations.help
-server.throughput.latency-cutoff durationRequests taking over the cutoff are be observed to measure throughput.help
-server.throughput.unit stringUnit of the server throughput metric, for example 'processed_bytes' or 'samples_processed'.help
-server.tls-cipher-suites stringComma-separated list of cipher suites to use.help
-server.tls-min-version stringMinimum TLS version to use.help
-server.trace-request-headersOptionally add request headers to tracing spans.help
-server.trace-request-headers-exclude-list stringComma separated list of headers to exclude from tracing spans.help
-store-gateway.sharding-ring.consul.hostname stringHostname and port of Consul.help
-store-gateway.sharding-ring.etcd.endpoints stringThe etcd endpoints to connect to.help
-store-gateway.sharding-ring.etcd.password stringEtcd password.help
-store-gateway.sharding-ring.etcd.username stringEtcd username.help
-store-gateway.sharding-ring.instance-availability-zone stringThe availability zone where this instance is running.help
-store-gateway.sharding-ring.instance-interface-names stringList of network interface names to look up when finding the instance IP address.help
-store-gateway.sharding-ring.store stringBackend storage to use for the ring.help
-store-gateway.sharding-ring.tokens-file-path stringFile path where tokens are stored.help
-store-gateway.sharding-ring.unregister-on-shutdownUnregister from the ring upon clean shutdown.help
-store-gateway.sharding-ring.zone-awareness-enabledTrue to enable zone-awareness and replicate blocks across different availability zones.help
-store-gateway.tenant-shard-size intThe tenant's shard size, used when store-gateway sharding is enabled.help
-store.max-labels-query-length durationLimit the time range (end - start time) of series, label names and values queries.help
-target comma-separated-list-of-stringsComma-separated list of components to include in the instantiated process.help
-tenant-federation.enabledIf enabled on all services, queries can be federated across multiple tenants.help
-tenant-federation.max-tenants intThe max number of tenant IDs that may be supplied for a federated query if enabled.help
-tests.basic-auth-password stringThe password to use for HTTP bearer authentication.help
-tests.basic-auth-user stringThe username to use for HTTP bearer authentication.help
-tests.bearer-token stringThe bearer token to use for HTTP bearer authentication.help
-tests.client.cluster-validation.label stringOptionally define the cluster validation label.help
-tests.client.user-agent stringThe value the Mimir client should send in the User-Agent header.help
-tests.ingest-storage-record.consumer-group stringThe Kafka consumer group used for getting/setting commmitted offsets.help
-tests.ingest-storage-record.enabledWhether the test for ingest-storage record correctness is enabled.help
-tests.ingest-storage-record.max-jump-size intIf a partition increases by this many offsets in a run, we skip processing it, to protect against downloading unexpectedly huge batches.help
-tests.ingest-storage-record.max-records-per-run intLimit on the number of total records to be processed in a run, to keep memory bounded in large cells.help
-tests.ingest-storage-record.records-processed-percent intThe approximate percent of records to actually fetch and compare.help
-tests.read-endpoint stringThe base endpoint on the read path.help
-tests.read-timeout durationThe timeout for a single read request.help
-tests.run-interval durationHow frequently tests should run.help
-tests.send-chunks-debugging-headerRequest debugging on the server side via header.help
-tests.smoke-testRun a smoke test, i.e. run all tests once and exit.help
-tests.tenant-id stringThe tenant ID to use to write and read metrics in tests.help
-tests.write-batch-size intThe maximum number of series to write in a single request.help
-tests.write-endpoint stringThe base endpoint on the write path.help
-tests.write-protocol stringThe protocol to use to write series data.help
-tests.write-read-ooo-test.enabledEnables a test that writes samples out-of-order and verifies query results.help
-tests.write-read-ooo-test.max-ooo-lag durationThe maximum time in which the writing of a sample might be delayed.help
-tests.write-read-ooo-test.max-query-age durationHow back in the past metrics can be queried at most.help
-tests.write-read-ooo-test.num-series intNumber of series used for the test.help
-tests.write-read-series-test.float-samples-enabledSet to true to use float samples (default true)help
-tests.write-read-series-test.histogram-samples-enabledSet to true to use native histogram sampleshelp
-tests.write-read-series-test.max-query-age durationHow back in the past metrics can be queried at most.help
-tests.write-read-series-test.num-series intNumber of series used for the test.help
-tests.write-timeout durationThe timeout for a single write request.help
-usage-stats.enabledEnable anonymous usage reporting.help
-usage-stats.installation-mode stringInstallation mode.help
-validation.max-label-names-per-info-series intMaximum number of label names per info series.help
-validation.max-label-names-per-series intMaximum number of label names per series.help
-validation.max-length-label-name intMaximum length accepted for label names (default 1024)help
-validation.max-length-label-value intMaximum length accepted for label value.help
-validation.max-metadata-length intMaximum length accepted for metric metadata.help
-validation.max-native-histogram-buckets intMaximum number of buckets per native histogram sample.help
-validation.reduce-native-histogram-over-max-bucketsWhether to reduce or reject native histogram samples with more buckets than the configured limit.help
-versionPrint application version and exit.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.