Skip to content

Make iterations metric per rule_group #4121

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
merged 2 commits into from
Apr 29, 2021

Conversation

gouthamve
Copy link
Contributor

So I have a feeling we didn't do rule_group for those metrics on purpose. The metric output doesn't have the iterations metrics anymore.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
@gouthamve gouthamve force-pushed the add-per-group-metrics branch from ed81530 to 7ea009a Compare April 26, 2021 14:45
@gouthamve
Copy link
Contributor Author

The reason we didn't do that before is because when we first made this change, upstream Prometheus metric didn't have a rule_group metric.

@gouthamve
Copy link
Contributor Author

Can you please rebase against master to pull in #4137 and move the changelog entry to the top?

Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

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

LGTM (let's make sure to remove that fmt.Println before merging though).

Copy link
Contributor

@gotjosh gotjosh left a comment

Choose a reason for hiding this comment

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

LGTM

The upstream metric got a new label after this change was done.

When it was originally added 9mo ago: cortexproject@27e2d46
When upstream changed 8mo ago: prometheus/prometheus#7823

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
@gouthamve gouthamve force-pushed the add-per-group-metrics branch from a5d7754 to ae3ae82 Compare April 29, 2021 09:39
@gouthamve gouthamve merged commit 5009276 into cortexproject:master Apr 29, 2021
@gouthamve gouthamve deleted the add-per-group-metrics branch April 29, 2021 10:47
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

@gouthamve Could you open a PR with the CHANGELOG entry for this PR change, please?

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.

4 participants