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 to track Javascript exceptions #77

Closed
wants to merge 1 commit into from
Closed

Conversation

BjrInt
Copy link
Member

@BjrInt BjrInt commented Jan 25, 2023

Added Sentry as a way to track Javascript errors and trace warnings.

Caveat

Most browsers (tested on Brave, Firefox) are blocking trackers by default, including Sentry, which does not make this feature really valuable.
image

closes #14

@BjrInt BjrInt requested a review from hoh January 25, 2023 15:00
@github-actions
Copy link

// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 0.25
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not 1.0 ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://docs.sentry.io/platforms/javascript/performance/#verify

Sampling at a high frequency might impact the performance, even more so that most errors happens at initial rendering and there are not a lot of realtime interactions (mouse tracking, etc).
Could be higher though.

@BjrInt
Copy link
Member Author

BjrInt commented Feb 9, 2023

Closing this for now.

@BjrInt BjrInt closed this Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When an error happens in the Javascript, the developers should receive a notification
2 participants