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
I am not that well versed in Micrometer. However, I noticed that if I want to use Spring Boot and provide the MicrometerApnsClientMetricsListener as a bean then I need to inject the MeterRegistry and if this is in an auto configuration I need to make sure the ordering and everything. If the bean is a MeterBinder then Spring Boot will automatically the bindTo method.
Is this something that would be interesting for the Pushy team?
The text was updated successfully, but these errors were encountered:
Yes, that makes a lot of sense. I, too, am very new to Micrometer and didn't know about MeterBinder until just now. I can just take care of that as part of whatever fix happens for #666.
Unfortunately, I think a consequence of the Micrometer overhaul is that making the listener a MeterBinder no longer makes sense. Rather than having a static set of meters that will be known at construction time, we'll have a bunch of dynamically-tagged meters that we'll "discover" at runtime. It's not immediately clear to me if that's in keeping with the spirit of MeterBinder, but I'll read more (and ask some questions) to see what I can figure out.
I am not that well versed in Micrometer. However, I noticed that if I want to use Spring Boot and provide the
MicrometerApnsClientMetricsListener
as a bean then I need to inject theMeterRegistry
and if this is in an auto configuration I need to make sure the ordering and everything. If the bean is aMeterBinder
then Spring Boot will automatically thebindTo
method.Is this something that would be interesting for the Pushy team?
The text was updated successfully, but these errors were encountered: