First commit
This commit is contained in:
commit
f3b9d45ca9
14 changed files with 1724 additions and 0 deletions
11
prometheus/alert.rules
Normal file
11
prometheus/alert.rules
Normal file
|
@ -0,0 +1,11 @@
|
|||
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"
|
Loading…
Add table
Add a link
Reference in a new issue