cortex-jsonnet icon indicating copy to clipboard operation
cortex-jsonnet copied to clipboard

Add extra_selectors and sum_by for latency recording rule panel

Open jiachengxu opened this issue 3 years ago • 1 comments

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]

jiachengxu avatar Feb 14 '22 10:02 jiachengxu

CLA assistant check
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.

CLAassistant avatar Jun 15 '22 17:06 CLAassistant