public interface Tracer
Modifier and Type | Method and Description |
---|---|
void |
addScopeListener(ScopeListener listener)
Attach a scope listener to the global scope manager
|
boolean |
addTraceInterceptor(TraceInterceptor traceInterceptor)
Add a new interceptor to the tracer.
|
String |
getSpanId()
Get the span id of the active span of the active trace.
|
String |
getTraceId()
Get the trace id of the active trace.
|
String getTraceId()
String getSpanId()
boolean addTraceInterceptor(TraceInterceptor traceInterceptor)
traceInterceptor
- void addScopeListener(ScopeListener listener)
listener
- listener to attach