cortex
cortex copied to clipboard
Add cortex_ruler_rule_groups_in_store metric
What this PR does:
Add a new per tenant metric called cortex_ruler_rule_groups_in_store which contains the number of rule groups each tenant has in store (s3 for example). The metric provides an accurate count of rule groups that is not affected by the health of the rulers or resharding.
Which issue(s) this PR fixes: Fixes #5866
Checklist
- [x] Tests updated
- [x] Documentation added
- [x]
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]
@yeya24 please take a look. Thanks
@rapphil @yeya24 Can this be merged?
We are in the process of releasing 1.18 Please rebase PR and change the changelog to master