Skip to content

ref(browser): remove web vital standalone span experiments#21215

Draft
logaretm wants to merge 1 commit into
developfrom
awad/js-2628-deprecate-web-vitals-experiment-spans
Draft

ref(browser): remove web vital standalone span experiments#21215
logaretm wants to merge 1 commit into
developfrom
awad/js-2628-deprecate-web-vitals-experiment-spans

Conversation

@logaretm
Copy link
Copy Markdown
Member

@logaretm logaretm commented May 28, 2026

Removes the standalone CLS/LCP web vital experiment options

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 28, 2026

JS-2628

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 28, 2026

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.2 kB - -
@sentry/browser - with treeshaking flags 25.65 kB - -
@sentry/browser (incl. Tracing) 44.76 kB -1.64% -745 B 🔽
@sentry/browser (incl. Tracing + Span Streaming) 46.99 kB -1.55% -737 B 🔽
@sentry/browser (incl. Tracing, Profiling) 49.51 kB -1.54% -774 B 🔽
@sentry/browser (incl. Tracing, Replay) 84.01 kB -0.83% -701 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 73.63 kB -0.95% -699 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 88.7 kB -0.79% -702 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 101.37 kB -0.72% -726 B 🔽
@sentry/browser (incl. Feedback) 44.36 kB - -
@sentry/browser (incl. sendFeedback) 32.02 kB - -
@sentry/browser (incl. FeedbackAsync) 37.11 kB - -
@sentry/browser (incl. Metrics) 28.27 kB - -
@sentry/browser (incl. Logs) 28.51 kB - -
@sentry/browser (incl. Metrics & Logs) 29.22 kB - -
@sentry/react 29.03 kB - -
@sentry/react (incl. Tracing) 47.09 kB -1.47% -699 B 🔽
@sentry/vue 32.22 kB - -
@sentry/vue (incl. Tracing) 46.65 kB -1.57% -742 B 🔽
@sentry/svelte 27.23 kB - -
CDN Bundle 29.57 kB - -
CDN Bundle (incl. Tracing) 47.25 kB -1.45% -695 B 🔽
CDN Bundle (incl. Logs, Metrics) 31.08 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 48.49 kB -1.44% -708 B 🔽
CDN Bundle (incl. Replay, Logs, Metrics) 70.36 kB - -
CDN Bundle (incl. Tracing, Replay) 84.64 kB -0.81% -684 B 🔽
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 85.81 kB -0.81% -693 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 90.46 kB -0.77% -694 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 91.65 kB -0.74% -683 B 🔽
CDN Bundle - uncompressed 87.7 kB - -
CDN Bundle (incl. Tracing) - uncompressed 141.78 kB -2.16% -3.12 kB 🔽
CDN Bundle (incl. Logs, Metrics) - uncompressed 92.19 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 145.53 kB -2.1% -3.12 kB 🔽
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 217 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 260.65 kB -1.18% -3.11 kB 🔽
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 264.4 kB -1.17% -3.11 kB 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 274.35 kB -1.13% -3.11 kB 🔽
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 278.09 kB -1.11% -3.11 kB 🔽
@sentry/nextjs (client) 49.53 kB -1.44% -721 B 🔽
@sentry/sveltekit (client) 45.2 kB -1.57% -720 B 🔽
@sentry/core/server 75.94 kB - -
@sentry/core/browser 63.09 kB - -
@sentry/node-core 61.69 kB -0.01% -1 B 🔽
@sentry/node 130.4 kB -0.01% -1 B 🔽
@sentry/node - without tracing 74.06 kB +0.01% +1 B 🔺
@sentry/aws-serverless 86.26 kB - -
@sentry/cloudflare (withSentry) - minified 173.59 kB - -
@sentry/cloudflare (withSentry) 433.61 kB - -

View base workflow run

@logaretm logaretm force-pushed the awad/js-2628-split-web-vitals-into-their-own-integration branch from 98a76d7 to 00cd99b Compare June 1, 2026 15:12
Base automatically changed from awad/js-2628-split-web-vitals-into-their-own-integration to develop June 3, 2026 19:49
@logaretm logaretm closed this Jun 4, 2026
@logaretm logaretm force-pushed the awad/js-2628-deprecate-web-vitals-experiment-spans branch from 12da820 to 983fbac Compare June 4, 2026 14:17
CLS and LCP are now always recorded as measurements (on transaction
pageload spans) or attributes (on streamed pageload spans), never as
their own separate spans.

Removes `_experiments.enableStandaloneClsSpans` and
`_experiments.enableStandaloneLcpSpans` options from both
`webVitalsIntegration` and `browserTracingIntegration`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@logaretm logaretm reopened this Jun 4, 2026
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