Distributed Tracing | Debugging your Next.js applications with Sentry

Apr 2, 2026

Sometimes a simple stack trace won’t provide enough information for you to debug the issue at hand. There are types of issues that require you to know what happened leading up to the exception. In those cases, reach for tracing. Distributed tracing gives you an overview of every operation that happened during the execution of a certain functionality across your whole stack. Aside from being an awesome debugging tool, it also lets you identify any performance bottlenecks in your application. In this video you’ll learn how to view traces in Sentry and implement them in your Next.js application.

Distributed Tracing docs: https://docs.sentry.io/platforms/javascript/guides/nextjs/tracing/distributed-tracing/
Distributed Tracing Inner Workings article: https://blog.sentry.io/distributed-tracing-inner-workings/

Try Sentry: https://sentry.io
Docs: https://docs.sentry.io
Follow: https://twitter.com/sentry