Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
8.17.0
Framework Version
next latest
Link to Sentry event
No response
SDK Setup/Reproduction Example
https://github.com/adam187/nextjs-sentry-otel-example
Steps to Reproduce
- yarn install
- yarn build
- yarn start
- curl 'http://localhost:3000'
Expected Result
All otel spans should have same trace id for single request.
Actual Result
Sentry creates own isolated scope that cause having spans from single splitted into two separate traces.

This is problematic since you can't view full trace for a single request.
Metadata
Metadata
Type
Projects
Status
No status