Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(node): Replace withScope with getCurrentScope in http instrumentation #15731

Closed
wants to merge 1 commit into from

Conversation

chargome
Copy link
Member

Looking at RPS, this seems to have a slight performance impact.

ref #15725

@chargome chargome self-assigned this Mar 19, 2025
Copy link
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.15 KB - -
@sentry/browser - with treeshaking flags 22.94 KB - -
@sentry/browser (incl. Tracing) 36.21 KB - -
@sentry/browser (incl. Tracing, Replay) 73.39 KB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.81 KB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 78.01 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 90.57 KB - -
@sentry/browser (incl. Feedback) 40.3 KB - -
@sentry/browser (incl. sendFeedback) 27.79 KB - -
@sentry/browser (incl. FeedbackAsync) 32.58 KB - -
@sentry/react 24.97 KB - -
@sentry/react (incl. Tracing) 38.1 KB - -
@sentry/vue 27.4 KB - -
@sentry/vue (incl. Tracing) 37.9 KB - -
@sentry/svelte 23.18 KB - -
CDN Bundle 24.36 KB - -
CDN Bundle (incl. Tracing) 36.26 KB - -
CDN Bundle (incl. Tracing, Replay) 71.27 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 76.45 KB - -
CDN Bundle - uncompressed 71.19 KB - -
CDN Bundle (incl. Tracing) - uncompressed 107.57 KB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 218.83 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.39 KB - -
@sentry/nextjs (client) 39.38 KB - -
@sentry/sveltekit (client) 36.63 KB - -
@sentry/node 142.62 KB +0.01% +10 B 🔺
@sentry/node - without tracing 96 KB -0.03% -28 B 🔽
@sentry/aws-serverless 120.37 KB -0.04% -43 B 🔽

View base workflow run

@mydea
Copy link
Member

mydea commented Mar 19, 2025

Looking good, I also included this in that PR: #15732

@chargome
Copy link
Member Author

part of #15732

@chargome chargome closed this Mar 19, 2025
mydea added a commit that referenced this pull request Mar 19, 2025
…ntation (#15732)

Part of #15730

Noticed that this is not really happening otherwise, so if we are not
adding the `HttpInstrumentation` we now make sure to extract incoming
traces ourselves! This will unlock us not adding that instrumentation
when tracing is disabled.

Also includes #15731
as a side effect.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants