Skip to content

feat(node)!: Remove connect integration - #22432

Merged
msonnb merged 2 commits into
developfrom
ms/js-2922
Jul 21, 2026
Merged

feat(node)!: Remove connect integration#22432
msonnb merged 2 commits into
developfrom
ms/js-2922

Conversation

@msonnb

@msonnb msonnb commented Jul 21, 2026

Copy link
Copy Markdown
Member

Removes the connectIntegration and setupConnectErrorHandler API from @sentry/node in v11, together with the vendored opentelemetry instrumentation, the unit + integration tests, the node-connect e2e app, and the connect dev-dependency.

closes #21960

Removes the `connectIntegration` / `setupConnectErrorHandler` API and the
vendored `@opentelemetry/instrumentation-connect` files from `@sentry/node`,
along with its wiring, tests, and the re-exports in every downstream server
SDK. We have seen no connect spans throughout the year, so the instrumentation
is effectively unused and not worth maintaining.

Ref JS-2922

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@linear-code

linear-code Bot commented Jul 21, 2026

Copy link
Copy Markdown

JS-2922

@msonnb msonnb changed the title feat(node): Remove connect instrumentation feat(node)!: Remove connect instrumentation Jul 21, 2026
@msonnb

msonnb commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit a0a4151. Configure here.

@msonnb msonnb changed the title feat(node)!: Remove connect instrumentation feat(node)!: Remove connect integration Jul 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.75 kB - -
@sentry/browser - with treeshaking flags 26.18 kB - -
@sentry/browser (incl. Tracing) 46.56 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.37 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.36 kB - -
@sentry/browser (incl. Tracing, Replay) 85.84 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.46 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.55 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 103.21 kB - -
@sentry/browser (incl. Feedback) 44.93 kB - -
@sentry/browser (incl. sendFeedback) 32.55 kB - -
@sentry/browser (incl. FeedbackAsync) 37.69 kB - -
@sentry/browser (incl. Metrics) 28.83 kB - -
@sentry/browser (incl. Logs) 29.05 kB - -
@sentry/browser (incl. Metrics & Logs) 29.76 kB - -
@sentry/react 29.54 kB - -
@sentry/react (incl. Tracing) 48.84 kB - -
@sentry/vue 33.17 kB - -
@sentry/vue (incl. Tracing) 48.52 kB - -
@sentry/svelte 27.78 kB - -
CDN Bundle 30.14 kB - -
CDN Bundle (incl. Tracing) 48.53 kB - -
CDN Bundle (incl. Logs, Metrics) 31.73 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.83 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.99 kB - -
CDN Bundle (incl. Tracing, Replay) 86.05 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.35 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.85 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 93.12 kB - -
CDN Bundle - uncompressed 89.88 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.73 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.59 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 150.71 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 219.35 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.96 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 269.93 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.67 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 283.62 kB - -
@sentry/nextjs (client) 51.36 kB - -
@sentry/sveltekit (client) 46.99 kB - -
@sentry/core/server 80.26 kB - -
@sentry/core/browser 66.69 kB - -
@sentry/node-core 63.21 kB - -
@sentry/node 125.06 kB -0.56% -697 B 🔽
@sentry/node (incl. diagnostics channel injection) 150.5 kB -0.47% -703 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 70.03 kB -0.01% -2 B 🔽
@sentry/node/light 51.32 kB - -
@sentry/node - without tracing 74.92 kB - -
@sentry/aws-serverless 84.15 kB +0.01% +1 B 🔺
@sentry/cloudflare (withSentry) - minified 197.66 kB - -
@sentry/cloudflare (withSentry) 486.61 kB - -

View base workflow run

@msonnb
msonnb marked this pull request as ready for review July 21, 2026 13:53
@msonnb
msonnb requested review from a team as code owners July 21, 2026 13:53
@msonnb
msonnb requested review from JPeer264, chargome, isaacs and nicohrubec and removed request for a team July 21, 2026 13:53

@andreiborza andreiborza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@nicohrubec nicohrubec left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@msonnb
msonnb merged commit b0153c2 into develop Jul 21, 2026
314 checks passed
@msonnb
msonnb deleted the ms/js-2922 branch July 21, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove connect instrumentation

3 participants