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

Propagate full context #1350

Merged
merged 2 commits into from
Oct 9, 2020
Merged

Conversation

trask
Copy link
Member

@trask trask commented Oct 9, 2020

I didn't realize, there were still many places we were only propagating Span as opposed to the full Context

@trask trask marked this pull request as ready for review October 9, 2020 04:19
== null) {
contextStore.get(channel).setConnectionContinuation(span);
contextStore.get(channel).setConnectionContext(context);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing this made me realize how nervous our propagation patterns make me. Sometimes we propagate the invocation context to remount for an async callback, sometimes the context of the span itself. Makes my head spin 🤯 Don't have a good answer but just food for thought.

@iNikem iNikem merged commit 9605789 into open-telemetry:master Oct 9, 2020
@trask trask deleted the propagate-full-context branch October 13, 2020 03:24
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.

None yet

3 participants