spring-amqp
spring-amqp copied to clipboard
"observationEnabled" defaults to TRUE
Expected Behavior
I want the auto-configuration to set the observationEnabled
parameter of RabbitTemplate
and AbstractRabbitListenerContainerFactory
to true by default.
Current Behavior
Micrometer Tracing does not work out of the box because the default value of their observationEnabled
are now set to false
.
Context
Spring Boot 3.0 provides auto-configuration for Micrometer Tracing, and it works out of the box with Spring Web and Spring Cloud Stream, but it doesn't work with Spring AMQP. I found Spring Cloud Stream (binder-rabbitmq) sets it true
.
I think Spring AMQP should also be friendly towards Micrometer Tracing.