Open 11mariom opened 8 years ago
Does the php-fpm-status output not contain slow_requests? I think checking for empty is reasonable.
Yeah, it does not contain this string:
[root@test ~]# curl http://127.0.0.1:61708/status
pool: www
process manager: dynamic
start time: 08/Jan/2016:09:52:31 +0100
start since: 4114
accepted conn: 1592
listen queue: 0
max listen queue: 0
listen queue len: 0
idle processes: 20
active processes: 1
total processes: 21
max active processes: 16
max children reached: 0
[root@test ~]#
Sounds like we need an option to ignore specific keys. To follow established patterns this should be a comma separated list of regexes.
Hi,
metrics gives empty slow_requests field:
which causes influxdb error:
Maybe check if stats['status'][name] is not empty and then call output?