Repository navigation
Commit fb27207
fix(nuxt): Remove redundant Nitro 3 route-name plugin
On Nitro 3, `@sentry/server-utils`' `nitroIntegration` (auto-injected via
`@sentry/node`'s defaults) already sets the parametrized route name and
`url.path.parameter.*` attributes for API routes, and `route-detector.server`
handles SSR page routes. Nuxt's `update-route-name.server` set the same
attributes on the same span — redundant work with no extra telemetry — so it is
removed for Nitro 3. Legacy Nitro (v2), which has no native tracing channels,
keeps its own plugin, and the shared `updateRouteBeforeResponse` hook stays for
the legacy and Cloudflare paths.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f882315 commit fb27207
2 files changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
This file was deleted.
0 commit comments