Package + Version
@sentry/tracing 5.25.0
Description
The Performance is great at catching request, but does not detect custom middleware at all. I saw in the documentation how to manually add spans, but how to automate the process? How was express.json tagged as middleware/jsonParser?
Here is init
app.use(Sentry.Handlers.requestHandler());app.use(Sentry.Handlers.tracingHandler());app.use(express.json({limit: '25mb'}));app.use(Sentry.Handlers.errorHandler());This is an example with several custom middleware.
app.post('/api/send,
UserController.isAuthenticated,SendEmailController.send,UserController.saveUserInCache,);Unfortunately, these middleware are not included in the report.

Thank you.
Package + Version
@sentry/tracing 5.25.0
Description
The Performance is great at catching request, but does not detect custom middleware at all. I saw in the documentation how to manually add spans, but how to automate the process? How was
express.jsontagged as middleware/jsonParser?Here is init
This is an example with several custom middleware.
Unfortunately, these middleware are not included in the report.

Thank you.