Update job name.
This commit is contained in:
parent
257eb412d6
commit
93d7ffb3c6
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ spec:
|
|||
- name: minio-alerts
|
||||
rules:
|
||||
- alert: NodesOffline
|
||||
expr: avg_over_time(minio_cluster_nodes_offline_total{job="minio-job"}[5m]) > 0
|
||||
expr: avg_over_time(minio_cluster_nodes_offline_total{job="scrapeconfig/monitoring/minio-erebor"}[5m]) > 0
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warn
|
||||
|
@ -22,7 +22,7 @@ spec:
|
|||
description: "Node(s) in cluster {{ $labels.instance }} offline for more than 5 minutes"
|
||||
|
||||
- alert: DisksOffline
|
||||
expr: avg_over_time(minio_cluster_disk_offline_total{job="minio-job"}[5m]) > 0
|
||||
expr: avg_over_time(minio_cluster_disk_offline_total{job="scrapeconfig/monitoring/minio-erebor"}[5m]) > 0
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warn
|
||||
|
|
Reference in a new issue