-
Notifications
You must be signed in to change notification settings - Fork 481
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
Context cannot be transferred across services #418
Comments
@felipejfc Hope to see this issue soon |
You're right, ctx is currently not propagated. However, there's default integration with Opentelemetry already in master branch. See the docs. Here |
Thanks,In the future, are there plans to support propagation to enable cross-service link tracking? |
Can you be more specific about which kind of key/values you will be propagating? I'm thinking about a more transparent way of context propagation that will happen automatically, so gathering some info on use cases would be helpful |
We hope to use OpenTelemetry while passing the engine's existing 'request_id' to provide more detailed and convenient tracking and logging.Since we are using V2, we are connecting to opentelemetry ourselves |
description
I tried passing the context in RPC() and RPCTo() in V2, but the receiving end always received an empty context. I checked the context when sending through a breakpoint and confirmed that it contained the information I expected.
Is this by design or an exception?
(💡which prevents me from using opentelemetry to track links across services)
Code Snippet:
Expected results:
test context:119991
Actual results:
test context:<nil>
The text was updated successfully, but these errors were encountered: