Next.js Instrumentation Hook: OpenTelemetry Traces and Custom Spans (2026)
Wire OpenTelemetry into Next.js with instrumentation.ts, @vercel/otel, custom spans, and onRequestError. Real traces you can actually read in prod.
Wire OpenTelemetry into Next.js with instrumentation.ts, @vercel/otel, custom spans, and onRequestError. Real traces you can actually read in prod.
Adding Sentry to a Next.js app takes one command. Here is how to capture Server Component errors, upload source maps with Turbopack, and bypass ad blockers in Next.js 16.