getsentry / getsentry/sentry-javascript
Populate attributes for the Next.js insights page for Turbopack
オープン
Task
- 主要言語
- TypeScript
- スター
- 8.7k
- フォーク
- 1.8k
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 515
説明
### 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.
コントリビューションガイド
評価
この issue はまだ評価されていません。