Skip to content

node-core: remove legacy HTTP span hooks, preload workaround & re-evaluate keepAlive #22260

Description

@linear-code

Cleanups in @sentry/node-core HTTP handling that are gated on v11 / OTel-decoupling.

TODOs:

  • packages/node-core/src/integrations/http/httpServerSpansIntegration.ts:175 — remove the three legacy hooks, only onSpanCreated should remain
  • packages/node-core/src/integrations/http/SentryHttpInstrumentation.ts:210 — likely removable once preload support is dropped
  • packages/node-core/src/transports/http.ts:73 — evaluate whether keepAlive can be set to true (requires memory-leak testing on older Node)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions