You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 of NFSTransportStats. Though this would introduce a breaking change.
Example
This is an example of the mountstats with nconnect=16. In this example there are 16 xprt: lines, one for each RPC connection.
Allow parsing multiple `xprt` fields present in the same NFS transport
stats data.
Fixes: prometheus#450
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
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: