Class TraceSchedulingAspect
- java.lang.Object
-
- org.springframework.cloud.sleuth.instrument.scheduling.TraceSchedulingAspect
-
public class TraceSchedulingAspect extends Object
Aspect that creates a new Span for running threads executing methods annotated withScheduledannotation. For every execution of scheduled method a new trace will be started. The name of the span will be the simple name of the class annotated withScheduled- Since:
- 1.0.0
- Author:
- Tomasz Nurkewicz, 4financeIT, Michal Chmielarz, 4financeIT, Marcin Grzejszczak, Spencer Gibb
-
-
Constructor Summary
Constructors Constructor Description TraceSchedulingAspect(Tracer tracer, Pattern skipPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjecttraceBackgroundThread(org.aspectj.lang.ProceedingJoinPoint pjp)
-