Skip to main content
General
Observability

Overview

Monitor your application's performance and track errors.

Open MarkdownFull AI corpusFeedback

The Pro Next.js Prisma starter kit includes structured logging and optional integrations for error, traffic and performance monitoring. Installing code is only the first step: Sentry and Vercel services must be enabled and verified in the environments where you expect them to collect data.

What works after setup

CapabilityIncluded in the repositoryRequired activation
Structured logsPino logger, grouped loggers and request contextChoose NEXT_PUBLIC_LOG_LEVEL and configure a log destination if needed
SentryClient, server and edge instrumentation plus build configAdd a Sentry project and DSN; add build credentials for source maps
Vercel Analytics<Analytics /> in the root layoutEnable Web Analytics for the deployed Vercel project
Vercel Speed Insights<SpeedInsights /> in the root layoutEnable Speed Insights for the deployed Vercel project

Leaving a provider unconfigured should not stop the application from running, but that provider will not give you useful production telemetry.

Verify production monitoring

After deploying, prove that each enabled signal reaches its destination:

  1. Write a uniquely named structured log and find it in the deployment logs.
  2. Send a controlled test exception to Sentry and confirm that its stack trace resolves to the original source.
  3. Visit two or three production routes, then confirm page views appear in Vercel Analytics.
  4. Load a public page from a real browser and confirm Speed Insights begins collecting field data. This data may not appear immediately.
  5. Remove the test exception after verification and configure alerts for business-critical failures such as authentication, checkout and webhooks.