getsentry / getsentry/sentry-javascript

Instrumenting Next.js SSR process

Đang mở
#16,427 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Feature Next.js
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
515

Mô tả

### 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.

![Image](https://github.com/user-attachments/assets/9937b240-c0f0-4e3a-beac-d95938a9aa15)

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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.