getsentry / getsentry/sentry-javascript

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

Offen
#7,925 4 Kommentare 2 Reaktionen 1 zugewiesene Person Beansprucht von @lforst Auf GitHub ansehen
Improvement Next.js Spans
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
515

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.