cortex icon indicating copy to clipboard operation
cortex copied to clipboard

Add cortex_ruler_rule_groups_in_store metric

Open emanlodovice opened this issue 2 years ago • 2 comments

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.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

emanlodovice avatar Apr 19 '24 02:04 emanlodovice

@yeya24 please take a look. Thanks

emanlodovice avatar May 16 '24 20:05 emanlodovice

@rapphil @yeya24 Can this be merged?

rajagopalanand avatar Jun 21 '24 13:06 rajagopalanand

We are in the process of releasing 1.18 Please rebase PR and change the changelog to master

danielblando avatar Aug 16 '24 18:08 danielblando