You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 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,
Code
import * as Sentry from "@sentry/react";
Sentry.init({
dsn: "https://ed888341c7b6476a8c645e5f3c259bed@o4504077519224832.ingest.sentry.io/4504116882112512",
// 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,
integrations: [new Sentry.Replay()],
});
Reference Link to Sentry Session Replay
https://sentry.io/for/session-replay/
The text was updated successfully, but these errors were encountered: