Closed mohabusama closed 3 years ago
opentracing==2.0 introduced scope manager API. The tracer is responsible for scope_manager implementation.
opentracing==2.0
scope_manager
The order for detecting parent spans needs to be updated. I suggest one of the following two orders:
opentracing.tracer.active_span
span_extractor
as span_extractor and passing spans in kwargs is more explicit.
kwargs
opentracing==2.0
introduced scope manager API. The tracer is responsible forscope_manager
implementation.The order for detecting parent spans needs to be updated. I suggest one of the following two orders:
Scope manager first
opentracing.tracer.active_span
managed by the tracer context manager. The new span will be using the scope manager.span_extractor
.Explicit first
span_extractor
.opentracing.tracer.active_span
managed by the tracer context manager. The new span will be using the scope manager.as
span_extractor
and passing spans inkwargs
is more explicit.