René's URL Explorer Experiment


Title: [Span Streaming] Resource Timing for fetch and XHR spans is missing · Issue #19613 · getsentry/sentry-javascript · GitHub

Open Graph Title: [Span Streaming] Resource Timing for fetch and XHR spans is missing · Issue #19613 · getsentry/sentry-javascript

X Title: [Span Streaming] Resource Timing for fetch and XHR spans is missing · Issue #19613 · getsentry/sentry-javascript

Description: For transactions, we retroactively added http timing data from the performance observer to http.client spans. This worked because although the span was already ended at time of receiving the timing data, we could still set attributes on ...

Open Graph Description: For transactions, we retroactively added http timing data from the performance observer to http.client spans. This worked because although the span was already ended at time of receiving the timing...

X Description: For transactions, we retroactively added http timing data from the performance observer to http.client spans. This worked because although the span was already ended at time of receiving the timing...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/19613

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Span Streaming] Resource Timing for fetch and XHR spans is missing","articleBody":"For transactions, we retroactively added http timing data from the performance observer to `http.client` spans. This worked because although the span was already ended at time of receiving the timing data, we could still set attributes on it because the parent span (pageload or navigation) was still active. This no longer works in span streaming because  `captureSpan` immediately converts a `Span` instance to a JSON object when enqueuing it into the span buffer. So any retroactive `setAttribute` call does nothing (which is in line with OTel fwiw).\u003cbr>\u003cbr>We could \"fix\" this by doing what [OTel's browser fetch instrumentation](\u003chttps://github.com/open-telemetry/opentelemetry-js/blob/30f94fe99339287b1e4d3c8bb90172c2523f06f4/experimental/packages/opentelemetry-instrumentation-fetch/src/fetch.ts#L352-L372>) is doing: \n\n1. Record the timestamp when the span should end\n2. Wait for up to 300ms for performance observer timing data\n3. End the span after these 300ms or when receiving the timing data, with the original timestamp","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2026-03-03T17:46:59Z","url":"https://github.com/getsentry/sentry-javascript/issues/19613"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ebb4a3de-9399-f2ca-0d6e-c5c73af07ed5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCA26:3284B6:22D2B:2F65A:6B042A09
html-safe-noncebde997bb593401e946c218dc441b15c2792f536e50ebb28b2f14e1257842f4d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTI2OjMyODRCNjoyMkQyQjoyRjY1QTo2QjA0MkEwOSIsInZpc2l0b3JfaWQiOiI2NDYyOTQyNDQ5NTEzMDE1ODE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfc2452de2be4f45cfdf5ea656ba19eb8f26952d0e29686deab4d2a096dcdbb22
hovercard-subject-tagissue:4017951299
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/19613/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e8b1ba05f406bdbbfd3b26bb83f9ff9497d86dce484ad051c548323924458f1c/getsentry/sentry-javascript/issues/19613
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e8b1ba05f406bdbbfd3b26bb83f9ff9497d86dce484ad051c548323924458f1c/getsentry/sentry-javascript/issues/19613
og:image:altFor transactions, we retroactively added http timing data from the performance observer to http.client spans. This worked because although the span was already ended at time of receiving the timing...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLms24
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/19613#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F19613
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F19613
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/19613
Reloadhttps://github.com/getsentry/sentry-javascript/issues/19613
Reloadhttps://github.com/getsentry/sentry-javascript/issues/19613
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues341 (341)https://github.com/getsentry/sentry-javascript/issues
Pull requests58 (58)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/19613
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/19613
[Span Streaming] Resource Timing for fetch and XHR spans is missinghttps://github.com/getsentry/sentry-javascript/issues/19613#top
https://github.com/Lms24
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
javascriptPull requests that update javascript codehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22javascript%22
https://github.com/Lms24
Lms24https://github.com/Lms24
on Mar 3, 2026https://github.com/getsentry/sentry-javascript/issues/19613#issue-4017951299
OTel's browser fetch instrumentationhttps://github.com/open-telemetry/opentelemetry-js/blob/30f94fe99339287b1e4d3c8bb90172c2523f06f4/experimental/packages/opentelemetry-instrumentation-fetch/src/fetch.ts#L352-L372
Lms24https://github.com/Lms24
on Mar 3, 2026https://github.com/getsentry/sentry-javascript/issues/19613#event-23234809184
Lms24https://github.com/Lms24
javascriptPull requests that update javascript codehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22javascript%22
on Mar 3, 2026https://github.com/getsentry/sentry-javascript/issues/19613#event-23234809760
https://github.com/apps/linear
linearhttps://github.com/apps/linear
on Mar 3, 2026https://github.com/getsentry/sentry-javascript/issues/19613#issuecomment-3992621889
Linearhttps://linear.app
JS-1849https://linear.app/getsentry/issue/JS-1849/span-streaming-resource-timing-for-fetch-and-xhr-spans-is-missing
Lms24https://github.com/Lms24
on Mar 6, 2026https://github.com/getsentry/sentry-javascript/issues/19613#event-23331579640
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/0aca05cfdcd4cda97afe5ecfc6153a69874d88e0
#19581https://github.com/getsentry/sentry-javascript/pull/19581
0aca05chttps://github.com/getsentry/sentry-javascript/commit/0aca05cfdcd4cda97afe5ecfc6153a69874d88e0
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/05f529438ddfb1333d920e930dcbbbe29a58e660
05f5294https://github.com/getsentry/sentry-javascript/commit/05f529438ddfb1333d920e930dcbbbe29a58e660
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/d03c87df2bb2b918a62e932365fa4db2997af1e4
#19581https://github.com/getsentry/sentry-javascript/pull/19581
d03c87dhttps://github.com/getsentry/sentry-javascript/commit/d03c87df2bb2b918a62e932365fa4db2997af1e4
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/aa186b2967abc5de5a805aba8876f34b76e24692
aa186b2https://github.com/getsentry/sentry-javascript/commit/aa186b2967abc5de5a805aba8876f34b76e24692
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/d29b2d33ac815eadc89fc22d938317130a9c593f
#19581https://github.com/getsentry/sentry-javascript/pull/19581
d29b2d3https://github.com/getsentry/sentry-javascript/commit/d29b2d33ac815eadc89fc22d938317130a9c593f
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/1956c5b7275da413e3cdeb02ea39a5a2cf1afda0
1956c5bhttps://github.com/getsentry/sentry-javascript/commit/1956c5b7275da413e3cdeb02ea39a5a2cf1afda0
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/9e2f8ebe43d14ce31aef95b7deaee9b7cddaf0c1
#19581https://github.com/getsentry/sentry-javascript/pull/19581
9e2f8ebhttps://github.com/getsentry/sentry-javascript/commit/9e2f8ebe43d14ce31aef95b7deaee9b7cddaf0c1
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/170d2bc18ce23eca2354946a89163d9fecbefb9c
170d2bchttps://github.com/getsentry/sentry-javascript/commit/170d2bc18ce23eca2354946a89163d9fecbefb9c
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/3ac1077fb4a6d7a4726af6f1df055e787339f6f6
#19581https://github.com/getsentry/sentry-javascript/pull/19581
3ac1077https://github.com/getsentry/sentry-javascript/commit/3ac1077fb4a6d7a4726af6f1df055e787339f6f6
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/cd5778310534dbe359279164d5ac111defd0c191
cd57783https://github.com/getsentry/sentry-javascript/commit/cd5778310534dbe359279164d5ac111defd0c191
logaretmhttps://github.com/logaretm
on Mar 18, 2026https://github.com/getsentry/sentry-javascript/issues/19613#event-23692448603
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/54ecd3d3ae08a2d58cd13f6767a4cf8dc553fadf
#19581https://github.com/getsentry/sentry-javascript/pull/19581
54ecd3dhttps://github.com/getsentry/sentry-javascript/commit/54ecd3d3ae08a2d58cd13f6767a4cf8dc553fadf
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/f4ea6573ee25120e4d0d61e3c61d7d767976b494
f4ea657https://github.com/getsentry/sentry-javascript/commit/f4ea6573ee25120e4d0d61e3c61d7d767976b494
Lms24https://github.com/Lms24
on Mar 23, 2026https://github.com/getsentry/sentry-javascript/issues/19613#event-23806942269
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/f3d3c736e42380ad8dae220f610e15f88748e102
#19581https://github.com/getsentry/sentry-javascript/pull/19581
f3d3c73https://github.com/getsentry/sentry-javascript/commit/f3d3c736e42380ad8dae220f610e15f88748e102
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/ce1720f89c1865785dc099e8c8c6f64894b0d04b
ce1720fhttps://github.com/getsentry/sentry-javascript/commit/ce1720f89c1865785dc099e8c8c6f64894b0d04b
stephanie-andersonhttps://github.com/stephanie-anderson
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Mar 24, 2026https://github.com/getsentry/sentry-javascript/issues/19613#event-23841330582
Lms24https://github.com/Lms24
on Mar 30, 2026https://github.com/getsentry/sentry-javascript/issues/19613#event-24032865715
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/251d6602e7566547737cba325c8db29cde6b82f4
#19581https://github.com/getsentry/sentry-javascript/pull/19581
251d660https://github.com/getsentry/sentry-javascript/commit/251d6602e7566547737cba325c8db29cde6b82f4
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/d35aadf3bc4354b78d1088b258d8c26e68531dc4
d35aadfhttps://github.com/getsentry/sentry-javascript/commit/d35aadf3bc4354b78d1088b258d8c26e68531dc4
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/13fac6a8b6e8411bde982d014ce59627d1a5bce8
#19581https://github.com/getsentry/sentry-javascript/pull/19581
13fac6ahttps://github.com/getsentry/sentry-javascript/commit/13fac6a8b6e8411bde982d014ce59627d1a5bce8
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/ac8c7027705557648d44098cc6333ed3174b3431
ac8c702https://github.com/getsentry/sentry-javascript/commit/ac8c7027705557648d44098cc6333ed3174b3431
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/414af7c56d120635935d9061d4c98fd00a410a05
#19581https://github.com/getsentry/sentry-javascript/pull/19581
414af7chttps://github.com/getsentry/sentry-javascript/commit/414af7c56d120635935d9061d4c98fd00a410a05
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/5308c92b835ea08e0ebc672c9bb1db909b475ace
5308c92https://github.com/getsentry/sentry-javascript/commit/5308c92b835ea08e0ebc672c9bb1db909b475ace
test(browser): Add span streaming integration tests (#19581)https://github.com/getsentry/sentry-javascript/commit/999b98988f3fb3acfd1ec70043785c816d4ddbf2
#19581https://github.com/getsentry/sentry-javascript/pull/19581
999b989https://github.com/getsentry/sentry-javascript/commit/999b98988f3fb3acfd1ec70043785c816d4ddbf2
Lms24https://github.com/Lms24
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
91abafdhttps://github.com/getsentry/sentry-javascript/commit/91abafd7fe1aa1bdc8fc5b810ab0a65cdc6d8717
on Apr 9, 2026https://github.com/getsentry/sentry-javascript/issues/19613#event-24335917073
Lms24https://github.com/Lms24
on Apr 9, 2026https://github.com/getsentry/sentry-javascript/issues/19613#event-24340507257
fix(browser): Apply Http timing attributes to streamed `http.client` …https://github.com/getsentry/sentry-javascript/commit/91abafd7fe1aa1bdc8fc5b810ab0a65cdc6d8717
91abafdhttps://github.com/getsentry/sentry-javascript/commit/91abafd7fe1aa1bdc8fc5b810ab0a65cdc6d8717
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/19613
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/19613
Lms24https://github.com/Lms24
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
javascriptPull requests that update javascript codehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22javascript%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.