ci: migrate to @sentry/nuxt
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import * as Sentry from '@sentry/nuxt';
|
||||
import { envConfig } from '~/utils/environment'
|
||||
|
||||
const env = envConfig(window.location.hostname)
|
||||
|
||||
Sentry.init({
|
||||
enabled: env.sentryEnabled,
|
||||
dsn: 'https://da2e8d42185a4013909d49955432a116@o365290.ingest.sentry.io/5187660',
|
||||
integrations: [
|
||||
Sentry.browserTracingIntegration({ traceFetch: false }),
|
||||
Sentry.replayIntegration(),
|
||||
],
|
||||
environment: env.name,
|
||||
tracesSampleRate: env.tracesSampleRate,
|
||||
replaysSessionSampleRate: env.replaysSessionSampleRate,
|
||||
replaysOnErrorSampleRate: env.replaysOnErrorSampleRate,
|
||||
})
|
||||
Reference in New Issue
Block a user