getsentry / getsentry/sentry-javascript

[Next.js] Mark Cold Start When Deployed To Vercel

Đang mở
#7,925 4 bình luận 2 reaction 1 người được giao Được @lforst nhận Xem trên GitHub
Improvement Next.js Spans
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

Customers would like to be able to differentiate events based on whether or not they are associated with a cold-start of a severless function.

The initial request specifically mentions Next.js when deployed to vercel.

### Solution Brainstorm

Identifying whether or not the event context is from a cold-start using a tag may be very helpful.

Examples:

- alerting on % change for transaction duration only when considering a hot-start
- knowing whether an error is associated only with cold starts

cc @lforst

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.