-
- All Implemented Interfaces:
-
com.datadog.trace.bootstrap.instrumentation.api.ScopeStateAware
public interface AgentScopeManager implements ScopeStateAware
Allows custom scope managers. See OTScopeManager, CustomScopeManager, and ContextualScopeManager
-
-
Method Summary
Modifier and Type Method Description abstract AgentScopeactivate(AgentSpan span, ScopeSource source)abstract AgentScopeactivate(AgentSpan span, ScopeSource source, boolean isAsyncPropagating)abstract AgentScopeactive()abstract AgentSpanactiveSpan()abstract AgentScope.ContinuationcaptureSpan(AgentSpan span)abstract voidclosePrevious(boolean finishSpan)abstract AgentScopeactivateNext(AgentSpan span)-
-
Method Detail
-
activate
abstract AgentScope activate(AgentSpan span, ScopeSource source)
-
activate
abstract AgentScope activate(AgentSpan span, ScopeSource source, boolean isAsyncPropagating)
-
active
abstract AgentScope active()
-
activeSpan
abstract AgentSpan activeSpan()
-
captureSpan
abstract AgentScope.Continuation captureSpan(AgentSpan span)
-
closePrevious
abstract void closePrevious(boolean finishSpan)
-
activateNext
abstract AgentScope activateNext(AgentSpan span)
-
-
-
-