Traces are a goldmine of information that can help you, or your AI, find slow pages and fix them.
Next.js comes out of the box with support for tracing. Incoming requests, fetch() calls, middleware, and server-side rendering are all wired up and ready to send traces to any OpenTelemetry-compatible backend.
The catch is, unless you configure an exporter, you’ll never see those traces.
With a few lines of code and some help from the @vercel/otel library, your app can export those traces to any platform that accepts OpenTelemetry data, including Sentry.
(And if you’re trying to decide between OTLP and the Sentry SDK, we’ll cover that too.)








