-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[@sentry/tracing] Express custom middleware detection #2968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@kamilogorek thank you, I see. Why is the wrapper for var originalAppPost = app.post;
app.post = function () {
// eslint-disable-next-line prefer-rest-params
return originalAppPost.apply(this, wrapUseArgs(arguments));
}; |
Closed by #2972 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
This is an example with several custom middleware.
Unfortunately, these middleware are not included in the report.

Thank you.
The text was updated successfully, but these errors were encountered: