SSR, ContextManager, Propagation and tracerProviders #2771
Unanswered
Nighttraveler
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
-
Hi guys,
We finished setting up a JAVA service and to continue with distributed tracing we want to add Otel to a Next.js app in a monorepo setup.
We have some issues with multiple registrations of the API, with that fixed, now the context manager seems not to be working properly.
We tried with
AsyncHooksContextManager
but next.js complains about it, even in the server side, I guess while doing the SSR?We manage to use ZoneContextManager in the frontend with a local require import.
We tried in the server to use the StackedContextManager provided in Web SDK but no luck with it.
Which brings me to the next question:
For example :
Here is the initialization code:
Beta Was this translation helpful? Give feedback.
All reactions