Hi,
we are using this exporter for a while and I notice patterns, where exporter start logging errors (lines before end), then exporter hang as well. Is there any debug option how could I can track this more?
I would expect behavior that exporter should be responsive all the time, but report php_fpm_up{socket_path="..."} 0. Now we loosing all data when single socket is down.
Using exporter:
phpfpm_exporter, version 0.5.0 (branch: HEAD, revision: 9cb855b)
Started under supervisor:
command=/opt/prometheus/bin/php-fpm_exporter --web.listen-address=":XXXX"
--phpfpm.status-path=/fpm-status
--phpfpm.socket-directories=/var/lib/php/7.X/fpm/
# we use directories because on some machines we have 200+ sockets for different web sites
Exporter error log (Prague so UTC+2):
2020/10/20 10:14:24 Failed to scrape socket: dial unix /var/lib/php/7.2/fpm/sock.sock: connect: resource temporarily unavailable
...
2020/10/20 10:16:05 Failed to scrape socket: dial unix /var/lib/php/7.2/fpm/sock.sock: connect: resource temporarily unavailable
Screens from grafana dashboard (Prague so UTC+2):


Prometheus graf on up metric for job (UTC):

Hi,
we are using this exporter for a while and I notice patterns, where exporter start logging errors (lines before end), then exporter hang as well. Is there any debug option how could I can track this more?
I would expect behavior that exporter should be responsive all the time, but report
php_fpm_up{socket_path="..."} 0. Now we loosing all data when single socket is down.Using exporter:
phpfpm_exporter, version 0.5.0 (branch: HEAD, revision: 9cb855b)
Started under supervisor:
Exporter error log (Prague so UTC+2):
Screens from grafana dashboard (Prague so UTC+2):


Prometheus graf on

upmetric for job (UTC):