ansible/roles/prometheus_federate/templates/alert.rules.yml.j2
Jeltz a743ce09fb
All checks were successful
continuous-integration/drone/push Build is passing
Move templates of the prometheus_federate role
2021-04-01 09:42:54 +02:00

19 lines
384 B
Django/Jinja

---
{{ ansible_managed | comment }}
{% 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
...