getsentry / getsentry/sentry-javascript

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

Ouverte
#7,925 4 commentaires 2 réactions 1 personne assignée Réclamée par @lforst Voir sur GitHub
Improvement Next.js Spans
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.