Sentry tracker added replay configuration..
This commit is contained in:
parent
0ff041467d
commit
614c25002c
@ -6,16 +6,27 @@ export default {
|
||||
Sentry.init({
|
||||
Vue,
|
||||
dsn: exception_tracker.action,
|
||||
|
||||
logErrors: true,
|
||||
|
||||
integrations: [
|
||||
new BrowserTracing({
|
||||
tracingOrigins: [],
|
||||
}),
|
||||
new Sentry.Replay()
|
||||
],
|
||||
// Set tracesSampleRate to 1.0 to capture 100%
|
||||
// of transactions for performance monitoring.
|
||||
// We recommend adjusting this value in production
|
||||
tracesSampleRate: exception_tracker.params.traces_sample_rate,
|
||||
|
||||
// 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,
|
||||
});
|
||||
|
||||
Sentry.setUser({
|
||||
|
Loading…
x
Reference in New Issue
Block a user