appmetrics
appmetrics copied to clipboard
Don't attempt to install probe for socket.io v3 or v4
trafficstars
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.