-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
I have instrumented custom prometheus metrics from my application. I have configured prometheus to scrape the target. I have started seeing 500 error in the prometheus and due to that the scrape failed. I tried to manually hit the /metrics endpoint in my application and got the error saying
<metric> [label_values] was collected before with the same name and label values
It works initially but after a few minutes I start seeing the error.
I don't think it should be considered a duplicate metric but if the metric with same label and values are added,then it should increase the count.
go client version: github.com/prometheus/client_golang v1.12.2
Reactions are currently unavailable