| Package | Description |
|---|---|
| io.opentracing |
| Modifier and Type | Method and Description |
|---|---|
Scope |
ScopeManager.activate(Span span)
Set the specified
Span as the active instance for the current
context (usually a thread). |
Scope |
ScopeManager.activate(Span span,
boolean finishSpanOnClose)
Deprecated.
use
ScopeManager.activate(Span) instead.
Set the specified Span as the active instance for the current
context (usually a thread).
Finishing the |
Scope |
Tracer.activateSpan(Span span)
Make a
Span instance active for the current context (usually a thread). |
Scope |
ScopeManager.active()
Deprecated.
use
ScopeManager.activeSpan() instead.
Return the currently active Scope which can be used to deactivate the currently active
Span.
Observe that
Because both |
Scope |
Tracer.SpanBuilder.startActive(boolean finishSpanOnClose)
Deprecated.
use
Tracer.SpanBuilder.start() and ScopeManager.activate(Span span) instead.
Returns a newly started and activated Scope.
It is recommended to use |
Copyright © 2016–2019 OpenTracing. All rights reserved.