1234567891011121314 |
- import * as Sentry from '@sentry/nuxt'
- const { public: { SENTRY_DSN } } = useRuntimeConfig()
- Sentry.init({
- dsn: import.meta.dev ? '' : SENTRY_DSN,
- integrations: [Sentry.replayIntegration()],
- tracesSampleRate: 1.0,
- tracePropagationTargets: ['localhost'],
- replaysSessionSampleRate: 0.1,
- replaysOnErrorSampleRate: 1.0,
- })
|