You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Socket.io creates its own listeners on the HTTP server passed in, which later call the users’s own listeners. The SDK patches each listener, causing the unintentional duplication at each level.
Socket.io creates its own listeners on the HTTP server passed in, which later call the users’s own listeners. The SDK patches each listener, causing the unintentional duplication at each level.
We perform a simple check for avoiding duplication on outgoing HTTP dependencies (https://github.com/Microsoft/ApplicationInsights-node.js/blob/develop/AutoCollection/HttpDependencies.ts#L61) but no such check is done for incoming HTTP requests. Adding this simple check for ensuring the request object was not acted upon yet would fix this bug. In the meantime, it can also be implemented within a telemetry processor for anyone hitting this bug.
The bug can be reproduced with:
The text was updated successfully, but these errors were encountered: