Skip to content

Conversation

Zylphrex
Copy link
Member

When using otel as the instrumentor, the NoOpSpan needs to update the scope when it's used as a context manager. If it does not, then this differs from the usual behaviour of a span and the end user may start seeing an unexpected None on the scope.

When using otel as the instrumentor, the NoOpSpan needs to update the scope when it's used as a context manager. If it does not, then this differs from the usual behaviour of a span and the end user may start seeing an unexpected `None` on the scope.
@Zylphrex Zylphrex merged commit 1445c73 into master Jan 17, 2023
@Zylphrex Zylphrex deleted the txiao/fix/no-op-span-updates-scope branch January 17, 2023 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants