Lusitaniae / phpfpm_exporter

Prometheus exporter for PHP-FPM.
Apache License 2.0
80 stars 20 forks source link

exporting multiple pools #22

Closed dadamssg closed 3 years ago

dadamssg commented 3 years ago

So i understand that multiple socket paths can be used

phpfpm_exporter-0.6.0.linux-amd64/phpfpm_exporter --phpfpm.socket-paths /var/run/php-fpm/php-fpm-pool1.sock --phpfpm.socket-paths /var/run/php-fpm/php-fpm-pool2.sock

but only one phpfpm.status-path can be used? I thought that each pool will need its own unique pm.status_path defined. I use nginx but i'm not really sure how to set this up. Any guidance would be much appreciated!