Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 88d8c00

Browse files
authored
Merge pull request #288 from grafana/fix-compactor-alert
Fixed CortexCompactorRunFailed threshold
2 parents 5980441 + 0ea97ee commit 88d8c00

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

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

89
## 1.8.0 / 2021-03-25
910

cortex-mixin/alerts/compactor.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
// Alert if compactor fails.
6868
alert: 'CortexCompactorRunFailed',
6969
expr: |||
70-
increase(cortex_compactor_runs_failed_total[2h]) > 1
70+
increase(cortex_compactor_runs_failed_total[2h]) >= 2
7171
|||,
7272
labels: {
7373
severity: 'critical',

0 commit comments

Comments
 (0)