Files
knl_meowscendence/docker/monitoring/prometheus/config/rules.yml
2025-07-22 14:57:54 +02:00

13 lines
339 B
YAML

groups:
- name: AllInstances
rules:
- alert: InstanceDown
# Condition for alerting
expr: up == 0
for: 20s
annotations:
title: 'Instance {{ $labels.instance }} down'
description: '{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 20 seconds.'
labels:
severity: 'critical'