Uh oh!
There was an error while loading. Please reload this page.
feat: Tracing + Reduced Bundle Size + build updates - #2038
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| public constructor(private readonly _options: TracingOptions) { | ||
| if (!Array.isArray(_options.tracingOrigins) || _options.tracingOrigins.length === 0) { | ||
| consoleSandbox(() => { | ||
| const defaultTracingOrigins = ['localhost', /^\//]; |
There was a problem hiding this comment.
You never use it. I'd also allow for 0 length arrays, so just !Array.isArray will be now enough.
This PR adds
Tracingintegration that patches XHR and fetch to addsentry-traceheader for whitelisted urls intraceOrigins. It's still considered internal but we will ship a beta version running on sentry.io to see how it goes.