formula-prometheus/prometheus/map.jinja
Olivier Bourdon e8c7be754f Add Prometheus exporters
Change-Id: I71538bc6b39edaa6a0856c8bba9de11b88cec67a
2017-06-27 10:30:24 +02:00

14 lines
368 B
Django/Jinja

{% set server = salt['grains.filter_by']({
'default': {
},
}, merge=salt['pillar.get']('prometheus:server')) %}
{% set alertmanager = salt['grains.filter_by']({
'default': {
},
}, merge=salt['pillar.get']('prometheus:alertmanager')) %}
{% set exporters = salt['grains.filter_by']({
'default': {
},
}, merge=salt['pillar.get']('prometheus:exporters')) %}