From a8b6b56fce16882a77e9174a6d8eb54035717219 Mon Sep 17 00:00:00 2001 From: Henry Whitaker Date: Tue, 5 Mar 2024 18:14:10 +0000 Subject: [PATCH] fix: loki alerting rule --- .../monitoring/kube-prometheus-stack/chart/rules/misc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argo/cluster/monitoring/kube-prometheus-stack/chart/rules/misc.yaml b/argo/cluster/monitoring/kube-prometheus-stack/chart/rules/misc.yaml index 13d3d4d5..ac7b806c 100644 --- a/argo/cluster/monitoring/kube-prometheus-stack/chart/rules/misc.yaml +++ b/argo/cluster/monitoring/kube-prometheus-stack/chart/rules/misc.yaml @@ -7,7 +7,7 @@ spec: - name: loki rules: - alert: LokiMetricsWriteFailed - expr: sum (loki_ruler_wal_prometheus_remote_storage_samples_failed_total) > 0 + expr: increase (loki_ruler_wal_prometheus_remote_storage_samples_failed_total[1m]) > 0 for: 1m labels: severity: critical