php-src icon indicating copy to clipboard operation
php-src copied to clipboard

Invalid OpenMetrics response format returned by FPM status page

Open ste93cry opened this issue 4 years ago • 0 comments

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

ste93cry avatar Dec 28 '21 14:12 ste93cry