Skip to content

Invalid OpenMetrics response format returned by FPM status page #7842

Closed

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

Activity

  1. added a commit that references this issue on Jan 4, 2022
    46bec6d
  2. added a commit that references this issue on Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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