Propagation issues with Apollo and Express #2361
Unanswered
amitgud-doordash
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Created this repro example for the 2 issues I'm reporting: amitgud-doordash/opentelemetry-js-contrib#1
This example repros 2 propagation issues with Node GraphQL.
Issue 1:
The injection of baggage in the express middleware does not get propagated to the subsequent middleware with the presence of HttpInstrumentation(). Note: This works if HttpInstrumentation() is removed.
Steps to repro:
npm run server:express
npm run client
Expected:
Observed:
Issue 2:
Baggage injected in the express middleware does not get propagated to Apollo GraphQL resolvers (apollo-server-express).
Steps to repro:
npm run server:apollo
npm run client
getdata baggage
printed appears undefined.Expected:
Observed:
Beta Was this translation helpful? Give feedback.
All reactions