sentry.server.config.js 279 B

1234567891011
  1. import * as Sentry from '@sentry/nextjs'
  2. Sentry.init({
  3. dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
  4. // Set tracesSampleRate to 1.0 to capture 100%
  5. // of transactions for performance monitoring.
  6. // We recommend adjusting this value in production
  7. tracesSampleRate: 0.1,
  8. })