getsentry / getsentry/sentry-javascript

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

Open
#7,925 4 comments 2 reactions 1 assignee Claimed by @lforst View on GitHub
Improvement Next.js Spans
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.