Skip to content

Commit

Permalink
Merge pull request #288 from grafana/fix-compactor-alert
Browse files Browse the repository at this point in the history
Fixed CortexCompactorRunFailed threshold
  • Loading branch information
pracucci authored Apr 2, 2021
2 parents 5980441 + 0ea97ee commit 88d8c00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* [ENHANCEMENT] Added `newCompactorStatefulSet()` function to create a custom statefulset for the compactor. #287
* [ENHANCEMENT] Added option to configure compactor job name used in dashboards and alerts. #287
* [BUGFIX] Fixed `CortexCompactorRunFailed` false positives. #288

## 1.8.0 / 2021-03-25

Expand Down
2 changes: 1 addition & 1 deletion cortex-mixin/alerts/compactor.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
// Alert if compactor fails.
alert: 'CortexCompactorRunFailed',
expr: |||
increase(cortex_compactor_runs_failed_total[2h]) > 1
increase(cortex_compactor_runs_failed_total[2h]) >= 2
|||,
labels: {
severity: 'critical',
Expand Down

0 comments on commit 88d8c00

Please sign in to comment.