René's URL Explorer Experiment


Title: feat(browser): Add `onRequestSpanStart` hook to browser tracing integration by lforst · Pull Request #15979 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(browser): Add `onRequestSpanStart` hook to browser tracing integration by lforst · Pull Request #15979 · getsentry/sentry-javascript

X Title: feat(browser): Add `onRequestSpanStart` hook to browser tracing integration by lforst · Pull Request #15979 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: This PR adds a hook to the browser tracing integration that allows to hook into the creation of request spans (fetch & xhr) and set attributes based on headers (can be extended with additional ...

X Description: This PR adds a hook to the browser tracing integration that allows to hook into the creation of request spans (fetch & xhr) and set attributes based on headers (can be extended with additio...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/15979

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2c073765-b115-be5d-cb03-8ec93766ab87
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id859A:1220A:22C340:2FB7D8:6B04B6F8
html-safe-noncec76c6589de12786675cb0677fdea75ce9a70e31fe1ab91b596987cfb902e019d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTlBOjEyMjBBOjIyQzM0MDoyRkI3RDg6NkIwNEI2RjgiLCJ2aXNpdG9yX2lkIjoiMzQzNTA1MDI0MDIzODIwNDY2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac43c1b3bcea05369bea07ec52db8e5adf0e859f521d6457ba041a48b6698477d7
hovercard-subject-tagpull_request:2438808849
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/15979/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/29bae079e467d12dd3aa90940a5cab5d124a4c93c6974ea262ac1cf3f042a087/getsentry/sentry-javascript/pull/15979
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/29bae079e467d12dd3aa90940a5cab5d124a4c93c6974ea262ac1cf3f042a087/getsentry/sentry-javascript/pull/15979
og:image:altThis PR adds a hook to the browser tracing integration that allows to hook into the creation of request spans (fetch & xhr) and set attributes based on headers (can be extended with additional ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelforst
hostnamegithub.com
expected-hostnamegithub.com
None378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7
turbo-cache-controlno-cache
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
releaseb032e77f1ea437ede6c115446a0a467709b468e7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/15979#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F15979
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%2Fpull%2F15979
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15979
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15979
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15979
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues333 (333)https://github.com/getsentry/sentry-javascript/issues
Pull requests49 (49)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
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lforst-request-span-hookhttps://github.com/getsentry/sentry-javascript/tree/lforst-request-span-hook
Conversationhttps://github.com/getsentry/sentry-javascript/pull/15979
Commits8 (8)https://github.com/getsentry/sentry-javascript/pull/15979/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/15979/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/15979/files
feat(browser): Add onRequestSpanStart hook to browser tracing integrationhttps://github.com/getsentry/sentry-javascript/pull/15979#top
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lforst-request-span-hookhttps://github.com/getsentry/sentry-javascript/tree/lforst-request-span-hook
https://github.com/lforst
lforsthttps://github.com/lforst
Apr 4, 2025https://github.com/getsentry/sentry-javascript/pull/15979#issue-2971551626
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
feat(browser): Add onRequestSpanStart hook to browser tracing integ…https://github.com/getsentry/sentry-javascript/pull/15979/commits/303369c176dd18900a0216fdbd9e1dbd13445108
303369chttps://github.com/getsentry/sentry-javascript/pull/15979/commits/303369c176dd18900a0216fdbd9e1dbd13445108
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 4, 2025https://github.com/getsentry/sentry-javascript/pull/15979#issuecomment-2777840966
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/14264751685
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
https://github.com/mydea
mydeahttps://github.com/mydea
Apr 4, 2025 https://github.com/getsentry/sentry-javascript/pull/15979#pullrequestreview-2742221329
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15979/files/303369c176dd18900a0216fdbd9e1dbd13445108
packages/browser/src/tracing/browserTracingIntegration.tshttps://github.com/getsentry/sentry-javascript/pull/15979/files/303369c176dd18900a0216fdbd9e1dbd13445108#diff-e3ed4edecccdaefa32cf9f7ef5e779e7d6d342e3db70dcbe063ea220487e9816
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
https://github.com/mydea
mydeahttps://github.com/mydea
Apr 4, 2025 https://github.com/getsentry/sentry-javascript/pull/15979#pullrequestreview-2742221730
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15979/files/303369c176dd18900a0216fdbd9e1dbd13445108
packages/browser/src/tracing/request.tshttps://github.com/getsentry/sentry-javascript/pull/15979/files/303369c176dd18900a0216fdbd9e1dbd13445108#diff-1764199ece1f5262e8bf14377592c9ff187379c2de380ed98672bae2d450d95e
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 4, 2025 https://github.com/getsentry/sentry-javascript/pull/15979#pullrequestreview-2742262244
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15979/files/303369c176dd18900a0216fdbd9e1dbd13445108
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/15979#pullrequestreview-2742262244
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
packages/browser/src/tracing/browserTracingIntegration.tshttps://github.com/getsentry/sentry-javascript/pull/15979/files/303369c176dd18900a0216fdbd9e1dbd13445108#diff-e3ed4edecccdaefa32cf9f7ef5e779e7d6d342e3db70dcbe063ea220487e9816
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
https://github.com/lforst
lforsthttps://github.com/lforst
Apr 4, 2025https://github.com/getsentry/sentry-javascript/pull/15979#issuecomment-2777983976
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
April 4, 2025 14:19https://github.com/getsentry/sentry-javascript/pull/15979#commits-pushed-9c357f5
https://github.com/Lms24
Update packages/browser/src/tracing/browserTracingIntegration.tshttps://github.com/getsentry/sentry-javascript/pull/15979/commits/9c357f5e9bdd7898e8dec32e38326a50f57d9579
9c357f5https://github.com/getsentry/sentry-javascript/pull/15979/commits/9c357f5e9bdd7898e8dec32e38326a50f57d9579
optionalhttps://github.com/getsentry/sentry-javascript/pull/15979/commits/e11d453c9554de51c8f7ea6067947f0603ca5622
e11d453https://github.com/getsentry/sentry-javascript/pull/15979/commits/e11d453c9554de51c8f7ea6067947f0603ca5622
size checkhttps://github.com/getsentry/sentry-javascript/pull/15979/commits/62eba88aba8eb2599c9cde99109a2b209b578440
62eba88https://github.com/getsentry/sentry-javascript/pull/15979/commits/62eba88aba8eb2599c9cde99109a2b209b578440
testhttps://github.com/getsentry/sentry-javascript/pull/15979/commits/3eea48cce43b337981b19d65fe85d48833656a1c
3eea48chttps://github.com/getsentry/sentry-javascript/pull/15979/commits/3eea48cce43b337981b19d65fe85d48833656a1c
soy un idiotahttps://github.com/getsentry/sentry-javascript/pull/15979/commits/d23e28298d35e520ef7b712f719dd1f519b74ef1
d23e282https://github.com/getsentry/sentry-javascript/pull/15979/commits/d23e28298d35e520ef7b712f719dd1f519b74ef1
Merge branch 'develop' into lforst-request-span-hookhttps://github.com/getsentry/sentry-javascript/pull/15979/commits/3f782cad377b8da8973e5e2e45406af4c20ea06b
3f782cahttps://github.com/getsentry/sentry-javascript/pull/15979/commits/3f782cad377b8da8973e5e2e45406af4c20ea06b
fix testhttps://github.com/getsentry/sentry-javascript/pull/15979/commits/f57e14c1964a700735894ddd43e758967fdb6417
f57e14chttps://github.com/getsentry/sentry-javascript/pull/15979/commits/f57e14c1964a700735894ddd43e758967fdb6417
https://github.com/lforst
lforsthttps://github.com/lforst
April 7, 2025 08:47https://github.com/getsentry/sentry-javascript/pull/15979#event-17149236442
https://github.com/lforst
lforsthttps://github.com/lforst
Lms24https://github.com/Lms24
mydeahttps://github.com/mydea
April 7, 2025 08:47https://github.com/getsentry/sentry-javascript/pull/15979#event-17149237401
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 7, 2025 https://github.com/getsentry/sentry-javascript/pull/15979#pullrequestreview-2746046101
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15979/files/f57e14c1964a700735894ddd43e758967fdb6417
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/15979#pullrequestreview-2746046101
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#15980https://github.com/getsentry/sentry-javascript/pull/15980
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
https://github.com/lforst
lforsthttps://github.com/lforst
51f04a1https://github.com/getsentry/sentry-javascript/commit/51f04a1b775ea5677c3fcee53ac565fd7ee4e56b
Apr 7, 2025https://github.com/getsentry/sentry-javascript/pull/15979#event-17149531266
https://github.com/lforst
lforsthttps://github.com/lforst
April 7, 2025 09:05https://github.com/getsentry/sentry-javascript/pull/15979#event-17149532223
https://github.com/estimmerman
estimmermanhttps://github.com/estimmerman
May 2, 2025 https://github.com/getsentry/sentry-javascript/pull/15979#ref-issue-2007701748
Record response headers on http client spans #9643 https://github.com/getsentry/sentry-javascript/issues/9643
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F15979
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/15979/files/f57e14c1964a700735894ddd43e758967fdb6417
https://github.com/mydea
mydea https://github.com/mydea
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15979
https://github.com/lforst
https://github.com/mydea
https://github.com/Lms24
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-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.