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

Fixed CortexCompactorRunFailed threshold #288

Merged
merged 2 commits into from
Apr 2, 2021
Merged

Conversation

pracucci
Copy link
Collaborator

@pracucci pracucci commented Apr 2, 2021

What this PR does:
Due to interpolation, the computed increase(cortex_compactor_runs_failed_total[2h]) may be slight higher than 1 (eg. 1.001) so checking for >= 2 (instead of > 1) fixes such false positives.

Which issue(s) this PR fixes:
N/A

Checklist

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

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci requested a review from a team as a code owner April 2, 2021 08:55
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Copy link
Contributor

@sandeepsukhani sandeepsukhani left a comment

Choose a reason for hiding this comment

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

LGTM

@pracucci pracucci merged commit 88d8c00 into main Apr 2, 2021
@pracucci pracucci deleted the fix-compactor-alert branch April 2, 2021 09:00
simonswine pushed a commit to grafana/mimir that referenced this pull request Oct 18, 2021
…tor-alert

Fixed CortexCompactorRunFailed threshold
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