Skip to content
Snippets Groups Projects
Commit 2f5970a2 authored by ale's avatar ale
Browse files

Set fix-process-count option for php-fpm-exporter

parent 621c3a04
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
. /etc/apache2/envvars
export HOME=/
exec /usr/sbin/php-fpm-exporter server "--phpfpm.scrape-uri=unix:///run/php/php7.4-fpm.sock;/status" --web.listen-address=:$PHP_FPM_EXPORTER_PORT
exec /usr/sbin/php-fpm-exporter server "--phpfpm.scrape-uri=unix:///run/php/php7.4-fpm.sock;/status" --web.listen-address=:$PHP_FPM_EXPORTER_PORT --phpfpm.fix-process-count
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment