-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDKType: Improvement
Description
Problem Statement
If a client requests a server component we would like to continue traces if there was an active transaction.
Solution Brainstorm
Get headers via headers() in server component and just continue the trace. Builds on #7176
Right now there is a complication though. Next.js uses AsyncLocalStorage to propagate headers without having to explicitly pass them around and up until now I have found no way to call headers() from within a wrapper without running into some issue with AsyncLocalStorage.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDKType: Improvement
Fields
Give feedbackNo fields configured for issues without a type.