You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is exactly what happened. I'm an app using micrometer + some custom registry to micrometer + prometheus.
I spent a few hours trying to figure out why some metrics don't appear after adding prometheus.
I think it would be better to make this behaviour configurable.
First, sorry for the frustration and time spent due to the current behavior, @angry-cellophane. We need to do a better job documenting this, so I've made this issue to track that.
I think it would be better to make this behaviour configurable.
For what it's worth, the behavior is configurable. You can restore the previous behavior of an exception being thrown and an error logged with the throwExceptionOnRegistrationFailure method on the PrometheusMeterRegistry.
shakuzen
transferred this issue from micrometer-metrics/micrometer-docs
Jan 30, 2024
This is exactly what happened. I'm an app using micrometer + some custom registry to micrometer + prometheus.
I spent a few hours trying to figure out why some metrics don't appear after adding prometheus.
I think it would be better to make this behaviour configurable.
Originally posted by @angry-cellophane in #2400 (comment)
The text was updated successfully, but these errors were encountered: