| 1234567891011121314151617181920212223242526272829303132 |
- import * as Sentry from '@sentry/nuxt'
- Sentry.init({
- // If set up, you can use your runtime config here
- // dsn: useRuntimeConfig().public.sentry.dsn,
- dsn: 'https://5a42d73350e084df0891c0c7e0e5ba3a@o4510503923220480.ingest.us.sentry.io/4510503931346944',
- // We recommend adjusting this value in production, or using tracesSampler
- // for finer control
- tracesSampleRate: 1.0,
- // This sets the sample rate to be 10%. You may want this to be 100% while
- // in development and sample at a lower rate in production
- replaysSessionSampleRate: 0.1,
- // If the entire session is not sampled, use the below sample rate to sample
- // sessions when an error occurs.
- replaysOnErrorSampleRate: 1.0,
- // If you don't want to use Session Replay, just remove the line below:
- integrations: [Sentry.replayIntegration()],
- // Enable logs to be sent to Sentry
- enableLogs: true,
- // Enable sending of user PII (Personally Identifiable Information)
- // https://docs.sentry.io/platforms/javascript/guides/nuxt/configuration/options/#sendDefaultPii
- sendDefaultPii: true,
- // Setting this option to true will print useful information to the console while you're setting up Sentry.
- debug: false,
- })
|