René's URL Explorer Experiment


Title: feat(node): Extract Sentry-specific node-fetch instrumentation by mydea · Pull Request #15231 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(node): Extract Sentry-specific node-fetch instrumentation by mydea · Pull Request #15231 · getsentry/sentry-javascript

X Title: feat(node): Extract Sentry-specific node-fetch instrumentation by mydea · Pull Request #15231 · 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 basically mirrors what we did here: #13763 to ensure that the UndiciInstrumentation from fetch can be safely removed. With this change, if spans: false is configured and/or skipOpenTelemetr...

X Description: This PR basically mirrors what we did here: #13763 to ensure that the UndiciInstrumentation from fetch can be safely removed. With this change, if spans: false is configured and/or skipOpenTelemetr...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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:40ca913b-8b79-548c-578f-c3ffee680a08
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD5C6:2F9258:13B382F:1951C82:6B03D6B5
html-safe-nonce777a4ea1fe0c618fa7fb4b7b0fb92eecf39c976a48979e94e5595f8983473cc4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUM2OjJGOTI1ODoxM0IzODJGOjE5NTFDODI6NkIwM0Q2QjUiLCJ2aXNpdG9yX2lkIjoiNzgwNjcwMjIwNTkxODIzODM4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac90c83053fee5c282d5a5859a83025b9a4c4f5f3f4edacfeab6ed37ffe73bd994
hovercard-subject-tagpull_request:2306416419
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/15231/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/463f9d40e941d59fd2e552e743adbe83c840a92ad8ebeb813ce18f7aa08e9b72/getsentry/sentry-javascript/pull/15231
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/463f9d40e941d59fd2e552e743adbe83c840a92ad8ebeb813ce18f7aa08e9b72/getsentry/sentry-javascript/pull/15231
og:image:altThis PR basically mirrors what we did here: #13763 to ensure that the UndiciInstrumentation from fetch can be safely removed. With this change, if spans: false is configured and/or skipOpenTelemetr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemydea
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/15231#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F15231
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%2F15231
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/15231
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15231
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15231
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues345 (345)https://github.com/getsentry/sentry-javascript/issues
Pull requests77 (77)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
fn/node-fetch-customhttps://github.com/getsentry/sentry-javascript/tree/fn/node-fetch-custom
Conversationhttps://github.com/getsentry/sentry-javascript/pull/15231
Commits11 (11)https://github.com/getsentry/sentry-javascript/pull/15231/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/15231/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/15231/files
feat(node): Extract Sentry-specific node-fetch instrumentationhttps://github.com/getsentry/sentry-javascript/pull/15231#top
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/node-fetch-customhttps://github.com/getsentry/sentry-javascript/tree/fn/node-fetch-custom
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 30, 2025https://github.com/getsentry/sentry-javascript/pull/15231#issue-2820323283
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15231
#13763https://github.com/getsentry/sentry-javascript/pull/13763
#15212https://github.com/getsentry/sentry-javascript/issues/15212
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15231
https://github.com/mydea
mydeahttps://github.com/mydea
Lms24https://github.com/Lms24
lforsthttps://github.com/lforst
January 30, 2025 09:31https://github.com/getsentry/sentry-javascript/pull/15231#event-16121466655
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 30, 2025https://github.com/getsentry/sentry-javascript/pull/15231#event-16121466734
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/3ab670cd9ac802bfef8d5abf159bc7444e678888..4c6e295eefe43e339e6ccc64a5a0b65b2627600d
3ab670chttps://github.com/getsentry/sentry-javascript/commit/3ab670cd9ac802bfef8d5abf159bc7444e678888
4c6e295https://github.com/getsentry/sentry-javascript/commit/4c6e295eefe43e339e6ccc64a5a0b65b2627600d
Compare https://github.com/getsentry/sentry-javascript/compare/3ab670cd9ac802bfef8d5abf159bc7444e678888..4c6e295eefe43e339e6ccc64a5a0b65b2627600d
January 30, 2025 09:34https://github.com/getsentry/sentry-javascript/pull/15231#event-16121495192
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 30, 2025https://github.com/getsentry/sentry-javascript/pull/15231#issuecomment-2623981154
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15231
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/13266651595
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15231
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 30, 2025 https://github.com/getsentry/sentry-javascript/pull/15231#ref-pullrequest-2820801789
fix(node): Ensure httpIntegration propagates traces #15233 https://github.com/getsentry/sentry-javascript/pull/15233
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/f44d6a775f5da97c868458e095b526a05d8ff109..668c276dd084277189985203ffc4d3d398f53b24
f44d6a7https://github.com/getsentry/sentry-javascript/commit/f44d6a775f5da97c868458e095b526a05d8ff109
668c276https://github.com/getsentry/sentry-javascript/commit/668c276dd084277189985203ffc4d3d398f53b24
Compare https://github.com/getsentry/sentry-javascript/compare/f44d6a775f5da97c868458e095b526a05d8ff109..668c276dd084277189985203ffc4d3d398f53b24
January 30, 2025 13:35https://github.com/getsentry/sentry-javascript/pull/15231#event-16124470546
https://github.com/Lms24
Lms24https://github.com/Lms24
Jan 31, 2025 https://github.com/getsentry/sentry-javascript/pull/15231#pullrequestreview-2586049878
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15231/files
packages/node/src/integrations/node-fetch/SentryNodeFetchInstrumentation.tshttps://github.com/getsentry/sentry-javascript/pull/15231/files#diff-e467b8589ddf11860bd308f6c47385b313be21be108d3fb083f883abe21f5ec8
Lms24https://github.com/Lms24
Jan 31, 2025https://github.com/getsentry/sentry-javascript/pull/15231#discussion_r1936905171
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#15233 (comment)https://github.com/getsentry/sentry-javascript/pull/15233#discussion_r1936885469
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15231
mydeahttps://github.com/mydea
Jan 31, 2025https://github.com/getsentry/sentry-javascript/pull/15231#discussion_r1936943023
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15231
mydeahttps://github.com/mydea
Jan 31, 2025https://github.com/getsentry/sentry-javascript/pull/15231#discussion_r1937047364
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15231
packages/node/src/integrations/node-fetch/SentryNodeFetchInstrumentation.tshttps://github.com/getsentry/sentry-javascript/pull/15231/files#diff-e467b8589ddf11860bd308f6c47385b313be21be108d3fb083f883abe21f5ec8
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15231
mydeahttps://github.com/mydea
Jan 31, 2025 https://github.com/getsentry/sentry-javascript/pull/15231#ref-commit-3e31bdc
https://github.com/mydea
https://github.com/Lms24
fix(node): Ensurehttps://github.com/getsentry/sentry-javascript/commit/3e31bdc405d2ef8514e98d000c7a916c51c0399f
httpIntegrationhttps://github.com/getsentry/sentry-javascript/commit/3e31bdc405d2ef8514e98d000c7a916c51c0399f
propagates traces (https://github.com/getsentry/sentry-javascript/commit/3e31bdc405d2ef8514e98d000c7a916c51c0399f
#15233https://github.com/getsentry/sentry-javascript/pull/15233
)https://github.com/getsentry/sentry-javascript/commit/3e31bdc405d2ef8514e98d000c7a916c51c0399f
3e31bdchttps://github.com/getsentry/sentry-javascript/commit/3e31bdc405d2ef8514e98d000c7a916c51c0399f
#15231https://github.com/getsentry/sentry-javascript/pull/15231
mydeahttps://github.com/mydea
January 31, 2025 11:07https://github.com/getsentry/sentry-javascript/pull/15231#commits-pushed-5179f09
https://github.com/mydea
ref: move to folderhttps://github.com/getsentry/sentry-javascript/pull/15231/commits/5179f09e7d1f06ea9507813df75df7496fc54bf3
5179f09https://github.com/getsentry/sentry-javascript/pull/15231/commits/5179f09e7d1f06ea9507813df75df7496fc54bf3
https://github.com/mydea
feat(node): Extract Sentry-specific node-fetch instrumentationhttps://github.com/getsentry/sentry-javascript/pull/15231/commits/2459be65f4282831d79b65fd86ed6618e63d41a7
2459be6https://github.com/getsentry/sentry-javascript/pull/15231/commits/2459be65f4282831d79b65fd86ed6618e63d41a7
https://github.com/mydea
fix linthttps://github.com/getsentry/sentry-javascript/pull/15231/commits/5f735492ca8b78caa6ad1acf02d8e2105051966d
5f73549https://github.com/getsentry/sentry-javascript/pull/15231/commits/5f735492ca8b78caa6ad1acf02d8e2105051966d
https://github.com/mydea
small refhttps://github.com/getsentry/sentry-javascript/pull/15231/commits/522b9c726dccc1b6dafa46f8d489dc9dae97214c
522b9c7https://github.com/getsentry/sentry-javascript/pull/15231/commits/522b9c726dccc1b6dafa46f8d489dc9dae97214c
https://github.com/mydea
wip debug it?https://github.com/getsentry/sentry-javascript/pull/15231/commits/e51438eb4282a188b3ee90ccc839eb52485f3aa8
e51438ehttps://github.com/getsentry/sentry-javascript/pull/15231/commits/e51438eb4282a188b3ee90ccc839eb52485f3aa8
https://github.com/mydea
fix it actuallyhttps://github.com/getsentry/sentry-javascript/pull/15231/commits/16d9e1d4368edd0de4ddf429d55626e33c7e7358
16d9e1dhttps://github.com/getsentry/sentry-javascript/pull/15231/commits/16d9e1d4368edd0de4ddf429d55626e33c7e7358
https://github.com/mydea
merge fetch baggagehttps://github.com/getsentry/sentry-javascript/pull/15231/commits/07e8184421e65a0c6d4de02256ece4415f347011
07e8184https://github.com/getsentry/sentry-javascript/pull/15231/commits/07e8184421e65a0c6d4de02256ece4415f347011
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/653a5d841510941813b2c0dfdede46168bf38200..07e8184421e65a0c6d4de02256ece4415f347011
653a5d8https://github.com/getsentry/sentry-javascript/commit/653a5d841510941813b2c0dfdede46168bf38200
07e8184https://github.com/getsentry/sentry-javascript/commit/07e8184421e65a0c6d4de02256ece4415f347011
Compare https://github.com/getsentry/sentry-javascript/compare/653a5d841510941813b2c0dfdede46168bf38200..07e8184421e65a0c6d4de02256ece4415f347011
January 31, 2025 10:21https://github.com/getsentry/sentry-javascript/pull/15231#event-16137198970
https://github.com/mydea
small refhttps://github.com/getsentry/sentry-javascript/pull/15231/commits/73af3a1ba546b94b26aad11c400b0fa5779d5885
73af3a1https://github.com/getsentry/sentry-javascript/pull/15231/commits/73af3a1ba546b94b26aad11c400b0fa5779d5885
https://github.com/mydea
mydeahttps://github.com/mydea
Lms24https://github.com/Lms24
February 3, 2025 11:58https://github.com/getsentry/sentry-javascript/pull/15231#event-16161171768
https://github.com/lforst
lforsthttps://github.com/lforst
February 7, 2025 12:06https://github.com/getsentry/sentry-javascript/pull/15231#event-16224172536
https://github.com/lforst
lforsthttps://github.com/lforst
lforsthttps://github.com/lforst
mydeahttps://github.com/mydea
mydeahttps://github.com/mydea
Feb 7, 2025https://github.com/getsentry/sentry-javascript/pull/15231#event-16224175969
February 12, 2025 09:32https://github.com/getsentry/sentry-javascript/pull/15231#commits-pushed-124771d
Merge remote-tracking branch 'origin/develop' into fn/node-fetch-customhttps://github.com/getsentry/sentry-javascript/pull/15231/commits/124771d087991ffc893f0f69b6890c6ce1bf32ef
124771dhttps://github.com/getsentry/sentry-javascript/pull/15231/commits/124771d087991ffc893f0f69b6890c6ce1bf32ef
exporthttps://github.com/getsentry/sentry-javascript/pull/15231/commits/71148544952a11fd8f312416c5c40ef884021e92
7114854https://github.com/getsentry/sentry-javascript/pull/15231/commits/71148544952a11fd8f312416c5c40ef884021e92
Extract regexhttps://github.com/getsentry/sentry-javascript/pull/15231/commits/2a831f776b22e1a7de776b30449da79a1dd53fc2
2a831f7https://github.com/getsentry/sentry-javascript/pull/15231/commits/2a831f776b22e1a7de776b30449da79a1dd53fc2
https://github.com/lforst
lforsthttps://github.com/lforst
Feb 12, 2025 https://github.com/getsentry/sentry-javascript/pull/15231#pullrequestreview-2611446884
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15231/files/2a831f776b22e1a7de776b30449da79a1dd53fc2
https://github.com/lforst
lforsthttps://github.com/lforst
February 12, 2025 10:23https://github.com/getsentry/sentry-javascript/pull/15231#event-16278488128
https://github.com/lforst
lforsthttps://github.com/lforst
7c8f0cdhttps://github.com/getsentry/sentry-javascript/commit/7c8f0cdb12294009d644a2532ab825bc6f1fc758
Feb 12, 2025https://github.com/getsentry/sentry-javascript/pull/15231#event-16278595360
https://github.com/lforst
lforsthttps://github.com/lforst
February 12, 2025 10:30https://github.com/getsentry/sentry-javascript/pull/15231#event-16278595729
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 13, 2025 https://github.com/getsentry/sentry-javascript/pull/15231#ref-issue-2817582850
Extract node-fetch non-span functionality into standalone instrumentation #15212 https://github.com/getsentry/sentry-javascript/issues/15212
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%2F15231
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/lforst
lforst https://github.com/lforst
https://github.com/getsentry/sentry-javascript/pull/15231/files/2a831f776b22e1a7de776b30449da79a1dd53fc2
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15231
https://github.com/mydea
mydea https://github.com/mydea
https://github.com/lforst
lforst https://github.com/lforst
Extract node-fetch non-span functionality into standalone instrumentation https://github.com/getsentry/sentry-javascript/issues/15212
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15231
https://github.com/mydea
https://github.com/lforst
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.