From 3da368fc13a384bf696e6c8930d6708ccf95a57e Mon Sep 17 00:00:00 2001 From: QuantumEnigmaa Date: Thu, 5 Sep 2024 12:28:27 +0200 Subject: [PATCH] update query according to the mixins --- .../templates/platform/atlas/alerting-rules/mimir.rules.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helm/prometheus-rules/templates/platform/atlas/alerting-rules/mimir.rules.yml b/helm/prometheus-rules/templates/platform/atlas/alerting-rules/mimir.rules.yml index 657187ee..3f7c24f7 100644 --- a/helm/prometheus-rules/templates/platform/atlas/alerting-rules/mimir.rules.yml +++ b/helm/prometheus-rules/templates/platform/atlas/alerting-rules/mimir.rules.yml @@ -141,8 +141,7 @@ spec: annotations: description: 'Mimir compactor has been failing its compactions for 2 hours.' opsrecipe: mimir/ - expr: sum(increase(cortex_compactor_runs_failed_total[1h])) by (cluster_id, installation, namespace, pipeline, provider) > 0 - for: 2h + expr: sum(increase(cortex_compactor_runs_failed_total{reason!="shutdown"}[2h])) by (cluster_id, installation, namespace, pipeline, provider) > 2 labels: area: platform cancel_if_cluster_status_creating: "true"