Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Sentry session replay #500

Open
kopitek8 opened this issue Jan 23, 2023 · 0 comments
Open

Add Sentry session replay #500

kopitek8 opened this issue Jan 23, 2023 · 0 comments
Assignees
Labels
bug Something isn't working diff-mid
Milestone

Comments

@kopitek8
Copy link
Collaborator

kopitek8 commented Jan 23, 2023

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/

@kopitek8 kopitek8 added the bug Something isn't working label Jan 23, 2023
@kopitek8 kopitek8 added this to the M5: Version 2 milestone Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working diff-mid
Projects
None yet
Development

No branches or pull requests

2 participants