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

ref(node): Avoid using propagator for node-fetch TWP instrumentation #14509

Merged
merged 3 commits into from
Nov 28, 2024

Conversation

mydea
Copy link
Member

@mydea mydea commented Nov 27, 2024

Instead, use the new and improved getTraceData directly, which avoids URL issues etc. and just gets the trace data.

This also deprecates generateSpanContextForPropagationContext and inlines it to the one place we still use this for, I'll probably adapt this in a follow up PR.

@mydea mydea requested review from lforst and Lms24 November 27, 2024 12:37
@mydea mydea self-assigned this Nov 27, 2024
Copy link
Contributor

github-actions bot commented Nov 27, 2024

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.14 KB - -
@sentry/browser - with treeshaking flags 21.86 KB - -
@sentry/browser (incl. Tracing) 35.55 KB - -
@sentry/browser (incl. Tracing, Replay) 72.46 KB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.84 KB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 76.78 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 89.23 KB - -
@sentry/browser (incl. Feedback) 39.87 KB - -
@sentry/browser (incl. sendFeedback) 27.75 KB - -
@sentry/browser (incl. FeedbackAsync) 32.55 KB - -
@sentry/react 25.81 KB - -
@sentry/react (incl. Tracing) 38.39 KB - -
@sentry/vue 27.29 KB - -
@sentry/vue (incl. Tracing) 37.35 KB - -
@sentry/svelte 23.29 KB - -
CDN Bundle 24.33 KB - -
CDN Bundle (incl. Tracing) 37.21 KB - -
CDN Bundle (incl. Tracing, Replay) 72.09 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 77.42 KB - -
CDN Bundle - uncompressed 71.45 KB - -
CDN Bundle (incl. Tracing) - uncompressed 110.51 KB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 223.58 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.79 KB - -
@sentry/nextjs (client) 38.72 KB - -
@sentry/sveltekit (client) 36.08 KB - -
@sentry/node 135.23 KB +0.13% +172 B 🔺
@sentry/node - without tracing 97.04 KB +0.13% +124 B 🔺
@sentry/aws-serverless 107.28 KB +0.16% +171 B 🔺

View base workflow run

Instead, use the new and improved `getTraceData` directly, which avoids URL issues etc. and just gets the trace data.
@mydea mydea merged commit e2883df into develop Nov 28, 2024
109 checks passed
@mydea mydea deleted the fn/fetch-propagate branch November 28, 2024 08:07
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.

4 participants