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 with Scheduled annotation. 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 with Scheduled
Since:
1.0.0
Author:
Tomasz Nurkewicz, 4financeIT, Michal Chmielarz, 4financeIT, Marcin Grzejszczak, Spencer Gibb
  • Constructor Details

    • TraceSchedulingAspect

      public TraceSchedulingAspect(Tracer tracer, Pattern skipPattern)
  • Method Details

    • traceBackgroundThread

      public Object traceBackgroundThread(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
      Throws:
      Throwable