Merge pull request #4 from storiesbi/alerts-for

Alerts for
This commit is contained in:
Michael Kutý 2017-05-16 16:40:36 +02:00 committed by GitHub
commit 8989793ea1
2 changed files with 3 additions and 3 deletions

View file

@ -31,9 +31,6 @@
{%- if alert.get('enabled', True) %}
ALERT {{ alertname }}
IF {{ alert.if }}
{%- if alert.for is defined %}
FOR {{ alert.for }}
{%- endif %}
{%- if alert.for is defined %}FOR {{ alert.for }}{%- endif %}
{%- if alert.labels is defined %}
LABELS {

View file

@ -10,4 +10,7 @@ include:
{%- if pillar.prometheus.pushgateway is defined %}
- prometheus.pushgateway
{%- endif %}
{%- if pillar.prometheus.collectd_exporter is defined %}
- prometheus.collectd_exporter
{%- endif %}
{%- endif %}