Automatically capture errors and performance bottlenecks with clear, actionable debugging context for your Next.js app—across client, server, and edge components.
Automatically capture errors and performance bottlenecks with clear, actionable debugging context for your Next.js app—across client, server, and edge components.
Just run this command to sign up for and install Sentry.
npx @sentry/wizard@latest -i nextjs
Enable Sentry Tracing by adding the below code.
import * as Sentry from '@sentry/nextjs'; Sentry.init({ dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0', // We recommend adjusting this value in production, or using tracesSampler // for finer control tracesSampleRate: 1.0, });
That's it. Check out our documentation to ensure you have the latest instructions.
Whether it's a flickering UI or missing elements, Sentry's hydration error diff tools make it easy to instantly detect and debug mismatches between server-rendered and client-rendered HTML.
Monitor response times and error rates across your Next.js API routes with automatic instrumentation.
Track execution times and errors in your edge functions with complete debugging context.
Missed database cleanups or failed API syncs can go unnoticed, leading to data inconsistencies or increased storage costs. Ensure your scheduled tasks are running on time and without errors with Sentry’s cron monitoring.
Get real-time alerts when your application is unavailable, so you can respond quickly before it impacts your users.
Get started with the only application monitoring platform that empowers developers to fix application problems without compromising on velocity.