Skip to content

fix(browser): Ensure url.full and http.url attributes have the same values on http.client spans#21660

Draft
Lms24 wants to merge 1 commit into
developfrom
lms/fix-browser-fetch-url.full-vs-http.url
Draft

fix(browser): Ensure url.full and http.url attributes have the same values on http.client spans#21660
Lms24 wants to merge 1 commit into
developfrom
lms/fix-browser-fetch-url.full-vs-http.url

Conversation

@Lms24

@Lms24 Lms24 commented Jun 19, 2026

Copy link
Copy Markdown
Member

#21639 came from a bug where our browser fetch instrumentation didn't explicitly set url.full causing it to be set by the httpContextIntegration which writes this attribute onto segment spans. If streaming is enabled, http.client spans can become segment spans if they happen outside of an ongoing segment span.

closes #21639

@Lms24 Lms24 self-assigned this Jun 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 27.45 kB - -
@sentry/browser - with treeshaking flags 25.88 kB - -
@sentry/browser (incl. Tracing) 45.92 kB +0.02% +9 B 🔺
@sentry/browser (incl. Tracing + Span Streaming) 47.69 kB +0.02% +6 B 🔺
@sentry/browser (incl. Tracing, Profiling) 50.69 kB +0.02% +6 B 🔺
@sentry/browser (incl. Tracing, Replay) 85.12 kB +0.02% +17 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 74.73 kB +0.04% +24 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 89.82 kB +0.02% +17 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 102.49 kB +0.02% +20 B 🔺
@sentry/browser (incl. Feedback) 44.62 kB - -
@sentry/browser (incl. sendFeedback) 32.25 kB - -
@sentry/browser (incl. FeedbackAsync) 37.38 kB - -
@sentry/browser (incl. Metrics) 28.52 kB - -
@sentry/browser (incl. Logs) 28.76 kB - -
@sentry/browser (incl. Metrics & Logs) 29.45 kB - -
@sentry/react 29.25 kB - -
@sentry/react (incl. Tracing) 48.24 kB +0.06% +25 B 🔺
@sentry/vue 32.58 kB - -
@sentry/vue (incl. Tracing) 47.79 kB +0.03% +13 B 🔺
@sentry/svelte 27.48 kB - -
CDN Bundle 29.84 kB - -
CDN Bundle (incl. Tracing) 47.84 kB +0.03% +14 B 🔺
CDN Bundle (incl. Logs, Metrics) 31.39 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.17 kB +0.04% +15 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 70.7 kB - -
CDN Bundle (incl. Tracing, Replay) 85.2 kB +0.03% +18 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.48 kB +0.02% +16 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 91.05 kB +0.02% +16 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.31 kB +0.03% +19 B 🔺
CDN Bundle - uncompressed 88.8 kB - -
CDN Bundle (incl. Tracing) - uncompressed 144.81 kB +0.03% +34 B 🔺
CDN Bundle (incl. Logs, Metrics) - uncompressed 93.5 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 148.78 kB +0.03% +34 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 218.33 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 263.68 kB +0.02% +34 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 267.64 kB +0.02% +34 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 277.38 kB +0.02% +34 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 281.33 kB +0.02% +34 B 🔺
@sentry/nextjs (client) 50.63 kB +0.05% +23 B 🔺
@sentry/sveltekit (client) 46.31 kB +0.04% +15 B 🔺
@sentry/core/server 75.82 kB - -
@sentry/core/browser 62.95 kB - -
@sentry/node-core 61.59 kB -0.01% -1 B 🔽
@sentry/node 124.54 kB -0.01% -1 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 70.05 kB - -
@sentry/node/light 50.53 kB -0.01% -4 B 🔽
@sentry/node - without tracing 74.1 kB - -
@sentry/aws-serverless 85.2 kB -0.01% -1 B 🔽
@sentry/cloudflare (withSentry) - minified 172.78 kB - -
@sentry/cloudflare (withSentry) 432.16 kB - -

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.

Streamed http.client spans have different url.full and http.url attribute values

1 participant