diff --git a/packages/insomnia/src/ui/sentry.ts b/packages/insomnia/src/ui/sentry.ts index 4b28dc42b..ecf775fe7 100644 --- a/packages/insomnia/src/ui/sentry.ts +++ b/packages/insomnia/src/ui/sentry.ts @@ -20,6 +20,13 @@ function sentryWatchUserInfo() { } export function initializeSentry() { - Sentry.init(SENTRY_OPTIONS); + Sentry.init({ + ...SENTRY_OPTIONS, + // enable sentry tracing + integrations: [Sentry.browserTracingIntegration()], + // set 0.1 sample rate for traces, only send 10% of traces, and check whether the limit is exceeded + // https://konghq.sentry.io/settings/billing/overview/?category=transactions + tracesSampleRate: 0.1, + }); sentryWatchUserInfo(); }