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

When a server uses threads, it loses the context of the context manager #61

Open
spellr opened this issue Aug 12, 2018 · 1 comment
Open
Labels

Comments

@spellr
Copy link

spellr commented Aug 12, 2018

If a server uses threads, i.e. to send requests concurrently to other servers, the threads lose the context stored in the context manager caller thread.
This means the threads won't have the context stored by the context manager, and they'll open a new trace.

@yurishkuro
Copy link
Contributor

If your server is managing threads manually, the instrumentation has no way of knowing what the correct causality semantics of operations between those threads are. You may have to manage context propagation manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants