Skip to content

Invalid OpenMetrics response format returned by FPM status page #7842

Closed
@ste93cry

Description

@ste93cry

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions