From 93d7ffb3c6eba8c27a6faae225ac38c19eabfbfa Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 31 Oct 2023 15:04:11 -0500 Subject: [PATCH] Update job name. --- .../kube-prometheus-stack/app/prometheusrules/minio.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/monitoring/kube-prometheus-stack/app/prometheusrules/minio.yaml b/kubernetes/apps/monitoring/kube-prometheus-stack/app/prometheusrules/minio.yaml index 650d35d..eee81a4 100644 --- a/kubernetes/apps/monitoring/kube-prometheus-stack/app/prometheusrules/minio.yaml +++ b/kubernetes/apps/monitoring/kube-prometheus-stack/app/prometheusrules/minio.yaml @@ -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