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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
*[CHANGE] Store Gateway: Remove `idle_timeout`, `max_conn_age`, `pool_size`, `min_idle_conns` fields for Redis index cache and caching bucket. #5448
20
20
*[CHANGE] Store Gateway: Add flag `-store-gateway.sharding-ring.zone-stable-shuffle-sharding` to enable store gateway to use zone stable shuffle sharding. #5489
21
21
*[CHANGE] Bucket Index: Add `series_max_size` and `chunk_max_size` to bucket index. #5489
22
+
*[CHANGE] Query Frontend/Querier: Make build info API disabled by default and add feature flag `api.build-info-enabled` to enable it. #5533
22
23
*[FEATURE] Store Gateway: Add `max_downloaded_bytes_per_request` to limit max bytes to download per store gateway request.
23
24
*[FEATURE] Added 2 flags `-alertmanager.alertmanager-client.grpc-max-send-msg-size` and ` -alertmanager.alertmanager-client.grpc-max-recv-msg-size` to configure alert manager grpc client message size limits. #5338
24
25
*[FEATURE] Query Frontend: Add `cortex_rejected_queries_total` metric for throttled queries. #5356
Copy file name to clipboardExpand all lines: pkg/api/api.go
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -71,12 +71,15 @@ type Config struct {
71
71
72
72
// This sets the Origin header value
73
73
corsRegexStringstring`yaml:"cors_origin"`
74
+
75
+
buildInfoEnabledbool`yaml:"build_info_enabled"`
74
76
}
75
77
76
78
// RegisterFlags adds the flags required to config this to the given FlagSet.
77
79
func (cfg*Config) RegisterFlags(f*flag.FlagSet) {
78
80
f.BoolVar(&cfg.ResponseCompression, "api.response-compression-enabled", false, "Use GZIP compression for API responses. Some endpoints serve large YAML or JSON blobs which can benefit from compression.")
79
81
f.Var(&cfg.HTTPRequestHeadersToLog, "api.http-request-headers-to-log", "Which HTTP Request headers to add to logs")
82
+
f.BoolVar(&cfg.buildInfoEnabled, "api.build-info-enabled", false, "If enabled, build Info API will be served by query frontend or querier.")
80
83
cfg.RegisterFlagsWithPrefix("", f)
81
84
}
82
85
@@ -389,8 +392,6 @@ func (a *API) RegisterQueryable(
389
392
390
393
// RegisterQueryAPI registers the Prometheus API routes with the provided handler.
0 commit comments