-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add avgRTT to nfs mountstats #487
Conversation
DCO sign-off missing but LGTM otherwise |
Signed-off-by: shankeerthan-kasilingam <shankeerthan1995@gmail.com>
Thanks for reviewing again. Fixed the DCO issue and renamed |
Hi @SuperQ, Could you please review this PR when you have time? Thanks in advance! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should cleanup the Go docs for the struct, but since the rest are broken this is fine.
I just realized that this feature is not something we should have in the code. It's computing an artificial value from existing data, which is not something we do in our libraries. If you want to compute this value, you can do it upstream. |
This is an artificiality computed value from existing values. The goal of this library is to provide simple raw access to values, rather than pre-compute data. Reverts: #487 Signed-off-by: SuperQ <superq@gmail.com>
This is an artificiality computed value from existing values. The goal of this library is to provide simple raw access to values, rather than pre-compute data. Reverts: prometheus#487 Signed-off-by: SuperQ <superq@gmail.com>
Hi Team,
I'm sending this PR to add avgRTT to nfs mount stats. prometheus/node_exporter#2550
I followed the same approach as linux kernel to calculate
avgRTT
. https://git.linux-nfs.org/?p=bfields/nfs-utils.git;a=blob;f=tools/nfs-iostat/nfs-iostat.py;h=1df74ba822b59f68c556530e6bf825a1e57f611d;hb=HEAD#l342Let me know your feedback.
cc : @discordianfish
Thanks!