public class TraceWebAspect extends Object
RestController annotated classes
with public Callable methodsController annotated classes with public
Callable methodsController or
RestController annotated classes with
public WebAsyncTask methodsCallable.call()
method execution in TraceCallable
This aspect will continue a span created by the TraceFilter. It will not create
a new span - since the one in TraceFilter will wait until processing has been
finishedController,
RestOperations,
TraceCallable,
Tracer,
TraceFilter| Constructor and Description |
|---|
TraceWebAspect(Tracer tracer,
SpanNamer spanNamer,
TraceKeys traceKeys,
ErrorParser errorParser) |
| Modifier and Type | Method and Description |
|---|---|
Object |
markRequestForSpanClosing(org.aspectj.lang.ProceedingJoinPoint pjp,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
Exception ex) |
Object |
wrapWebAsyncTaskWithCorrelationId(org.aspectj.lang.ProceedingJoinPoint pjp) |
Object |
wrapWithCorrelationId(org.aspectj.lang.ProceedingJoinPoint pjp) |
public TraceWebAspect(Tracer tracer, SpanNamer spanNamer, TraceKeys traceKeys, ErrorParser errorParser)
public Object wrapWithCorrelationId(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
Throwablepublic Object wrapWebAsyncTaskWithCorrelationId(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
ThrowableCopyright © 2018 Pivotal Software, Inc.. All rights reserved.