Skip to content
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 node_filesystem_mount_info metric #2970

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

migeyel
Copy link

@migeyel migeyel commented Mar 21, 2024

Mount info is now fetched from /proc/1/mountinfo (falling back to /proc/self/mountinfo), which contains strictly more information than /proc/1/mounts. This closes #1384 and introduces a workaround to #885 by letting the user join on major and minor fields.

Fixes: prometheus#1384

Signed-off-by: Miguel Oliveira <miguel.oliveira4224@gmail.com>
migeyel and others added 3 commits March 22, 2024 11:39
Signed-off-by: Miguel Oliveira <miguel.oliveira4224@gmail.com>
Signed-off-by: Miguel Oliveira <miguel.oliveira4224@gmail.com>
@discordianfish
Copy link
Member

@SuperQ I think this makes sense. I'm a bit confused why the e2e test doesn't fail due to the new metric though?

@gitperr
Copy link
Contributor

gitperr commented May 2, 2024

I took a look at the pipeline and I think the output coming from end to end test script is not being used for some comparison. Maybe check metrics script should have been used after end to end test script ran?

Copy link
Member

@discordianfish discordianfish left a comment

Choose a reason for hiding this comment

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

Great!

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.

Add node_filesystem_mount_info metric
4 participants