-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDKType: Improvement
Description
Problem Statement
The Next.js SDK currently doesn't trace fetch calls on the edge runtime:
- No spans for outgoing requests
- No trace headers on outgoing requests
Solution Brainstorm
A quick test showed that using our browser implementation to patch fetch works for local builds but doesn't on Vercel.
Potential solutions:
- Find a solution to monkey patch
fetchthrough collaboration with Vercel - Wrap individual fetch calls via a webpack loader + AST magic
mrpatrickpilch and zcarlson-gmgt
Metadata
Metadata
Assignees
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDKType: Improvement