Sentry tracker added replay configuration..

This commit is contained in:
Cüneyt Şentürk 2023-02-23 12:45:13 +03:00
parent 0ff041467d
commit 614c25002c

View File

@ -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({