opcache v2

This commit is contained in:
jean-yves.fournier
2022-01-05 16:00:23 +01:00
parent 14baee3d40
commit 024b001bea
7 changed files with 12 additions and 12 deletions

View File

@ -124,14 +124,14 @@ scrape_configs:
{% endfor %}
{% endif %}
{% if prometheus_php-opcache_exporter_targets is defined %}
{% if prometheus_opcache_exporter_targets is defined %}
# PHP-FPM exporter #
- job_name: php-opcache
- job_name: opcache
scrape_interval: 30s
scrape_timeout: 10s
static_configs:
- targets:
{% for target in prometheus_php-opcache_exporter_targets %}
{% for target in prometheus_opcache_exporter_targets %}
- {{ target }}:9101
{% endfor %}
{% endif %}