Skip to content

Conversation

@WUMUXIAN
Copy link
Contributor

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

@CLAassistant
Copy link

CLAassistant commented Aug 25, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@brayniac brayniac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks great and will be an excellent addition to Rezolus. Please be sure to sign the CLA and address the feedback in this review. Once those are done and tests are passing, we can merge this.

@brayniac
Copy link
Contributor

Note: the cargo audit test failure is unrelated to this change and will not block merge.

@WUMUXIAN
Copy link
Contributor Author

Addressed the comments

Copy link
Contributor

@brayniac brayniac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks again for adding this!

@brayniac brayniac merged commit a5957ec into twitter:master Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants