We improved per-connection logging with RTT histograms. With this improvement Spindump can collect the RTT samples into histogam with different resolutions like 0.1, 0.2 ... 0.9ms, 1, 2 ... 9ms, 10, 20 ... 90ms, 100, 200 ... 900ms, 1, 2 ... 9s. Similar could be implemented for bandwidth in the future (not included in this PR).
--connection switch, rtt histogram, the way deleted connections are printed could be improved, this work is a quick initial implementation, probably some functions called from the wrong place.
Also we currently use the default connection print method.
This pull request introduces 1 alert when merging 16fc421f2044a6e63388320898ed29e120bb0be2 into 47966245370e42fbd906ce96ae5717401e793704 - view on LGTM.com
We improved per-connection logging with RTT histograms. With this improvement Spindump can collect the RTT samples into histogam with different resolutions like 0.1, 0.2 ... 0.9ms, 1, 2 ... 9ms, 10, 20 ... 90ms, 100, 200 ... 900ms, 1, 2 ... 9s. Similar could be implemented for bandwidth in the future (not included in this PR).
--connection
switch, rtt histogram, the way deleted connections are printed could be improved, this work is a quick initial implementation, probably some functions called from the wrong place.Also we currently use the default connection print method.