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)

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions