René's URL Explorer Experiment


Title: feat(node): Only add span listeners for instrumentation when used by mydea · Pull Request #15802 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(node): Only add span listeners for instrumentation when used by mydea · Pull Request #15802 · getsentry/sentry-javascript

X Title: feat(node): Only add span listeners for instrumentation when used by mydea · Pull Request #15802 · getsentry/sentry-javascript

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

Open Graph Description: Related to #15725 (comment), this PR is an idea to avoid registering on('spanStart') hooks for all the node libraries that do not have proper hooks, unless they are used. Today, for OTEL in...

X Description: Related to #15725 (comment), this PR is an idea to avoid registering on('spanStart') hooks for all the node libraries that do not have proper hooks, unless they are used. Today, for...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:fa1e58aa-7391-ad19-0105-190b6efe120c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB52:13FB37:138A8FA:1A64F00:6B03FCAC
html-safe-nonce98f01b558a0204e8514f29703257503f6250e85575e833ba81c9e3267de3206f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjUyOjEzRkIzNzoxMzhBOEZBOjFBNjRGMDA6NkIwM0ZDQUMiLCJ2aXNpdG9yX2lkIjoiODk5NTEyMDI3OTQ5MTcwNjAyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac01c6753278b0b420970e0f2717f2e53d569f4519754b6a9ffe36939f559f7d55
hovercard-subject-tagpull_request:2413827642
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/15802/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5c88f492339c752a6ca002b8ec41801ade025d4974d6702523488965b1ed9a4c/getsentry/sentry-javascript/pull/15802
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5c88f492339c752a6ca002b8ec41801ade025d4974d6702523488965b1ed9a4c/getsentry/sentry-javascript/pull/15802
og:image:altRelated to #15725 (comment), this PR is an idea to avoid registering on('spanStart') hooks for all the node libraries that do not have proper hooks, unless they are used. Today, for OTEL in...
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/15802#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F15802
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%2F15802
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/15802
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15802
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15802
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 requests64 (64)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
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/conditional-spanStarthttps://github.com/getsentry/sentry-javascript/tree/fn/conditional-spanStart
Conversationhttps://github.com/getsentry/sentry-javascript/pull/15802
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/15802/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/15802/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/15802/files
feat(node): Only add span listeners for instrumentation when usedhttps://github.com/getsentry/sentry-javascript/pull/15802#top
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/conditional-spanStarthttps://github.com/getsentry/sentry-javascript/tree/fn/conditional-spanStart
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 24, 2025https://github.com/getsentry/sentry-javascript/pull/15802#issue-2943347026
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15802
#15725 (comment)https://github.com/getsentry/sentry-javascript/issues/15725#issuecomment-2740015011
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15802
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 24, 2025https://github.com/getsentry/sentry-javascript/pull/15802#event-16956384617
mydeahttps://github.com/mydea
March 25, 2025 10:04https://github.com/getsentry/sentry-javascript/pull/15802#commits-pushed-3431a27
https://github.com/mydea
feat(node): WIP Only add span listeners conditionallyhttps://github.com/getsentry/sentry-javascript/pull/15802/commits/3431a27aec7cb168e09fb51b018352f25e24a73f
3431a27https://github.com/getsentry/sentry-javascript/pull/15802/commits/3431a27aec7cb168e09fb51b018352f25e24a73f
https://github.com/mydea
ref add stuffhttps://github.com/getsentry/sentry-javascript/pull/15802/commits/ee303399a0b441e257ab45358d4c37a3872ca7a7
ee30339https://github.com/getsentry/sentry-javascript/pull/15802/commits/ee303399a0b441e257ab45358d4c37a3872ca7a7
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/90d77aee66fd55b24363f2aa15a12dab35df0681..ee303399a0b441e257ab45358d4c37a3872ca7a7
90d77aehttps://github.com/getsentry/sentry-javascript/commit/90d77aee66fd55b24363f2aa15a12dab35df0681
ee30339https://github.com/getsentry/sentry-javascript/commit/ee303399a0b441e257ab45358d4c37a3872ca7a7
Compare https://github.com/getsentry/sentry-javascript/compare/90d77aee66fd55b24363f2aa15a12dab35df0681..ee303399a0b441e257ab45358d4c37a3872ca7a7
March 25, 2025 09:56https://github.com/getsentry/sentry-javascript/pull/15802#event-16971280965
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 25, 2025https://github.com/getsentry/sentry-javascript/pull/15802#issuecomment-2750718356
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15802
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/14041705111
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15802
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 25, 2025https://github.com/getsentry/sentry-javascript/pull/15802#event-16971714954
https://github.com/mydea
mydeahttps://github.com/mydea
AbhiPrasadhttps://github.com/AbhiPrasad
chargomehttps://github.com/chargome
lforsthttps://github.com/lforst
s1gr1dhttps://github.com/s1gr1d
March 25, 2025 10:23https://github.com/getsentry/sentry-javascript/pull/15802#event-16971747033
https://github.com/mydea
mydeahttps://github.com/mydea
March 25, 2025 10:23https://github.com/getsentry/sentry-javascript/pull/15802#event-16971747756
https://github.com/mydea
fixeshttps://github.com/getsentry/sentry-javascript/pull/15802/commits/d0af51d2b93b6be1e6a429f51aed83250d774153
d0af51dhttps://github.com/getsentry/sentry-javascript/pull/15802/commits/d0af51d2b93b6be1e6a429f51aed83250d774153
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 25, 2025 https://github.com/getsentry/sentry-javascript/pull/15802#pullrequestreview-2713273979
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15802/files/d0af51d2b93b6be1e6a429f51aed83250d774153
packages/node/src/integrations/tracing/prisma.tshttps://github.com/getsentry/sentry-javascript/pull/15802/files/d0af51d2b93b6be1e6a429f51aed83250d774153#diff-a430b23a0d0ee43538b146f3c0e603486354e9119316720317f49a51cc142922
mydeahttps://github.com/mydea
Mar 25, 2025https://github.com/getsentry/sentry-javascript/pull/15802#discussion_r2011829816
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15802
https://github.com/mydea
fix it for aihttps://github.com/getsentry/sentry-javascript/pull/15802/commits/4f540e507f08547ba0a123b8211bbafc4cde27fd
4f540e5https://github.com/getsentry/sentry-javascript/pull/15802/commits/4f540e507f08547ba0a123b8211bbafc4cde27fd
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 25, 2025 https://github.com/getsentry/sentry-javascript/pull/15802#pullrequestreview-2713969143
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15802/files/4f540e507f08547ba0a123b8211bbafc4cde27fd
packages/node/src/integrations/tracing/vercelai/index.tshttps://github.com/getsentry/sentry-javascript/pull/15802/files/4f540e507f08547ba0a123b8211bbafc4cde27fd#diff-91619ab8740f1c9ac76f2a9313b69f400006f1a1ab877cf50c49551e7f6f81fb
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 25, 2025https://github.com/getsentry/sentry-javascript/pull/15802#discussion_r2012222172
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15802
mydeahttps://github.com/mydea
Mar 25, 2025https://github.com/getsentry/sentry-javascript/pull/15802#discussion_r2012291695
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15802
https://github.com/mydea
mydeahttps://github.com/mydea
05391d0https://github.com/getsentry/sentry-javascript/commit/05391d0b3aa05f0df8dc2c8b395dcfc8ac2d79cc
Mar 26, 2025https://github.com/getsentry/sentry-javascript/pull/15802#event-16989307708
https://github.com/mydea
mydeahttps://github.com/mydea
March 26, 2025 09:54https://github.com/getsentry/sentry-javascript/pull/15802#event-16989308277
mergifyhttps://github.com/apps/mergify
Apr 18, 2025 https://github.com/getsentry/sentry-javascript/pull/15802#ref-commit-1da00cd
https://github.com/marketplace/mergify
[Snyk] Upgrade @sentry/browser from 9.9.0 to 9.10.0 (https://github.com/reisene/HulajDusza-serwis/commit/1da00cd0a28056ffbe5f53cb2b4da373c2491dcf
#341https://github.com/reisene/HulajDusza-serwis/pull/341
)https://github.com/reisene/HulajDusza-serwis/commit/1da00cd0a28056ffbe5f53cb2b4da373c2491dcf
1da00cdhttps://github.com/reisene/HulajDusza-serwis/commit/1da00cd0a28056ffbe5f53cb2b4da373c2491dcf
https://badgen.net/badge/icon/reisene/green?label=https://badgen.net/badge/icon/reisene/green?label=
https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)