Disable ALL auto-instrumentation and trace in Next.js but keep manual startSpan() working
#18423
Unanswered
programming-with-ia
asked this question in
Q&A
Replies: 1 comment
-
Here's a screenshot even with all auto instrumentation options disabled, Next.js still generates spans. How can I fully disable them so only manual `startSpan()` runs?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
How do I disable ALL automatic Sentry performance instrumentation in Next.js (App Router) — HTTP, middleware, fetch, route handlers — while still allowing manual
startSpan()calls to work?defaultIntegrations: false+integrations: []anddoesn’t stop Next.js from generating auto spans, and
instrumenter: "custom"isn't supported in Next.js.What’s the correct config to make tracing fully manual-only?
Beta Was this translation helpful? Give feedback.
All reactions