monitoring: disable legacy cron alert

This commit is contained in:
Brad Stein 2026-01-28 13:58:28 -03:00
parent 26e35ffbaf
commit 78c72a71a2

View File

@ -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