getsentry / getsentry/sentry-javascript
[Next.js] Mark Cold Start When Deployed To Vercel
Open
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
Assessment
This issue has not been assessed yet.