add apache exporter

This commit is contained in:
Camille Prugnard 2021-10-08 10:57:40 +02:00
parent f02c1270fe
commit 683010b101

View File

@ -85,3 +85,14 @@ scrape_configs:
- {{ target }}:9253 - {{ target }}:9253
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if prometheus_apache_exporter_targets is defined %}
- job_name: apache
scrape_interval: 30s
scrape_timeout: 10s
static_configs:
- targets:
{% for target in prometheus_apache_exporter_targets %}
- {{ target }}:9117
{% endfor %}
{% endif %}