Tracing in Spring-Batch is supported by BatchObservabilityBeanPostProcessor.
It is imported by @EnableBatchProcessing and provided as a bean.
@EnableBatchProcessing is not used by the BatchAutoConfiguration in spring-boot. So BatchObservabilityBeanPostProcessor has to be provided by spring-boot to enable tracing for spring-batch.
Comment From: snicoll
@marbon87 thank you for making your first contribution to Spring Boot.