From 9e4e59457dabe4690f4ebcf0a8ff247f4387d9d5 Mon Sep 17 00:00:00 2001 From: paulfantom Date: Sun, 1 Dec 2024 18:07:48 +0100 Subject: [PATCH] minio: fix alert defs --- apps/minio/prometheus-rules.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/minio/prometheus-rules.yaml b/apps/minio/prometheus-rules.yaml index 350daf6f..782fa07a 100644 --- a/apps/minio/prometheus-rules.yaml +++ b/apps/minio/prometheus-rules.yaml @@ -14,7 +14,7 @@ spec: - name: minio-alerts rules: - alert: MinioNodesOffline - expr: sum(minio_cluster_nodes_offline_total{namespace="minio"}[5m]) > 0 + expr: sum(minio_cluster_nodes_offline_total{namespace="minio"}) > 0 for: 10m labels: severity: warning @@ -23,7 +23,7 @@ spec: description: "Minio cluster {{ $labels.instance }} has {{ $value }} node(s) offline for more than 5 minutes" - alert: MinioDisksOffline - expr: sum(minio_cluster_disk_offline_total{namespace="minio"}[5m]) > 0 + expr: sum(minio_cluster_disk_offline_total{namespace="minio"}) > 0 for: 10m labels: severity: warning