ActiveSpan.Continuation active and
return it.ActiveSpan inherits all of the OpenTracing functionality in BaseSpan and layers on in-process
propagation capabilities.active span.ActiveSpan.Continuation can be used once to activate a Span along with any non-OpenTracing execution
context (e.g., MDC), then deactivate when processing activity moves on to another Span.ActiveSpanSource allows an existing (possibly thread-local-aware) execution context provider to act as a
source for an actively-scheduled OpenTracing Span.BaseSpan represents the OpenTracing specification's span contract with the exception of methods to finish
said span.ActiveSpan.Continuation associated with this ActiveSpan and Span, as well as any
3rd-party execution context of interest.ActiveSpan.deactivate() that can be used in try-with-resources blocks.ActiveSpan.References.CHILD_OF reference to the ActiveSpanSource.activeSpan()).BaseSpan.log(Map) like this
span.log(Map.of("event", "timeout"))
or
span.log(timestampMicroseconds, Map.of("event", "exception", "payload", stackTrace))BaseSpan.log(Map) like this
span.log(timestampMicroseconds, Map.of("event", "timeout"))
or
span.log(timestampMicroseconds, Map.of("event", "exception", "payload", stackTrace))Span by encapsulating it – and any active state (e.g., MDC state) in the
current thread – in a new ActiveSpan.BaseSpan.setTag(String, String), but for boolean values.BaseSpan.setTag(String, String), but for numeric values.IntTag instead.Tracer.SpanBuilder.startManual() or Tracer.SpanBuilder.startActive() instead.ActiveSpan.Tracer.SpanBuilder.startActive(), but the returned Span has not been registered via the
ActiveSpanSource.BaseSpan.setTag(String, String), but for the span being built.BaseSpan.setTag(String, boolean), but for the span being built.BaseSpan.setTag(String, Number), but for the span being built.Copyright © 2016–2017 OpenTracing. All rights reserved.