Skip to content

Conversation

@abr-egn
Copy link
Contributor

@abr-egn abr-egn commented Oct 29, 2025

This pulls in a few tidy-ups from my tracing spans branch (that I'm calling Not Worth The Effort):

  • .with_current_context() is only actually needed if you're putting the future on a different task, which in turn means otel_stub isn't needed at all.
  • created a thin wrapper around with_context so OpSpan.context can stay private to the otel module.

@abr-egn abr-egn marked this pull request as ready for review October 29, 2025 14:21
@abr-egn abr-egn requested a review from a team as a code owner October 29, 2025 14:21
@abr-egn abr-egn merged commit 83a1544 into mongodb:main Oct 31, 2025
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants