Skip to content

Commit

Permalink
feat(sentry): tracking components
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Mar 26, 2022
1 parent 7b23dec commit 9fb7747
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/better-write-app/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ Sentry.init({
}),
],
logErrors: true,
tracesSampleRate: 1.0,
tracesSampleRate: env.isDev() ? 1.0 : 0.1,
trackComponents: true,
hooks: ['activate', 'mount', 'update', 'destroy', 'create']
})

router.isReady().then(() => app.mount('#app'))

0 comments on commit 9fb7747

Please sign in to comment.