4 changed files with 34 additions and 5 deletions
@ -0,0 +1,11 @@
|
||||
groups: |
||||
- name: alert.rules |
||||
rules: |
||||
- alert: InstanceDown |
||||
expr: up == 0 |
||||
for: 1m |
||||
labels: |
||||
severity: "critical" |
||||
annotations: |
||||
summary: "Endpoint {{ $labels.instance }} down" |
||||
description: "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 1 minutes." |
||||
Loading…
Reference in new issue