1
0
Fork 0
myserver-configuration/prometheus/alert.rules

11 lines
297 B
Text
Raw Normal View History

2022-10-25 13:34:44 +02:00
groups:
- name: traefik
rules:
- alert: service_down
expr: up == 0
for: 2m
labels:
severity: page
annotations:
summary: "Instance {{ $labels.instance }} down"
description: "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 2 minutes"