Skip to content

mountstats/linux: fix multiple transports statistics labeling #3296

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sagigrimberg
Copy link

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.

@sagigrimberg sagigrimberg force-pushed the sagi/fix-nfs-multi-xprt branch from 8516c15 to e54568c Compare April 1, 2025 13:45
Copy link

@neurodrone neurodrone left a comment

Choose a reason for hiding this comment

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

Adding my 👍 FWIW.

@sagigrimberg sagigrimberg force-pushed the sagi/fix-nfs-multi-xprt branch 2 times, most recently from 73d0ac1 to 46e6e08 Compare April 1, 2025 14:34
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 <[email protected]>
@sagigrimberg sagigrimberg force-pushed the sagi/fix-nfs-multi-xprt branch from 46e6e08 to bb2bc8c Compare April 1, 2025 14:44
@sagigrimberg
Copy link
Author

Any chance to get this reviewed?

@neurodrone
Copy link

cc @SuperQ

@sagigrimberg
Copy link
Author

ping?

@sagigrimberg
Copy link
Author

@SuperQ ? anyone?

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.

2 participants