sentry.client.config.js 810 B

1234567891011121314151617181920212223
  1. import * as Sentry from "@sentry/nextjs";
  2. Sentry.init({
  3. dsn: "https://6bf48a450f054d749398c02a61bae343@o4505264807215104.ingest.sentry.io/4505264809115648",
  4. // Replay may only be enabled for the client-side
  5. integrations: [new Sentry.Replay()],
  6. // Set tracesSampleRate to 1.0 to capture 100%
  7. // of transactions for performance monitoring.
  8. // We recommend adjusting this value in production
  9. tracesSampleRate: 1.0,
  10. // Capture Replay for 10% of all sessions,
  11. // plus for 100% of sessions with an error
  12. replaysSessionSampleRate: 0.1,
  13. replaysOnErrorSampleRate: 1.0,
  14. // ...
  15. // Note: if you want to override the automatic release value, do not set a
  16. // `release` value here - use the environment variable `SENTRY_RELEASE`, so
  17. // that it will also get attached to your source maps
  18. });