-
Notifications
You must be signed in to change notification settings - Fork 320
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
MountStatsNFS parsing multiple transport (xprt) lines #450
Comments
That seems reasonable to me. |
rexagod
added a commit
to rexagod/procfs
that referenced
this issue
Mar 22, 2024
Allow parsing multiple `xprt` fields present in the same NFS transport stats data. Fixes: prometheus#450 Signed-off-by: Pranshu Srivastava <[email protected]>
SuperQ
pushed a commit
that referenced
this issue
May 12, 2024
Allow parsing multiple `xprt` fields present in the same NFS transport stats data. Fixes: #450 Signed-off-by: Pranshu Srivastava <[email protected]>
jritter
pushed a commit
to jritter/procfs
that referenced
this issue
Jul 15, 2024
Allow parsing multiple `xprt` fields present in the same NFS transport stats data. Fixes: prometheus#450 Signed-off-by: Pranshu Srivastava <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The mountstats for NFS mounts can contain multiple xprt lines when
nconnect
is greater than one. Because traffic is equally spread between all the connections, when nconnect is greater than 1, anything that reports on the NFS transport stats will report a lower value than expected.The simplest option would be to change
MountStatsNFS.Transport
to a slice ofNFSTransportStats
. Though this would introduce a breaking change.Example
This is an example of the mountstats with
nconnect=16
. In this example there are 16xprt:
lines, one for each RPC connection.The text was updated successfully, but these errors were encountered: