feat: add spotlight integration to Sentry initialization
This commit is contained in:
parent
691d15db03
commit
de74191bab
|
|
@ -22,6 +22,7 @@ export const initializeSentry = (appName: string, allowLogs = false) => {
|
|||
},
|
||||
environment: process.env.NODE_ENV || 'development',
|
||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
spotlight: process.env.SENTRY_SPOTLIGHT === '1',
|
||||
integrations: [
|
||||
// Add our Profiling integration
|
||||
nodeProfilingIntegration(),
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ export const initializeSentryBasic = (environment: string, dsn: string, extensio
|
|||
Sentry.consoleLoggingIntegration({ levels: ['log', 'info', 'warn', 'error', 'debug', 'assert', 'trace'] }),
|
||||
],
|
||||
environment: environment || 'development',
|
||||
spotlight: process.env.SENTRY_SPOTLIGHT === '1',
|
||||
dsn,
|
||||
sendDefaultPii: true,
|
||||
...extension,
|
||||
|
|
|
|||
Loading…
Reference in New Issue