Skip to content

Histogram buckets do not follow OpenMetrics specification #345

Closed

Description

@tivvit

OpenMetrics draft specifies the default Go %g format.

Python is adding decimal number to the le field.

Like this:

request_duration_seconds_bucket{code="200",endpoint="/batch_read",le="1.0",method="GET",type="REST"} 545729.0

the le should be le="1"

This causes problems when comparing metrics with i.e. golang exported metrics

More about this prometheus/client_golang#500

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions