getsentry / getsentry/sentry-javascript
Populate attributes for the Next.js insights page for Turbopack
Ouverte
Task
- Langage dominant
- TypeScript
- Étoiles
- 8.7k
- Forks
- 1.8k
- Merge moyen
- 1 j 17 h
- PR mergées (30 j)
- 515
Description
### Description
We require two attributes on certain spans for the Next.js insights page:
* `sentry.nextjs.function.type` (for example `"Page"`, `"Layout"`, `"generateMetadata"`)
* `sentry.nextjs.function.route` (for example `"/foo/bar/[id]/page"` or `"/foo/bar/[id]/layout`)
The spans that should have these attributes are the default export functions for Page, Layout, etc. files, and all generation functions.
This probably just involves taking spans emitted by Next.js and transforming them to have the right attributes.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.