Update job name.

This commit is contained in:
Joseph Hanson 2023-10-31 15:04:11 -05:00
parent 257eb412d6
commit 93d7ffb3c6
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -13,7 +13,7 @@ spec:
- name: minio-alerts - name: minio-alerts
rules: rules:
- alert: NodesOffline - 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 for: 10m
labels: labels:
severity: warn severity: warn
@ -22,7 +22,7 @@ spec:
description: "Node(s) in cluster {{ $labels.instance }} offline for more than 5 minutes" description: "Node(s) in cluster {{ $labels.instance }} offline for more than 5 minutes"
- alert: DisksOffline - 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 for: 10m
labels: labels:
severity: warn severity: warn