@@ -2938,13 +2938,14 @@ The `limits_config` configures default and per-tenant limits imposed by Cortex s
2938
2938
2939
2939
# Maximum number of queriers that can handle requests for a single tenant. If
2940
2940
# set to 0 or value higher than number of available queriers, *all* queriers
2941
- # will handle requests for the tenant. Each frontend (or query-scheduler, if
2942
- # used) will select the same set of queriers for the same tenant (given that all
2943
- # queriers are connected to all frontends / query-schedulers). This option only
2944
- # works with queriers connecting to the query-frontend / query-scheduler, not
2945
- # when using downstream URL.
2941
+ # will handle requests for the tenant. If the value is < 1, it will be treated
2942
+ # as a percentage and the gets a percentage of the total queriers. Each frontend
2943
+ # (or query-scheduler, if used) will select the same set of queriers for the
2944
+ # same tenant (given that all queriers are connected to all frontends /
2945
+ # query-schedulers). This option only works with queriers connecting to the
2946
+ # query-frontend / query-scheduler, not when using downstream URL.
2946
2947
# CLI flag: -frontend.max-queriers-per-tenant
2947
- [max_queriers_per_tenant : <int > | default = 0]
2948
+ [max_queriers_per_tenant : <float > | default = 0]
2948
2949
2949
2950
# Maximum number of outstanding requests per tenant per request queue (either
2950
2951
# query frontend or query scheduler); requests beyond this error with HTTP 429.
@@ -2973,9 +2974,10 @@ The `limits_config` configures default and per-tenant limits imposed by Cortex s
2973
2974
# The default tenant's shard size when the shuffle-sharding strategy is used.
2974
2975
# Must be set when the store-gateway sharding is enabled with the
2975
2976
# shuffle-sharding strategy. When this setting is specified in the per-tenant
2976
- # overrides, a value of 0 disables shuffle sharding for the tenant.
2977
+ # overrides, a value of 0 disables shuffle sharding for the tenant. If the value
2978
+ # is < 1 the shard size will be a percentage of the total store-gateways.
2977
2979
# CLI flag: -store-gateway.tenant-shard-size
2978
- [store_gateway_tenant_shard_size : <int > | default = 0]
2980
+ [store_gateway_tenant_shard_size : <float > | default = 0]
2979
2981
2980
2982
# The maximum number of data bytes to download per gRPC request in Store
2981
2983
# Gateway, including Series/LabelNames/LabelValues requests. 0 to disable.
0 commit comments