Opentracing thread-local propagation In-process thread-local propagation of spans. Usage import io.opentracing.Span; import io.opentracing.threadcontext.ThreadContextSpan; Span span = ... ThreadContextSpan.withSpan(span, () -> { ThreadContextSpan.get(); // current Span });