Skip to content

Unlike @EnableBatchProcessing, auto-configuration for Spring Batch does not enable observability of steps and jobs#34305

Closed
marbon87 wants to merge 1 commit intospring-projects:mainfrom
marbon87:feat/spring-batch-observation
Closed

Unlike @EnableBatchProcessing, auto-configuration for Spring Batch does not enable observability of steps and jobs#34305
marbon87 wants to merge 1 commit intospring-projects:mainfrom
marbon87:feat/spring-batch-observation

Conversation

@marbon87
Copy link

@marbon87 marbon87 commented Feb 20, 2023

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.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 20, 2023
@wilkinsona wilkinsona changed the title Enable Micrometer-Observation von Spring-Batch Unliked @EnableBatchProcessing, auto-configuration for Spring Batch does not enable observability of steps and jobs Feb 21, 2023
@wilkinsona wilkinsona added theme: observability Issues related to observability and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 21, 2023
@wilkinsona wilkinsona added this to the 3.0.x milestone Feb 21, 2023
@wilkinsona wilkinsona added the type: bug A general bug label Feb 21, 2023
@wilkinsona wilkinsona changed the title Unliked @EnableBatchProcessing, auto-configuration for Spring Batch does not enable observability of steps and jobs Unlike @EnableBatchProcessing, auto-configuration for Spring Batch does not enable observability of steps and jobs Feb 27, 2023
@snicoll
Copy link
Member

snicoll commented Apr 5, 2023

@marbon87 thank you for making your first contribution to Spring Boot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme: observability Issues related to observability type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants