getsentry / getsentry/sentry-javascript

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

Aperta
#7,925 4 commenti 2 reazioni 1 assegnatario Rivendicata da @lforst Vedi su GitHub
Improvement Next.js Spans
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.