getsentry / getsentry/sentry-javascript
Instrumenting Next.js SSR process
Open
Feature
Next.js
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 523
Description
### Problem Statement
Looking at the Next.js trace it produces out of the box, there's a period after "data fetching" and starting to send back the response that's not instrumented and looks blank.

I'm assuming this is when Next.js renders the React component subtree, and generates HTML + RSC Payload, but it's not really self-explanatory. Is it possible to add spans to make it clear to the users what happens during that period?
### Solution Brainstorm
Spans!
Contributor guide
Assessment
This issue has not been assessed yet.