Move ansible to it's own directory structure
This commit is contained in:
11
ansible/roles/observer/files/prometheus_alerts_rules.yml
Normal file
11
ansible/roles/observer/files/prometheus_alerts_rules.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
groups:
|
||||
- name: AllInstances
|
||||
rules:
|
||||
- alert: InstanceDown
|
||||
expr: up == 0
|
||||
for: 1m
|
||||
annotations:
|
||||
title: 'Instance {{ $labels.instance }} down'
|
||||
description: '{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 1 minute.'
|
||||
labels:
|
||||
severity: 'critical'
|
||||
Reference in New Issue
Block a user