Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

setting up @sentry/nextjs with @vercel/otel #16861

Unanswered
stefanprobst asked this question in Q&A
Discussion options

could anybody share an example setup combining @sentry/nextjs with a opentelemetry collector config as described in the nextjs docs. thanks!

You must be logged in to vote

Replies: 1 comment

Comment options

Hey, as of now you need to follow our docs on this here: https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/custom-setup/ or e.g. here: https://docs.sentry.io/platforms/javascript/guides/nextjs/opentelemetry/using-opentelemetry-apis/#adding-additional-span-processors

If all you want is to also export traces to some other place, you can add a custom span processor to the sentry setup.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /