Skip to content

Conversation

chargome
Copy link
Member

@chargome chargome commented Oct 10, 2025

  • Fixing some of the types according to the specs.
  • Do not send metric when trace is not available

@chargome chargome self-assigned this Oct 10, 2025
@chargome chargome changed the title fix(tracemetrics): Update types feat(tracemetrics)!: Update types Oct 10, 2025
Copy link
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.4 kB - -
@sentry/browser - with treeshaking flags 22.9 kB - -
@sentry/browser (incl. Tracing) 40.61 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay) 78.98 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.62 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 83.67 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 95.82 kB - -
@sentry/browser (incl. Feedback) 41.1 kB +0.01% +1 B 🔺
@sentry/browser (incl. sendFeedback) 29.06 kB - -
@sentry/browser (incl. FeedbackAsync) 33.97 kB - -
@sentry/react 26.11 kB - -
@sentry/react (incl. Tracing) 42.55 kB - -
@sentry/vue 28.92 kB - -
@sentry/vue (incl. Tracing) 42.39 kB - -
@sentry/svelte 24.44 kB - -
CDN Bundle 26.64 kB +0.02% +5 B 🔺
CDN Bundle (incl. Tracing) 41.16 kB +0.02% +8 B 🔺
CDN Bundle (incl. Tracing, Replay) 77.45 kB +0.01% +5 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 82.91 kB +0.01% +8 B 🔺
CDN Bundle - uncompressed 78.2 kB +0.03% +19 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 122.2 kB +0.02% +19 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 237.36 kB +0.01% +19 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 250.12 kB +0.01% +19 B 🔺
@sentry/nextjs (client) 44.58 kB - -
@sentry/sveltekit (client) 40.98 kB - -
@sentry/node-core 50.72 kB -0.03% -13 B 🔽
@sentry/node 154.35 kB -0.02% -16 B 🔽
@sentry/node - without tracing 92.57 kB -0.02% -13 B 🔽
@sentry/aws-serverless 106.31 kB -0.02% -11 B 🔽

View base workflow run

Copy link
Contributor

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 9,019 - 8,903 +1%
GET With Sentry 1,303 14% 1,367 -5%
GET With Sentry (error only) 6,012 67% 6,204 -3%
POST Baseline 1,171 - 1,208 -3%
POST With Sentry 465 40% 526 -12%
POST With Sentry (error only) 1,004 86% 1,069 -6%
MYSQL Baseline 3,209 - 3,350 -4%
MYSQL With Sentry 345 11% 438 -21%
MYSQL With Sentry (error only) 2,609 81% 2,715 -4%

View base workflow run

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.

1 participant