You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
*[FEATURE] Chunk Cache: Support multi level cache and add metrics. #6249
19
19
*[FEATURE] Distributor: Accept multiple HA Tracker pairs in the same request. #6256
20
20
*[FEATURE] Ruler: Add support for per-user external labels #6340
21
-
*[ENHANCEMENT] Querier: Add a `cortex_querier_federated_tenants_per_query` histogram to track the number of tenants per query when the `-tenant-federation.enabled=true`. #6449
21
+
*[ENHANCEMENT] Querier: Add a `-tenant-federation.max-concurrent` flags to configure the number of worker processing federated query and add a `cortex_querier_federated_tenants_per_query` histogram to track the number of tenants per query. #6449
22
22
*[ENHANCEMENT] Query Frontend: Add a number of series in the query response to the query stat log. #6423
23
23
*[ENHANCEMENT] Store Gateway: Add a hedged request to reduce the tail latency. #6388
24
24
*[ENHANCEMENT] Ingester: Add metrics to track succeed/failed native histograms. #6370
Copy file name to clipboardExpand all lines: pkg/querier/tenantfederation/tenant_federation.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,11 @@ import (
7
7
typeConfigstruct {
8
8
// Enabled switches on support for multi tenant query federation
9
9
Enabledbool`yaml:"enabled"`
10
+
// MaxConcurrent The number of workers used for processing federated query.
11
+
MaxConcurrentint`yaml:"max_concurrent"`
10
12
}
11
13
12
14
func (cfg*Config) RegisterFlags(f*flag.FlagSet) {
13
15
f.BoolVar(&cfg.Enabled, "tenant-federation.enabled", false, "If enabled on all Cortex 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 (experimental).")
16
+
f.IntVar(&cfg.MaxConcurrent, "tenant-federation.max-concurrent", defaultMaxConcurrency, "The number of workers used for processing federated query.")
0 commit comments