Skip to content

Commit

Permalink
feat: reduce sentry tracesSampleRate
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHeidar authored and He1DAr committed Jan 26, 2022
1 parent 32dbd96 commit a08a36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/utils/sentry-init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function initSentry() {
Sentry.init({
dsn: process.env.SENTRY_DSN,
integrations: [new Integrations.BrowserTracing()],
tracesSampleRate: 1.0,
tracesSampleRate: 0.1,
enabled: checkUserHasGrantedPermission(),
beforeSend(event) {
if (!checkUserHasGrantedPermission()) return null;
Expand Down

0 comments on commit a08a36d

Please sign in to comment.