Commit 7c5bf912 authored by godog's avatar godog

Switch php-fpm-exporter implementation

Looks like Grafana dashboards are for this exporter, looks like more
parent c71db352
Pipeline #3187 passed with stage
in 1 minute and 53 seconds
......@@ -57,15 +57,19 @@ fpm.service: {
exit_kills: true,
fpm-exporter.service: {
command: "sh -c '. /etc/apache2/envvars && HOME=/ exec /usr/sbin/php-fpm-exporter server --phpfpm.scrape-uri=unix:///run/php/php7.0-fpm.sock\\\\;/status --web.listen-address=:\$PHP_FPM_EXPORTER_PORT'",
command: "sh -c '. /etc/apache2/envvars && HOME=/ exec /usr/sbin/php-fpm-exporter --phpfpm.socket-paths=/run/php/php7.0-fpm.sock --web.listen-address=:\$PHP_FPM_EXPORTER_PORT'",
restart: true,
# Install the php-fpm prometheus exporter binary (no package yet).
curl -sL -o /usr/sbin/php-fpm-exporter \
chmod 0755 /usr/sbin/php-fpm-exporter
curl -sL \ \
| tar -C /run zxv
install -m 0755 \
/run/phpfpm_exporter-0.4.0.linux-amd64/phpfpm_exporter \
# Enable/disable Apache modules and configs.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment