-
Notifications
You must be signed in to change notification settings - Fork 20
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
"Cannot read property 'duration' of undefined" when app receives request #213
Comments
@tobespc ----^ I haven't reproed, I'll try after looking at some other fires |
It looks like this may have been a bad packaging of apiconnect |
I reopened, because I think #216 is just a work-around, and that something unexpected is happening we need to figure out. |
I don't see a 'response' in the express data emitted, am I missing something? |
Yes, it looks like the express probe was refactored at some point. RuntimeTools/appmetrics#260 As long as strong-supervisor is getting all the express data it needs from appmetrics I would say we can just delete that check i.e. remove the whole of |
supervisor is getting what it needs, but that isn't quite enough. If this is related to RuntimeTools/appmetrics#260, it probably means that the structure of the data is different when the user's app includes https://www.npmjs.com/package/strong-express-metrics, and perhaps that the probe name is wrong? strong-express-metrics is a bit odd, its something that the user manually adds as middleware, and which then sends extra information up the stack: appmetrics -> supervisor -> strong-pm -> strong-arc. Whether its there or not, supervisor should still work. |
Module versions:
[email protected]
[email protected]
[email protected]
Using the [email protected] as my test application, after sending a GET request to the base route of the application, I receive this error:
The text was updated successfully, but these errors were encountered: