Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tracing): Add tracePropagationTargets option to browser routing instrumentation #6080

Merged

Conversation

lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Oct 28, 2022

As part of the work on #5285, this adds a new option, tracePropagationTargets, to our browser-side tracing instrumentation, to live alongside (and eventually take the place of) tracingOrigins. Its behavior matches that of tracingOrigins, but it has a much clearer name.

Switching from internal use of tracingOrigins to tracePropagationTargets to come in future PRs.

Note: This is what remained of #6041 after the fix in #6079 was split off. h/t @timfish for the initial work in that PR.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 28, 2022

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.5 KB (+0.01% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 60.35 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.13 KB (+0.01% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 53.68 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 19.87 KB (0%)
@sentry/browser - Webpack (minified) 65.09 KB (0%)
@sentry/react - Webpack (gzipped + minified) 19.89 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 45.81 KB (+0.04% 🔺)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.27 KB (+0.1% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 24.65 KB (+0.1% 🔺)

Base automatically changed from kmclb-fix-tracingOrigins-not-applying to master October 28, 2022 07:18
@cdbattags
Copy link

I'd love this ASAP because we're currently unable to use Sentry on the browser with rejected CORS from 3rd party requests.

@timfish
Copy link
Collaborator

timfish commented Oct 28, 2022

@cdbattags did the 7.17.2 patch release not fix this for you?

@lobsterkatie lobsterkatie force-pushed the kmclb-add-tracePropagationTargets-to-browserTracing branch from b571e79 to 59c8016 Compare November 4, 2022 06:38
@lobsterkatie lobsterkatie changed the title feat(tracing): Add tracePropagationTargets option to browser tracing feat(tracing): Add tracePropagationTargets option to browser routing instrumentation Nov 8, 2022
@lobsterkatie lobsterkatie merged commit 59047ec into master Nov 8, 2022
@lobsterkatie lobsterkatie deleted the kmclb-add-tracePropagationTargets-to-browserTracing branch November 8, 2022 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants