Add ServiceUnavailable alert export and runbook for #18
Scrap-Web/pipeline/head This commit looks good

This commit is contained in:
2026-10-28 20:32:10 -04:00
parent 6d65f29674
commit d6ea94f20d
2 changed files with 129 additions and 0 deletions
@@ -0,0 +1,64 @@
apiVersion: 1
groups:
- orgId: 1
name: availability
folder: SSW 590
interval: 30s
rules:
- uid: fg2n29o6c9a80d
title: ServiceUnavailable
condition: C
data:
- refId: A
relativeTimeRange:
from: 600
to: 0
datasourceUid: prometheus
model:
editorMode: code
expr: probe_success{job="https"}
instant: true
intervalMs: 1000
legendFormat: __auto
maxDataPoints: 43200
range: false
refId: A
- refId: C
queryType: expression
datasourceUid: __expr__
model:
conditions:
- evaluator:
params:
- 0
type: gt
operator:
type: and
query:
params:
- C
reducer:
params: []
type: last
type: query
datasource:
type: __expr__
uid: __expr__
expression: A
intervalMs: 1000
maxDataPoints: 43200
refId: C
type: threshold
noDataState: Alerting
execErrState: Alerting
for: 1m
annotations:
runbook_url: https://git.ssw590-08.me/SSW-590-08/Scrap-Web/src/branch/main/monitoring/RUNBOOK.md
summary: https://git.ssw590-08.me/SSW-590-08/Scrap-Web/src/branch/main/monitoring/RUNBOOK.md
labels:
owner: samahk13
severity: critical
team: ssw590
isPaused: false
notification_settings:
receiver: team-alerts