-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Labels
Description
Version
@nuxtjs/sentry: 7.1.10
nuxt: 2.16.3
Sentry configuration
not working:
sentry: {
dsn: process.env.SENTRY_DSN_VUE,
config: {
debug: true,
normalizeDepth: 6,
release: `xy@${process.env.COMMIT_HASH || (process.env.NODE_ENV === 'development' ? 'local' : 'unknown')}`,
},
clientConfig: {
allowUrls: ['xy.local','xy.com'],
},
clientIntegrations: {
CaptureConsole: {
levels: ['error']
},
ReportingObserver: {
types: ['crash']
}
},
serverIntegrations: {
CaptureConsole: {
levels: ['error']
}
},
tracing: {
tracesSampleRate: process.env.NODE_ENV === 'production' ? 0.00001 : 1,
vueOptions: {
tracing: true,
hooks: ['activate', 'mount', 'update'],
timeout: 2000,
trackComponents: true
},
browserTracing: {
tracePropagationTargets: ['xy.local', 'xy.com', /^\//],
}
},
},working:
sentry: {
dsn: process.env.SENTRY_DSN_VUE,
config: {
debug: true,
normalizeDepth: 6,
release: `xy@${process.env.COMMIT_HASH || (process.env.NODE_ENV === 'development' ? 'local' : 'unknown')}`,
},
clientConfig: {
allowUrls: ['xy.local','xy.com'],
},
clientIntegrations: {
CaptureConsole: {
levels: ['error']
},
ReportingObserver: {
types: ['crash']
}
},
serverIntegrations: {
CaptureConsole: {
levels: ['error']
}
},
/* tracing: {
tracesSampleRate: process.env.NODE_ENV === 'production' ? 0.00001 : 1,
vueOptions: {
tracing: true,
hooks: ['activate', 'mount', 'update'],
timeout: 2000,
trackComponents: true
},
browserTracing: {
tracePropagationTargets: ['xy.local', 'xy.com', /^\//],
}
},*/
},Reproduction Link
Steps to reproduce
What is Expected?
no error
What is actually happening?
Reactions are currently unavailable
