Skip to content

Support Express v5 #13674

Closed
Improvement
@mydea

Description

@mydea

Description

It seems that Express v5 is actually close: https://github.com/expressjs/express/releases/tag/v5.0.0

We should ensure we have support for this. This means ensuring that this is supported upstream in the OTEL instrumentation.

Current Status

As of now, you can use the Sentry SDK with Express v5, there is just limited support for some of the features:

  • Error monitoring works normally
  • There is limited tracing support. Spans generated by Express v5 may lack parametrized routes as of now
  • You will see the following warning log if you have tracing enabled: [Sentry] express is not instrumented. Please make sure to initialize Sentry in a separate file that you --import when running node. For the time being, you can silence this warning by configuring disableInstrumentationWarnings: true in your init({}) call.

Metadata

Metadata

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions