I propose to make fpm status accessible to php through a new function
named fastcgi_get_status. The benefits are:
- developers can combine fpm and application metrics
- fpm status pages can be written in php
- fpm status information is available to php
I implemented this in https://github.com/php/php-src/pull/3182
Let me know what you think.