Skip to content
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

Upgrade Prometheus and add evaluation_delay in rule group config #1474

Merged
merged 4 commits into from
Mar 15, 2022

Conversation

codesome
Copy link
Member

What this PR does

Upgrades Prometheus which has added evaluation_delay for the rule group. Now we don't need to manually add the delays to timestamps, hence removed it from here.

Which issue(s) this PR fixes or relates to

Fixes #1267

Checklist

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

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
@codesome
Copy link
Member Author

I cannot run make doc because of some dockerhub restrictions. I cannot pull the build image. Can someone please run it for me? Thanks!

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
@replay
Copy link
Contributor

replay commented Mar 14, 2022

I cannot run make doc because of some dockerhub restrictions. I cannot pull the build image. Can someone please run it for me? Thanks!

I ran make doc in your branch, but I don't see any changes

@codesome
Copy link
Member Author

I cannot run make doc because of some dockerhub restrictions. I cannot pull the build image. Can someone please run it for me? Thanks!

I ran make doc in your branch, but I don't see any changes

Oh, thanks for running it. Just realised that the change in rules config is not part of Mimir config hence wont reflect.

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
@pracucci pracucci self-requested a review March 14, 2022 16:47
Copy link
Collaborator

@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.

LGTM (modulo a couple of nits)!

Given we moved the evaluation delay logic to Prometheus, it's fine to delete all such logic from Mimir.

CHANGELOG.md Outdated Show resolved Hide resolved
pkg/ruler/compat.go Outdated Show resolved Hide resolved
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
@codesome
Copy link
Member Author

@pracucci fixed the comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow setting the rule evaluation delay per rule group
3 participants