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
Add per-user query metrics for series and bytes returned (#4343)
* Add per-user query metrics for series and bytes returned
Add stats included in query responses from the querier and distributor
for measuring the number of series and bytes included in successful
queries. These stats are emitted per-user as summaries from the query
frontends.
These stats are picked to add visibility into the same resources limited
as part of #4179 and #4216.
Fixes#4259
Signed-off-by: Nick Pillitteri <[email protected]>
* Formatting fix
Signed-off-by: Nick Pillitteri <[email protected]>
* Fix changelog to match actual changes
Signed-off-by: Nick Pillitteri <[email protected]>
* Typo
Signed-off-by: Nick Pillitteri <[email protected]>
* Code review changes, rename things for clarity
Signed-off-by: Nick Pillitteri <[email protected]>
* Apply suggestions from code review
Co-authored-by: Marco Pracucci <[email protected]>
Signed-off-by: Nick Pillitteri <[email protected]>
* Code review changes, remove superfluous summaries
Signed-off-by: Nick Pillitteri <[email protected]>
Co-authored-by: Marco Pracucci <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## master / unreleased
4
4
*[FEATURE] Ruler: Add new `-ruler.query-stats-enabled` which when enabled will report the `cortex_ruler_query_seconds_total` as a per-user metric that tracks the sum of the wall time of executing queries in the ruler in seconds. #4317
5
-
5
+
*[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
6
6
*[CHANGE] Update Go version to 1.16.6. #4362
7
7
*[CHANGE] Querier / ruler: Change `-querier.max-fetched-chunks-per-query` configuration to limit to maximum number of chunks that can be fetched in a single query. The number of chunks fetched by ingesters AND long-term storare combined should not exceed the value configured on `-querier.max-fetched-chunks-per-query`. #4260
8
8
*[CHANGE] Memberlist: the `memberlist_kv_store_value_bytes` has been removed due to values no longer being stored in-memory as encoded bytes. #4345
0 commit comments