Skip to content

Commit

Permalink
minio: fix alert defs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Dec 1, 2024
1 parent 33fb29a commit 9e4e594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/minio/prometheus-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9e4e594

Please sign in to comment.