add phpfpm exporter

This commit is contained in:
camille committed 2021-10-05 16:52:47 +02:00
1 parent 7677eb47b7
commit bca9798942
8 files changed
+100 -23

No files matched your search

+11
View File
@@ -74,3 +74,14 @@ scrape_configs:
- {{ target }}:9187
{% endfor %}
{% endif %}
{% if prometheus_phpfpm_exporter_targets is defined %}
- job_name: phpfpm
scrape_interval: 30s
scrape_timeout: 10s
static_configs:
- targets:
{% for target in prometheus_phpfpm_exporter_targets %}
- {{ target }}:9253
{% endfor %}
{% endif %}