Skip to content

feat(utils): Add propagationContextFromHeaders#10313

Merged
lforst merged 3 commits intodevelopfrom
lforst-better-propagation-function
Jan 31, 2024
Merged

feat(utils): Add propagationContextFromHeaders#10313
lforst merged 3 commits intodevelopfrom
lforst-better-propagation-function

Conversation

@lforst
Copy link
Copy Markdown
Contributor

@lforst lforst commented Jan 24, 2024

Adds a simpler alternative to tracingContextFromHeaders which is deprecated with this PR. tracingContextFromHeadrs is returning duplicate data, and the value it returns is gonna be useless in a world where spans do not take traceparent data and dynamic sampling contexts directly.

I replaced the deprecated instances in places where it was easy and just added an eslint ignore in places where we will need to refactor in any case.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 24, 2024

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.1 KB (-0.1% 🔽)
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.34 KB (-0.06% 🔽)
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.2 KB (-0.11% 🔽)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.95 KB (-0.09% 🔽)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.36 KB (-0.15% 🔽)
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.21 KB (-0.15% 🔽)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.33 KB (0%)
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.34 KB (0%)
@sentry/browser - Webpack (gzipped) 22.6 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.04 KB (+0.1% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.58 KB (+0.1% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.43 KB (+0.09% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 24.62 KB (0%)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 213.24 KB (+0.13% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.26 KB (+0.26% 🔺)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 73.89 KB (0%)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.57 KB (+0.14% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.69 KB (-0.14% 🔽)
@sentry/react - Webpack (gzipped) 22.63 KB (0%)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.48 KB (+0.04% 🔺)
@sentry/nextjs Client - Webpack (gzipped) 50.77 KB (+0.04% 🔺)
@sentry-internal/feedback - Webpack (gzipped) 17.21 KB (0%)

@lforst lforst force-pushed the lforst-isolation-scope-propagation branch from 4e4f46e to 36d4cfe Compare January 25, 2024 13:40
Base automatically changed from lforst-isolation-scope-propagation to develop January 29, 2024 14:35
@lforst lforst force-pushed the lforst-better-propagation-function branch from c8e7b5e to 86a8461 Compare January 30, 2024 09:43
@lforst lforst marked this pull request as ready for review January 30, 2024 11:28
@lforst lforst requested review from Lms24 and mydea January 30, 2024 11:29
@lforst lforst merged commit 6b86b3e into develop Jan 31, 2024
@lforst lforst deleted the lforst-better-propagation-function branch January 31, 2024 09:39
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.

2 participants