diff --git a/services/monitoring/grafana-alerting-config.yaml b/services/monitoring/grafana-alerting-config.yaml index 0086f29..39aca83 100644 --- a/services/monitoring/grafana-alerting-config.yaml +++ b/services/monitoring/grafana-alerting-config.yaml @@ -286,7 +286,7 @@ data: summary: "node-image-sweeper not fully ready" labels: severity: warning - - uid: maint-cron-stale + - uid: maint-ariadne-image-sweeper-stale title: "Ariadne image sweeper stale (>8d since success)" condition: C for: "5m" @@ -334,6 +334,54 @@ data: summary: "Ariadne image sweeper stale >8d since last success" labels: severity: warning + - uid: maint-cron-stale + title: "Maintenance CronJobs stale (legacy disabled)" + condition: C + for: "5m" + data: + - refId: A + relativeTimeRange: + from: 300 + to: 0 + datasourceUid: atlas-vm + model: + expr: vector(0) + intervalMs: 60000 + maxDataPoints: 43200 + legendFormat: legacy + datasource: + type: prometheus + uid: atlas-vm + - refId: B + datasourceUid: __expr__ + model: + expression: A + intervalMs: 60000 + maxDataPoints: 43200 + reducer: last + type: reduce + - refId: C + datasourceUid: __expr__ + model: + expression: B + intervalMs: 60000 + maxDataPoints: 43200 + type: threshold + conditions: + - evaluator: + params: [1] + type: gt + operator: + type: and + reducer: + type: last + type: query + noDataState: OK + execErrState: OK + annotations: + summary: "Legacy cronjob alert disabled" + labels: + severity: info - orgId: 1 name: ariadne folder: Alerts