Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Metrics: connection type in name always NONE #8540
When the connection is made, the connection type is not known yet. But the connection type is used in the metrics id, and the metrics id is used as soon as the connection is made. So it defaults to NONE in the 'getMetricsId' function.
And that is why you see for all connections:
No matter if something a client thread or not.
Probably it would be better to add a probe 'connection type' (integer value) and remove the connection type from the TcpIpConnection.getMetricsId function
This is a minor issue. Just a small debug improvement.