Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Nov 24, 2025

The king is dead, long live the king

By popular demand (N=1 😄 ) we're re-introducing _experiments.enableLogs. The option stays deprecated and maybe we can actually remove it or type it as undefined in the next major to sunset it for good. Main motivation for re-adding: The flag was introduced in v9 while we already worked on v10 where we removed it again. Therefore, it had an unusually short lifespan. Some users didn't realize this when upgrading to v10 and were wondering where their logs went.

Because this to me and a few others feels a bit wrong, I shall paraphrase our SDK development philosophy as to why we do it:

"We write the shitty code, so that others don't have to".

Copy link
Member

@andreiborza andreiborza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty 🙏

@github-actions
Copy link
Contributor

github-actions bot commented Nov 24, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.79 kB +0.05% +11 B 🔺
@sentry/browser - with treeshaking flags 23.29 kB +0.07% +16 B 🔺
@sentry/browser (incl. Tracing) 41.52 kB +0.04% +14 B 🔺
@sentry/browser (incl. Tracing, Profiling) 45.84 kB +0.04% +14 B 🔺
@sentry/browser (incl. Tracing, Replay) 79.94 kB +0.02% +14 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.66 kB +0.02% +12 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 84.62 kB +0.02% +15 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 96.86 kB +0.02% +11 B 🔺
@sentry/browser (incl. Feedback) 41.47 kB +0.04% +13 B 🔺
@sentry/browser (incl. sendFeedback) 29.47 kB +0.04% +11 B 🔺
@sentry/browser (incl. FeedbackAsync) 34.41 kB +0.04% +12 B 🔺
@sentry/react 26.5 kB +0.05% +12 B 🔺
@sentry/react (incl. Tracing) 43.72 kB +0.04% +14 B 🔺
@sentry/vue 29.23 kB +0.04% +11 B 🔺
@sentry/vue (incl. Tracing) 43.32 kB +0.03% +10 B 🔺
@sentry/svelte 24.81 kB +0.05% +12 B 🔺
CDN Bundle 27.1 kB +0.05% +11 B 🔺
CDN Bundle (incl. Tracing) 42.08 kB +0.03% +9 B 🔺
CDN Bundle (incl. Tracing, Replay) 78.6 kB +0.01% +6 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 84.09 kB +0.02% +9 B 🔺
CDN Bundle - uncompressed 79.53 kB +0.09% +69 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 124.9 kB +0.06% +72 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 240.94 kB +0.03% +72 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 253.7 kB +0.03% +72 B 🔺
@sentry/nextjs (client) 45.94 kB +0.03% +12 B 🔺
@sentry/sveltekit (client) 41.88 kB +0.04% +13 B 🔺
@sentry/node-core 51.16 kB +0.03% +13 B 🔺
@sentry/node 159.21 kB +0.01% +10 B 🔺
@sentry/node - without tracing 92.81 kB +0.02% +13 B 🔺
@sentry/aws-serverless 108.05 kB +0.02% +13 B 🔺

View base workflow run

@Lms24 Lms24 self-assigned this Nov 24, 2025
@Lms24 Lms24 requested a review from AbhiPrasad November 24, 2025 09:43
@github-actions
Copy link
Contributor

github-actions bot commented Nov 24, 2025

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,956 - 8,686 +3%
GET With Sentry 1,740 19% 1,689 +3%
GET With Sentry (error only) 6,210 69% 5,970 +4%
POST Baseline 1,205 - 1,210 -0%
POST With Sentry 584 48% 591 -1%
POST With Sentry (error only) 1,061 88% 1,064 -0%
MYSQL Baseline 3,360 - 3,309 +2%
MYSQL With Sentry 475 14% 496 -4%
MYSQL With Sentry (error only) 2,709 81% 2,701 +0%

View base workflow run

@Lms24 Lms24 merged commit 235c865 into develop Nov 24, 2025
198 checks passed
@Lms24 Lms24 deleted the lms/feat-readd-experiments-enableLogs branch November 24, 2025 16:18
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.

3 participants