Skip to content

Add config option to omit exporting rule_group label on ruler metrics #4571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

zaharidichev
Copy link
Contributor

@zaharidichev zaharidichev commented Nov 26, 2021

What this PR does:
This PR introduces a config option for the ruler, which allows it to avoid exporting the rule_group label on
rule evaluation metrics.

Which issue(s) this PR fixes:
Fixes #4566

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Zahari Dichev zaharidichev@gmail.com

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
@bboreham
Copy link
Contributor

bboreham commented Dec 2, 2021

Please add a CHANGELOG entry.
Consider re-adding the checklist to the PR description so I wouldn't have to write this.

Copy link
Contributor

@bboreham bboreham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code lgtm, thanks!

@bboreham
Copy link
Contributor

bboreham commented Dec 2, 2021

CI has failed twice on a test believed to be flaky #4546

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
@zaharidichev
Copy link
Contributor Author

CI has failed twice on a test believed to be flaky #4546

Would that be a blocker?

@pracucci pracucci enabled auto-merge (squash) December 2, 2021 15:52
@pracucci pracucci merged commit 88790f9 into cortexproject:master Dec 2, 2021
alvinlin123 pushed a commit to ac1214/cortex that referenced this pull request Jan 14, 2022
…cortexproject#4571)

* add config option to omit exporting rule_group label on ruler metrics

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>

* add changelog entry

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
Signed-off-by: Alvin Lin <alvinlin@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce ruler option to disable rule_group labels on metrics.
3 participants