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
Spring AMQP does not enable Observation by default; if a user only wants Micrometer timers, it is better to use the legacy timers provided by the project, which detects the presence (or not) of a MeterRegistry bean.
However, if a user wants tracing, the observationEnabled property must be set to true; it would be more convenient if Boot provided this as an auto config property.
Furthermore, if Boot can detect that tracing is enabled (not just timers via Observation), then the properties could default to true, if not set by the user. If no such detection is possible, then the properties should remain at their default, false.
The observationEnabled property is available on BaseRabbitListenerContainerFactory and RabbitTemplate.
The text was updated successfully, but these errors were encountered:
Spring AMQP does not enable Observation by default; if a user only wants Micrometer timers, it is better to use the legacy timers provided by the project, which detects the presence (or not) of a
MeterRegistry
bean.However, if a user wants tracing, the
observationEnabled
property must be set to true; it would be more convenient if Boot provided this as an auto config property.Furthermore, if Boot can detect that tracing is enabled (not just timers via Observation), then the properties could default to
true
, if not set by the user. If no such detection is possible, then the properties should remain at their default, false.The
observationEnabled
property is available onBaseRabbitListenerContainerFactory
andRabbitTemplate
.The text was updated successfully, but these errors were encountered: