You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of this, we could also add a Tracer.start_as_current_span() (or with a similar name) method that would essentially do:
defstart_as_current_span(self, ..., end_on_exit): # Guess end_on_exit should be optional as wellspan=self.start_span(...)
returnself.use_span(span, end_on_exit)
cc @Oberon00 (whose latest PR I sadly missed - sorry ;( )
The text was updated successfully, but these errors were encountered:
As part of open-telemetry/opentelemetry-specification#238 we should not set the newly created
Span
as the current instance forTracer.start_span()
.As part of this, we could also add a
Tracer.start_as_current_span()
(or with a similar name) method that would essentially do:cc @Oberon00 (whose latest PR I sadly missed - sorry ;( )
The text was updated successfully, but these errors were encountered: