Creator
Security

Monitoring

Error tracking with Sentry.

Creator uses Sentry for error tracking across server and edge runtimes.

Setup

  1. Create a project at sentry.io
  2. Set environment variables:
NEXT_PUBLIC_SENTRY_DSN=""
SENTRY_DSN=""

# Only needed for source map uploads in CI/production builds
SENTRY_AUTH_TOKEN=""
SENTRY_ORG=""
SENTRY_PROJECT=""

Leave SENTRY_DSN empty to disable Sentry entirely — the init files check for it before initializing.

Configuration files

FilePurpose
sentry.server.config.tsServer-side Sentry init
sentry.edge.config.tsEdge runtime Sentry init
next.config.tsWraps config with withSentryConfig()

Trace sample rate

The default tracesSampleRate is 1 (100% of traces). For high-traffic applications, lower this in the config files to reduce costs.

On this page

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.