Closed WUMUXIAN closed 3 years ago
Problem
Currently the TCP sampler does not support TCP RTT (round-trip time) metric, which is useful to analyse the quality of the network.
Solution
Introduced a new kprobe using BPF and collect RTT metric in a histogram in kernel space, and export it to the TCP sampler.
Result
The metric is supported as 'tcp/srtt' metric
All committers have signed the CLA.
Note: the cargo audit test failure is unrelated to this change and will not block merge.
Addressed the comments
Problem
Currently the TCP sampler does not support TCP RTT (round-trip time) metric, which is useful to analyse the quality of the network.
Solution
Introduced a new kprobe using BPF and collect RTT metric in a histogram in kernel space, and export it to the TCP sampler.
Result
The metric is supported as 'tcp/srtt' metric