chore(sentry): sample traces JS, 0.1 for a start

This commit is contained in:
Colin Darie 2023-02-06 11:14:38 +01:00
parent cb98bbad21
commit bfb96b6cb3

View file

@ -10,6 +10,7 @@ if (enabled && key) {
Sentry.init({ Sentry.init({
dsn: key, dsn: key,
environment, environment,
tracesSampleRate: 0.1,
ignoreErrors: [ ignoreErrors: [
// Ignore errors generated by a Microsoft crawler. // Ignore errors generated by a Microsoft crawler.
// See https://forum.sentry.io/t/unhandledrejection-non-error-promise-rejection-captured-with-value/14062 // See https://forum.sentry.io/t/unhandledrejection-non-error-promise-rejection-captured-with-value/14062