-
Notifications
You must be signed in to change notification settings - Fork 2.6k
mountstats/linux: fix multiple transports statistics labeling #3358
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
base: master
Are you sure you want to change the base?
mountstats/linux: fix multiple transports statistics labeling #3358
Conversation
|
@discordianfish @SuperQ ping again..... must be a sad joke... |
|
@sagigrimberg Whats the intention? Why do you need individual metrics per transport? Not familiar with nconnect |
|
@discordianfish Sorry for the super long delay - I stopped checking this PR frequently. The intention is to support nconnect mount option in NFS. Which creates multiple connections (transports). Currently any nconnect>1 breaks the exporter. |
When mounting nfs with nconnect, mountstats will show multiple transports. Currently the mountstats exporter fails to create metrics from this information due to repeated entries. Fix this by adding transport metrics a "transport" label enumerating their order in the mountstats output. Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
566270c to
53503f8
Compare
|
@discordianfish @SuperQ ping |
4 similar comments
|
@discordianfish @SuperQ ping |
|
@discordianfish @SuperQ ping |
|
@discordianfish @SuperQ ping |
|
@discordianfish @SuperQ ping |
|
@discordianfish @SuperQ ping |
When mounting nfs with nconnect, mountstats will show multiple transports. Currently the mountstats exporter fails to create metrics from this information due to repeated entries.
Fix this by adding transport metrics a "transport" label enumerating their order in the mountstats output.