cortex-jsonnet
cortex-jsonnet copied to clipboard
Add extra_selectors and sum_by for latency recording rule panel
Signed-off-by: Jiacheng Xu [email protected]
What this PR does:
This PR adds two options to pass the extra_selectors and sum_by to the latencyRecordingRulePanel
function.
This is really useful when Prometheus adds external labels (cluster labels) before sending the recording metrics to Cortex
Which issue(s) this PR fixes:
Fixes #
Checklist
- [x]
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.