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

14 lines
442 B
Text

{%- if pillar.prometheus.server is defined or
pillar.prometheus.alertmanager is defined or
pillar.prometheus.exporters is defined %}
include:
{%- if pillar.prometheus.server is defined %}
- prometheus.server
{%- endif %}
{%- if pillar.prometheus.alertmanager is defined %}
- prometheus.alertmanager
{%- endif %}
{%- if pillar.prometheus.exporters is defined %}
- prometheus.exporters
{%- endif %}
{%- endif %}