Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

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.

None yet

4 participants