cortex
cortex copied to clipboard
Add new query stats metrics to track prometheus querystats
What this PR does:
Add new query stats metrics cortex_query_total_queryable_samples_total and cortex_query_peak_samples.
These track TotalQueryableSamples and PeakSamples for each in https://github.com/prometheus/prometheus/blob/main/util/stats/query_stats.go
Which issue(s) this PR fixes: Fixes
Checklist
- [x] Tests updated
- [ ] Documentation added
- [x]
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]
@yeya24 Could you please take a look?
@alanprot @friedrichg could you please take a look? :)