Skip to content

Use MustNewConstMetric to collect proxy metrics #112

@Lusitaniae

Description

@Lusitaniae

I think that this fix is not correct, we should instead use a MustNewConstMetric and collect it on every scrape.

The current approach is fragile because if 2 prometheus scrape at the same time, they will get hazardous results.

Originally posted by @roidelapluie in #111 (comment)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions