php-src
php-src copied to clipboard
Invalid OpenMetrics response format returned by FPM status page
Description
PHP 8.1 introduced support in the FPM SAPI for the OpenMetrics format when requesting the status of FPM. While trying to scrape the metrics using Prometheus, I get the following error: data does not end with # EOF. According to the specs in fact, each exposition must end with a # EOF line followed by an optional end of line character when the Content-Type of the response is application/openmetrics-text
PHP Version
PHP 8.1.1
Operating System
No response