Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy current context entries in with_span #58

Merged
merged 4 commits into from
Jan 16, 2023

Conversation

plantfansam
Copy link
Contributor

@plantfansam plantfansam commented Jan 12, 2023

I found this bug when investigating why the Baggage Propagator was not working. The propagator extraction works fine, but when we create new spans with with_span, we do not copy the parent context's entries, so when we inject, there's nothing there.

@yangxikun yangxikun marked this pull request as ready for review January 16, 2023 07:34
@yangxikun yangxikun merged commit 8d9e5f2 into yangxikun:main Jan 16, 2023
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