Method and Description |
---|
io.opentracing.ScopeManager.activate(Span, boolean)
use
ScopeManager.activate(Span) instead.
Set the specified Span as the active instance for the current
context (usually a thread).
Finishing the
|
io.opentracing.ScopeManager.active()
use
ScopeManager.activeSpan() instead.
Return the currently active Scope which can be used to deactivate the currently active
Span .
Observe that
Because both |
io.opentracing.tag.StringTag.set(Span, StringTag)
as using the tag *key* as tag value is not usually required.
|
io.opentracing.Scope.span()
use
Span directly or access it through ScopeManager.activeSpan()
Return the corresponding active Span for this instance. |
io.opentracing.Tracer.SpanBuilder.startActive(boolean)
use
Tracer.SpanBuilder.start() and ScopeManager.activate(Span span) instead.
Returns a newly started and activated Scope .
It is recommended to use
|
io.opentracing.Tracer.SpanBuilder.startManual()
use
Tracer.SpanBuilder.start() instead. |
Copyright © 2016–2019 OpenTracing. All rights reserved.