xoxys.prometheus/templates/conf/rules/alert.rules.j2

8 lines
223 B
Django/Jinja

#jinja2: lstrip_blocks: True
{{ ansible_managed | comment }}
groups:
- name: Ansible managed alert rules
rules:
{{ (prometheus_alert_rules + prometheus_alert_rules_extra) | to_nice_yaml(indent=2) | indent(2, False) }}