import * as Sentry from "@sentry/nextjs"; // Use a placeholder DSN on the client as the real one is injected by our relay const CLIENT_DSN = "https://public@errors.infra.mintel.me/1"; Sentry.init({ dsn: CLIENT_DSN, // Relay events through our own server to hide the real DSN and bypass ad-blockers tunnel: "/errors/api/relay", enabled: true, tracesSampleRate: 0, // No session replay: the privacy notice says sessions are not recorded. replaysOnErrorSampleRate: 0, replaysSessionSampleRate: 0, });