diff --git a/CHANGELOG.md b/CHANGELOG.md index 74ba509f..639dbc69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/cortex-mixin/alerts/compactor.libsonnet b/cortex-mixin/alerts/compactor.libsonnet index a2615e04..c8ac434a 100644 --- a/cortex-mixin/alerts/compactor.libsonnet +++ b/cortex-mixin/alerts/compactor.libsonnet @@ -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',