René's URL Explorer Experiment


Title: Remove `@opentelemetry/instrumentation` dependency from `@sentry/node` · Issue #22759 · getsentry/sentry-javascript · GitHub

Open Graph Title: Remove `@opentelemetry/instrumentation` dependency from `@sentry/node` · Issue #22759 · getsentry/sentry-javascript

X Title: Remove `@opentelemetry/instrumentation` dependency from `@sentry/node` · Issue #22759 · getsentry/sentry-javascript

Description: After removing the iitm-based instrumentations (#22346) and the deprecated InstrumentationBase-derived classes, @sentry/node no longer registers any OpenTelemetry/import-in-the-middle module patchers. But it still depends on @opentelemet...

Open Graph Description: After removing the iitm-based instrumentations (#22346) and the deprecated InstrumentationBase-derived classes, @sentry/node no longer registers any OpenTelemetry/import-in-the-middle module patche...

X Description: After removing the iitm-based instrumentations (#22346) and the deprecated InstrumentationBase-derived classes, @sentry/node no longer registers any OpenTelemetry/import-in-the-middle module patche...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove `@opentelemetry/instrumentation` dependency from `@sentry/node`","articleBody":"After removing the iitm-based instrumentations (getsentry/sentry-javascript#22346) and the deprecated `InstrumentationBase`-derived classes, `@sentry/node` no longer registers any OpenTelemetry/import-in-the-middle module patchers. But it still depends on `@opentelemetry/instrumentation` for a handful of live imports. This ticket tracks vendoring/reimplementing those so we can drop the dependency, mirroring the `@opentelemetry/core` removal effort in getsentry/sentry-javascript#21674.\n\n## Remaining consumers (as of getsentry/sentry-javascript#22346 end state)\n\nLive code imports:\n\n* `packages/node/src/otel/instrument.ts` — `registerInstrumentations`, `Instrumentation` (type). Backs `generateInstrumentOnce`, which is a public export (`src/index.ts`).\n* `packages/node/src/utils/ensureIsWrapped.ts` — `isWrapped`. Used by the Express/Koa/Hapi/Fastify error-handler setup to warn if the app object wasn't wrapped.\n\nType-only imports (trivial to inline):\n\n* `packages/node/src/integrations/http/SentryHttpInstrumentation.ts` — `InstrumentationConfig`, base of the public `SentryHttpInstrumentationOptions`.\n* `packages/node/src/integrations/tracing/redis/vendored/types.ts` — `InstrumentationConfig`, base of the redis cache option types used by `cache.ts`.\n\n## Work\n\n- [ ] Reimplement or vendor `registerInstrumentations` + the `Instrumentation` type behind `generateInstrumentOnce` (or evaluate whether `generateInstrumentOnce` still needs to exist at all now that nothing internal calls it — it only remains as a public export).\n- [ ] Reimplement/vendor `isWrapped` (small shimmer helper).\n- [ ] Inline the two `InstrumentationConfig` type usages.\n- [ ] Drop `@opentelemetry/instrumentation` from `packages/node/package.json`.\n\n## Notes\n\n* Gated on getsentry/sentry-javascript#22346 (iitm instrumentation removal) landing first.\n* Overlaps with getsentry/sentry-javascript#22555: removing/replacing `isWrapped` is a chance to also fix the false \"not instrumented\" warnings that `ensureIsWrapped` now emits for channel-based Express/Koa/Hapi. Consider folding that fix in here.\n* Sibling of the `@opentelemetry/core` removal (getsentry/sentry-javascript#21674); same vendor-then-drop shape.\n* Related: getsentry/sentry-javascript#22489 (remove iitm-based instrumentations from `@sentry/core`).","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-07-28T12:13:25Z","url":"https://github.com/getsentry/sentry-javascript/issues/22759"}

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:7d3946a2-f977-7241-3916-957bb34eb08a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE1A0:3EF53B:2D97D0:3CFA8C:6B04B7F7
html-safe-nonce5e273e3618c004388fd96e936369aea4467ee913784894a77282c6d1621c96cf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUEwOjNFRjUzQjoyRDk3RDA6M0NGQThDOjZCMDRCN0Y3IiwidmlzaXRvcl9pZCI6IjcxMjE0NDE2NzI3ODUwODIzNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac09e8e17b845cb5276242431c8651fc9aed7f3cf50bd14cc8e6459b6ce68d00f3
hovercard-subject-tagissue:4998416777
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/22759/issue_layout
twitter:imagehttps://opengraph.githubassets.com/48bc3eedc41223fc2ed0cf8eb462834c09cce2beb8358985dd0a2dec1a25f3d5/getsentry/sentry-javascript/issues/22759
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/48bc3eedc41223fc2ed0cf8eb462834c09cce2beb8358985dd0a2dec1a25f3d5/getsentry/sentry-javascript/issues/22759
og:image:altAfter removing the iitm-based instrumentations (#22346) and the deprecated InstrumentationBase-derived classes, @sentry/node no longer registers any OpenTelemetry/import-in-the-middle module patche...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandreiborza
hostnamegithub.com
expected-hostnamegithub.com
None378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7
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
releaseb032e77f1ea437ede6c115446a0a467709b468e7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/22759#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F22759
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%2F22759
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/22759
Reloadhttps://github.com/getsentry/sentry-javascript/issues/22759
Reloadhttps://github.com/getsentry/sentry-javascript/issues/22759
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
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/22759
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/22759
Remove @opentelemetry/instrumentation dependency from @sentry/nodehttps://github.com/getsentry/sentry-javascript/issues/22759#top
https://github.com/andreiborza
Node.jshttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Node.js%22
OpenTelemetryhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22OpenTelemetry%22
Taskhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Task%22
Tech Debthttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Tech%20Debt%22
javascripthttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22javascript%22
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
on Jul 28, 2026https://github.com/getsentry/sentry-javascript/issues/22759#issue-4998416777
#22346https://github.com/getsentry/sentry-javascript/issues/22346
#21674https://github.com/getsentry/sentry-javascript/issues/21674
#22346https://github.com/getsentry/sentry-javascript/issues/22346
Remove iitm-based instrumentations from @sentry/node #22346https://github.com/getsentry/sentry-javascript/issues/22346
ensureIsWrapped emits false "not instrumented" warnings for channel-based Express/Koa/Hapi #22555https://github.com/getsentry/sentry-javascript/issues/22555
Remove @opentelemetry/core dependency #21674https://github.com/getsentry/sentry-javascript/issues/21674
Remove iitm-based instrumentations from @sentry/core #22489https://github.com/getsentry/sentry-javascript/issues/22489
andreiborzahttps://github.com/andreiborza
on Jul 28, 2026https://github.com/getsentry/sentry-javascript/issues/22759#event-28596850482
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Jul 28, 2026https://github.com/getsentry/sentry-javascript/issues/22759#issuecomment-5103992578
Linear Codehttps://linear.app
JS-3203https://linear.app/getsentry/issue/JS-3203
andreiborzahttps://github.com/andreiborza
Taskhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Task%22
OpenTelemetryhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22OpenTelemetry%22
javascripthttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22javascript%22
Node.jshttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Node.js%22
Tech Debthttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Tech%20Debt%22
on Jul 28, 2026https://github.com/getsentry/sentry-javascript/issues/22759#event-28596852041
andreiborzahttps://github.com/andreiborza
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 31, 2026https://github.com/getsentry/sentry-javascript/issues/22759#event-28779116597
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/22759
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/22759
andreiborzahttps://github.com/andreiborza
Node.jshttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Node.js%22
OpenTelemetryhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22OpenTelemetry%22
Taskhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Task%22
Tech Debthttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Tech%20Debt%22
javascripthttps://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.