@@ -2940,6 +2940,7 @@ The `consul_config` configures the consul client. The supported CLI flags `<pref
29402940- ` distributor.ha-tracker`
29412941- ` distributor.ring`
29422942- ` parquet-converter.ring`
2943+ - ` querier.ring`
29432944- ` ruler.ring`
29442945- ` store-gateway.sharding-ring`
29452946
@@ -3277,6 +3278,7 @@ The `etcd_config` configures the etcd client. The supported CLI flags `<prefix>`
32773278- ` distributor.ha-tracker`
32783279- ` distributor.ring`
32793280- ` parquet-converter.ring`
3281+ - ` querier.ring`
32803282- ` ruler.ring`
32813283- ` store-gateway.sharding-ring`
32823284
@@ -3480,6 +3482,120 @@ grpc_client_config:
34803482 # using default gRPC client connect timeout 20s.
34813483 # CLI flag: -querier.frontend-client.connect-timeout
34823484 [connect_timeout: <duration> | default = 5s]
3485+
3486+ ring:
3487+ # The key-value store used to share the hash ring across multiple instances.
3488+ kvstore:
3489+ # Backend storage to use for the ring. Supported values are: consul, etcd,
3490+ # inmemory, memberlist, multi.
3491+ # CLI flag: -querier.ring.store
3492+ [store: <string> | default = "consul"]
3493+
3494+ # The prefix for the keys in the store. Should end with a /.
3495+ # CLI flag: -querier.ring.prefix
3496+ [prefix: <string> | default = "querier/"]
3497+
3498+ dynamodb:
3499+ # Region to access dynamodb.
3500+ # CLI flag: -querier.ring.dynamodb.region
3501+ [region: <string> | default = ""]
3502+
3503+ # Table name to use on dynamodb.
3504+ # CLI flag: -querier.ring.dynamodb.table-name
3505+ [table_name: <string> | default = ""]
3506+
3507+ # Time to expire items on dynamodb.
3508+ # CLI flag: -querier.ring.dynamodb.ttl-time
3509+ [ttl: <duration> | default = 0s]
3510+
3511+ # Time to refresh local ring with information on dynamodb.
3512+ # CLI flag: -querier.ring.dynamodb.puller-sync-time
3513+ [puller_sync_time: <duration> | default = 1m]
3514+
3515+ # Maximum number of retries for DDB KV CAS.
3516+ # CLI flag: -querier.ring.dynamodb.max-cas-retries
3517+ [max_cas_retries: <int> | default = 10]
3518+
3519+ # Timeout of dynamoDbClient requests. Default is 2m.
3520+ # CLI flag: -querier.ring.dynamodb.timeout
3521+ [timeout: <duration> | default = 2m]
3522+
3523+ # The consul_config configures the consul client.
3524+ # The CLI flags prefix for this block config is: querier.ring
3525+ [consul: <consul_config>]
3526+
3527+ # The etcd_config configures the etcd client.
3528+ # The CLI flags prefix for this block config is: querier.ring
3529+ [etcd: <etcd_config>]
3530+
3531+ multi:
3532+ # Primary backend storage used by multi-client.
3533+ # CLI flag: -querier.ring.multi.primary
3534+ [primary: <string> | default = ""]
3535+
3536+ # Secondary backend storage used by multi-client.
3537+ # CLI flag: -querier.ring.multi.secondary
3538+ [secondary: <string> | default = ""]
3539+
3540+ # Mirror writes to secondary store.
3541+ # CLI flag: -querier.ring.multi.mirror-enabled
3542+ [mirror_enabled: <boolean> | default = false]
3543+
3544+ # Timeout for storing value to secondary store.
3545+ # CLI flag: -querier.ring.multi.mirror-timeout
3546+ [mirror_timeout: <duration> | default = 2s]
3547+
3548+ # Period at which to heartbeat to the ring. 0 = disabled.
3549+ # CLI flag: -querier.ring.heartbeat-period
3550+ [heartbeat_period: <duration> | default = 5s]
3551+
3552+ # The heartbeat timeout after which rulers are considered unhealthy within the
3553+ # ring. 0 = never (timeout disabled).
3554+ # CLI flag: -querier.ring.heartbeat-timeout
3555+ [heartbeat_timeout: <duration> | default = 1m]
3556+
3557+ # EXPERIMENTAL: The replication factor to use when loading rule groups for API
3558+ # HA.
3559+ # CLI flag: -querier.ring.replication-factor
3560+ [replication_factor: <int> | default = 1]
3561+
3562+ # EXPERIMENTAL: True to enable zone-awareness and load rule groups across
3563+ # different availability zones for API HA.
3564+ # CLI flag: -querier.ring.zone-awareness-enabled
3565+ [zone_awareness_enabled: <boolean> | default = false]
3566+
3567+ # EXPERIMENTAL: File path where tokens are stored. If empty, tokens are not
3568+ # stored at shutdown and restored at startup.
3569+ # CLI flag: -querier.ring.tokens-file-path
3570+ [tokens_file_path: <string> | default = ""]
3571+
3572+ # Set to true to enable ring detailed metrics. These metrics provide detailed
3573+ # information, such as token count and ownership per tenant. Disabling them
3574+ # can significantly decrease the number of metrics emitted.
3575+ # CLI flag: -querier.ring.detailed-metrics-enabled
3576+ [detailed_metrics_enabled: <boolean> | default = true]
3577+
3578+ # The sleep seconds when ruler is shutting down. Need to be close to or larger
3579+ # than KV Store information propagation delay
3580+ # CLI flag: -querier.ring.final-sleep
3581+ [final_sleep: <duration> | default = 0s]
3582+
3583+ # Keep instance in the ring on shut down.
3584+ # CLI flag: -querier.ring.keep-instance-in-the-ring-on-shutdown
3585+ [keep_instance_in_the_ring_on_shutdown: <boolean> | default = false]
3586+
3587+ # Name of network interface to read address from.
3588+ # CLI flag: -querier.ring.instance-interface-names
3589+ [instance_interface_names: <list of string> | default = [eth0 en0]]
3590+
3591+ # The availability zone where this instance is running. Required if
3592+ # zone-awareness is enabled.
3593+ # CLI flag: -querier.ring.instance-availability-zone
3594+ [instance_availability_zone: <string> | default = ""]
3595+
3596+ # Number of tokens for each ruler.
3597+ # CLI flag: -querier.ring.num-tokens
3598+ [num_tokens: <int> | default = 128]
34833599` ` `
34843600
34853601# ## `ingester_config`
0 commit comments