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
query-frontend: add option to preserve specific request headers
To make Cortex query-frontend more flexible when used with other Prometheus engines.
Option is named -frontend.forward-headers-list.
Signed-off-by: Manish Kumar Gupta <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@
26
26
*[FEATURE] Query Frontend: Add `cortex_query_fetched_series_total` and `cortex_query_fetched_chunks_bytes_total` per-user counters to expose the number of series and bytes fetched as part of queries. These metrics can be enabled with the `-frontend.query-stats-enabled` flag (or its respective YAML config option `query_stats_enabled`). #4343
27
27
*[FEATURE] AlertManager: Add support for SNS Receiver. #4382
28
28
*[FEATURE] Distributor: Add label `status` to metric `cortex_distributor_ingester_append_failures_total`#4442
29
+
*[ENHANCEMENT] Query Frontend: Add setting `-frontend.forward-headers-list` in frontend to configure the set of headers from the requests to be forwarded to downstream requests. #4486
29
30
*[FEATURE] Queries: Added `present_over_time` PromQL function, also some TSDB optimisations. #4505
30
31
*[ENHANCEMENT] Add timeout for waiting on compactor to become ACTIVE in the ring. #4262
31
32
*[ENHANCEMENT] Reduce memory used by streaming queries, particularly in ruler. #4341
Copy file name to clipboardExpand all lines: docs/configuration/arguments.md
+4
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,10 @@ The ingester query API was improved over time, but defaults to the old behaviour
116
116
117
117
If set to true, will cause the querier to cache query results. The cache will be used to answer future, overlapping queries. The query frontend calculates extra queries required to fill gaps in the cache.
118
118
119
+
-`-frontend.forward-headers-list`
120
+
121
+
Request headers forwarded by query frontend to downstream queriers. Multiple headers may be specified. Defaults to empty.
122
+
119
123
-`-frontend.max-cache-freshness`
120
124
121
125
When caching query results, it is desirable to prevent the caching of very recent results that might still be in flux. Use this parameter to configure the age of results that should be excluded.
0 commit comments