Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid OpenMetrics response format returned by FPM status page #7842

Closed
ste93cry opened this issue Dec 28, 2021 · 0 comments
Closed

Invalid OpenMetrics response format returned by FPM status page #7842

ste93cry opened this issue Dec 28, 2021 · 0 comments

Comments

@ste93cry
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@nikic @ste93cry @cmb69 and others