03‐Prometheus‐&‐Alert‐Rules prometheus.yml - azita-abdollahi/uptime-kuma GitHub Wiki
03-Prometheus-&-Alert-Rules prometheus.yml
scrape_configs:
- job_name: 'uptime-kuma'
static_configs:
- targets: ['uptime-kuma:3001']
alert.rules.yml
- alert: UptimeKumaDown
expr: up{job="uptime-kuma"} == 0
for: 5m
labels:
severity: critical
annotations:
summary: "Uptime Kuma is down"
description: "The Uptime Kuma instance is unreachable for more than 5 minutes."