Skip to content

node-integration-tests: port web framework suites to span streaming #24136

Closed

Description

@andreiborza

Follow the porting recipe in the parent issue.

Server segment span names come from the route, so the sentry.segment.name.source attribute and the low cardinality http.server name are the main assertions that change.

Suites

  • express/* (14 dirs, including express/tracing/* and express/with-http/*)
  • tracing/fastify
  • tracing/koa
  • tracing/hapi
  • tracing/lru-memoizer
  • hono-sdk

Env-gated suites

express/tracing, tracing/fastify and tracing/hapi use traceLifecycle: process.env.STREAMED === 'true' ? 'stream' : 'static'. Drop the switch and keep 'stream'.

Metadata

Metadata

Assignees

Labels

TaskjavascriptPull requests that update javascript code

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions