Skip to content

[express] express auto instrumentation no longer works if you enable profiling #14525

Closed
@shellmayr

Description

@shellmayr

After following the docs and https://docs.sentry.io/platforms/javascript/guides/express/profiling/
once the profiling is enabled, a message gets shown saying:

[Sentry] express is not instrumented. This is likely because you required/imported express before calling `Sentry.init()`.

Also express instrumentation doesn't work.

Once the profiling is disabled, express instrumentation works.

Metadata

Metadata

Assignees

Labels

Package: nodeIssues related to the Sentry Node SDKPackage: profiling-nodeIssues related to the Sentry Profiling Node SDK

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions