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

Counter metric with same set of labels returning different values #1315

Open
faizanbashir opened this issue Jul 25, 2023 · 0 comments
Open

Comments

@faizanbashir
Copy link

faizanbashir commented Jul 25, 2023

I am using the client_golang version v1.11.0 in my code.

I am exposing a counter metric, and it is showing two different values for the same set of labels.

Screenshot 2023-07-25 at 1 59 36 PM

The interval is set to 5 minutes in the above screenshot.

I think the counter should have only one value, which should be incremented. I am using the Add(float64(<value>)) to set the values. I am not using the .Inc().

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

No branches or pull requests

1 participant