Replies: 3 comments 3 replies
-
Hey @keithf4,
On the Prometheus side, I'd say using You've mentioned however that sometimes the metric clears automatically - I'm more concerned about it as it shouldn't be the case (unless you restart the app). I'd like to get more details on it as consistency is the goal here. So far I'm not into managing metrics (it's one more goroutine to keep around), in the end we only export data. |
Beta Was this translation helpful? Give feedback.
-
Hmm ok. I'll try using the However, I'd still suggest further that it reset automatically somehow. Each individual metric failing causes |
Beta Was this translation helpful? Give feedback.
-
Fair enough. 👍 Let me bring it to the list of ideas, since it's not a bug issue (rather an improvement)? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Been trying to narrow this down to a repeatable use-case, but having a hard time. Sometimes when a metric has a scrape error, after fixing it so the error is no longer occurring, the
scrape_errors_total
metric does not clear automatically. But other times it does. The only way I've found to consistently fix this is to restart the exporter but this is not ideal.To Reproduce
Steps to reproduce the behavior:
Unable to reproduce consistently. But just do something that causes
scrape_errors_total
to have values, fix that problem, and see if it goes away without restarting the exporter.Expected behavior
Since we monitor
scrape_errors_total
to see if there are any scrape errors occurring, it would be good if this metric could clear itself consistently without restarting the exporter so we know the issue has been resolved.Beta Was this translation helpful? Give feedback.
All reactions