-
public interface TraceInterceptor
-
-
Method Summary
Modifier and Type Method Description abstract Collection<out MutableSpan>onTraceComplete(Collection<out MutableSpan> trace)After a trace is "complete" but before it is written, it is provided to the interceptors tomodify. abstract intpriority()-
-
Method Detail
-
onTraceComplete
abstract Collection<out MutableSpan> onTraceComplete(Collection<out MutableSpan> trace)
After a trace is "complete" but before it is written, it is provided to the interceptors tomodify. The result following all interceptors is sampled then sent to the trace writer.
- Parameters:
trace- - The collection of spans that represent a trace.
-
priority
abstract int priority()
-
-
-
-