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

[r321] Update mimir-prometheus weekly-r321 #10268

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Conversation

colega
Copy link
Contributor

@colega colega commented Dec 17, 2024

This includes:

Also:

What this PR does

Which issue(s) this PR fixes or relates to

Fixes #

Checklist

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

@colega colega requested review from stevesg, grafanabot and a team as code owners December 17, 2024 17:19
@colega colega changed the title Update mimir-prometheus weekly-r321 [r321] Update mimir-prometheus weekly-r321 Dec 17, 2024
* Rule Concurrency: Prevent flapping of concurrency

Iterates on #8146

The `isGroupAtRisk` function only uses the group's last evaluation time as a metric
However, if the concurrency of the group causes the group's eval time to lower to less than the threshold, this will flap between enabling concurrency and disabling it on every run

In this PR, a condition is added to also sum up the last evaluation time of each rule to compare against the threshold

* Linting

* Use the new `evaluationRuleTimeSum` field from the group

* Linting

* Add changelog + metric

* Apply suggestions from code review

Co-authored-by: gotjosh <[email protected]>

* Unrevert crypto

* Fix typo in changelog

---------

Co-authored-by: gotjosh <[email protected]>
@julienduchesne julienduchesne requested a review from a team as a code owner December 17, 2024 17:20
@julienduchesne julienduchesne merged commit 422593f into r321 Dec 17, 2024
29 checks passed
@julienduchesne julienduchesne deleted the r321-update-mimir-prom branch December 17, 2024 17:57
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.

2 participants