spring-amqp icon indicating copy to clipboard operation
spring-amqp copied to clipboard

"observationEnabled" defaults to TRUE

Open cero-t opened this issue 2 years ago • 6 comments

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.

cero-t avatar Jan 09 '23 17:01 cero-t