ansible/roles/prometheus_federate/templates/alert.rules.yml.j2

20 lines
384 B
Text
Raw Normal View History

---
{{ ansible_managed | comment }}
2021-02-10 20:42:37 +01:00
2021-04-01 06:00:47 +02:00
{% macro raw(string) -%}
{{ "{{" }} {{ string }} {{ "}}" }}
{%- endmacro %}
groups:
- name: alert.rules
rules:
- alert: FederateInstanceDown
expr: up{job="federate"} == 0
for: 3m
labels:
severity: critical
annotations:
summary: >-
Invisible depuis plus de 3 minutes
...