From 2780a6f2d28724a24890196fac5eb33b085ea322 Mon Sep 17 00:00:00 2001 From: Ashish Jaiswal Date: Thu, 22 Aug 2024 15:47:28 +0530 Subject: [PATCH] fix: job name of opsmondo --- build/kube-prometheus/mixins/monitoring/mixin.libsonnet | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/kube-prometheus/mixins/monitoring/mixin.libsonnet b/build/kube-prometheus/mixins/monitoring/mixin.libsonnet index 4a4864614..94aa1fdf5 100644 --- a/build/kube-prometheus/mixins/monitoring/mixin.libsonnet +++ b/build/kube-prometheus/mixins/monitoring/mixin.libsonnet @@ -1,5 +1,5 @@ { -_config+:: { + _config+:: { selector: '', }, prometheusAlerts+:: { @@ -9,7 +9,7 @@ _config+:: { rules: [ { alert: 'monitor::monitoring_stack::watchdog_missing', - expr: 'increase(watchdog_alerts_total{job="goopsmondo"}[35m]) < 1', + expr: 'increase(watchdog_alerts_total{job="opsmondo"}[35m]) < 1', 'for': '10m', labels: { severity: 'critical', @@ -24,4 +24,4 @@ _config+:: { }, ], }, -} \ No newline at end of file +}