PHP-FPM collector for Diamond published
I’ve created the php-fpm status collector for Diamond. It’s available on github under Diamond-PhpCollectors: https://github.com/charlesnagy/Diamond-PhpCollectors
Collected metrics
1 2 3 4 5 6 7 8 9 10 11 12 |
$ curl http://localhost/fpm_status [...ignored values] start since: 2926 accepted conn: 113 listen queue: 0 max listen queue: 0 listen queue len: 128 idle processes: 2 active processes: 1 total processes: 3 max active processes: 1 max children reached: 0 |
Configuration
First of all you will need to enable status page in php-fpm.conf.
PHP-FPM
The following line should be in the config file.
1 |
pm.status_path = /fpm_status |
Reload php-fpm service.
Nginx
In the … Continue reading