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

Install Sentry replay feature #1103

Closed
jonsnowpt opened this issue Mar 6, 2023 · 2 comments
Closed

Install Sentry replay feature #1103

jonsnowpt opened this issue Mar 6, 2023 · 2 comments
Assignees
Labels
📣 [A] high priority Something that needs attention and accelerated resolving documentation Improvements or additions to documentation

Comments

@jonsnowpt
Copy link
Contributor

To get visuals on Sentry errors, install session replay:

https://betarena.sentry.io/replays/?project=5988452#replay-sidequest

# Using yarn
yarn add @sentry/browser

# Using npm
npm install --save @sentry/browser
import * as Sentry from "@sentry/browser";

Sentry.init({
  dsn: "https://[email protected]/6275655",

  // 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()],
});

https://docs.sentry.io/platforms/javascript/session-replay/?_ga=2.73359958.476408623.1678100699-892147262.1643357653

Image

@jonsnowpt jonsnowpt converted this from a draft issue Mar 6, 2023
@jonsnowpt jonsnowpt added documentation Improvements or additions to documentation 📣 [A] high priority Something that needs attention and accelerated resolving labels Mar 6, 2023
@jonsnowpt jonsnowpt self-assigned this Mar 6, 2023
@jonsnowpt jonsnowpt moved this from Todo to Icebox in Betarena Scores Mar 6, 2023
@jonsnowpt jonsnowpt moved this from Icebox to Todo in Betarena Scores Mar 8, 2023
@jonsnowpt jonsnowpt assigned migbash and unassigned jonsnowpt Mar 8, 2023
@migbash
Copy link
Collaborator

migbash commented Mar 13, 2023

NOTE

updated

@migbash migbash moved this from Todo to Testing in Betarena Scores Mar 13, 2023
migbash added a commit that referenced this issue Mar 13, 2023
@jonsnowpt
Copy link
Contributor Author

Checking on PROD.

@github-project-automation github-project-automation bot moved this from Testing to Done in Betarena Scores Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📣 [A] high priority Something that needs attention and accelerated resolving documentation Improvements or additions to documentation
Projects
Archived in project
Development

No branches or pull requests

2 participants