Jon Schneider opened SPR-15562 and commented

Both Spring Cloud Sleuth and Spring Metrics (and less likely, security?) could benefit from a method to intercept and instrument @Scheduled and @Async methods that doesn't require AOP.

Perhaps interceptors could be folded into the registration process in ScheduledAnnotationBeanPostProcessor?


Affects: 5.0 RC2

Comment From: jhoeller

@bclozel has this come up again with observability for task execution and scheduling? Or are we happy having metrics for the target executor/scheduler rather than the annotated methods?

Comment From: bclozel

Indeed it's been superseded by #29883. Thanks!