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
MongoMetricsCommandListener is a component that registers timers to capture runtime durations of commands. MongoObservationCommandListener captures not only timing, but also spans by using Micrometer's Observation API.
If you enable both, then you will have two places for timers.
I followed the Spring's documentation to see traces in Mongodb by adding the bean
and adding the following properties to :
I can see the traces in the zipkins. However my question was since, Spring Already provides an autoconfiguration class metrics MongoAutoConfiguration.
Why do we need to disable bean from MongoAutoConfiguration? Can’t we got both metrics and traces?
The text was updated successfully, but these errors were encountered: