mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
chore: enable sentry tracing (#7688)
* chore: enable sentry tracing * add comment * change to 10 percent --------- Co-authored-by: jackkav <jackkav@gmail.com>
This commit is contained in:
parent
1f34acd09d
commit
e798634e42
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user