Skip to content

Auto-configure ObservationRegistry in ScheduledTaskRegistrar for scheduled tasks observations #36119

@bclozel

Description

@bclozel

As of Spring Framework 6.1.0-M2, a new instrumentation observes the execution of @Scheduled annotated methods. See spring-projects/spring-framework#29883.

To support this feature automatically, Spring Boot should configure the ObservationRegistry with a SchedulingConfigurer. As far as I understand, a SchedulingConfigurer bean is currently considered as a signal for auto-configuration backoff so we might need to tweak the approach here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions