Node Application Metrics provides a foundational infrastructure for collecting resource and performance monitoring data for Node.js-based applications.
A quick workaround for issue https://github.com/RuntimeTools/appmetrics/issues/649
I'm afraid this isn't a proper fix, and only avoids installing the socket.io probe for newer versions where that doesn't currently work.
The socket.io probe only patches in successfully with socket.io v1 and v2
If a .Server class is on the socket.io export, this is probably v3+, so don't attempt to patch.
A quick workaround for issue https://github.com/RuntimeTools/appmetrics/issues/649 I'm afraid this isn't a proper fix, and only avoids installing the socket.io probe for newer versions where that doesn't currently work.
The socket.io probe only patches in successfully with socket.io v1 and v2 If a
.Server
class is on the socket.io export, this is probably v3+, so don't attempt to patch.