Commit 3d28150
ref(node)!: Remove
`@sentry/node` was the last package holding `@opentelemetry/instrumentation`.
All instrumentation is now channel-based via orchestrion, so the surface this
dependency backed is dead or a no-op:
- `generateInstrumentOnce` (and the framework re-exports) had no call sites.
- `ensureIsWrapped`'s shimmer-based check can no longer detect channel-based
express/koa/hapi, so its warning and the `missing_instrumentation` context
were removed, along with the `disableInstrumentationWarnings` option and the
`MissingInstrumentationContext` type.
- The `@sentry/node/import` ESM hook now only registers the orchestrion
diagnostics-channel injection; the legacy iitm `@sentry/node/loader` entry
was removed.
Adds the `makeOrchestrionLoader` rollup util (import-only, delegates to
`@sentry/server-utils/orchestrion/import-hook`). The legacy `makeOtelLoaders`
util is kept temporarily so the framework SDKs still build until they migrate
in the following PRs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>@opentelemetry/instrumentation dependency1 parent d596e7d commit 3d28150
38 files changed
Lines changed: 118 additions & 650 deletions
File tree
- dev-packages
- e2e-tests/test-applications/node-express-incorrect-instrumentation
- src
- tests
- rollup-utils
- code
- packages
- astro/src
- aws-serverless/src
- bun/src
- core/src
- tracing/spans
- types
- utils
- elysia/src
- google-cloud-serverless/src
- node
- src
- integrations
- http
- tracing
- hapi
- koa
- redis/vendored
- otel
- utils
- test/utils
- remix/src/server
- solidstart/src/server
- sveltekit/src/server
- types/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| |||
411 | 412 | | |
412 | 413 | | |
413 | 414 | | |
| 415 | + | |
| 416 | + | |
414 | 417 | | |
415 | 418 | | |
416 | 419 | | |
| |||
Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 0 additions & 11 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
0 commit comments