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

Storage Load N/A #292

Open
jpcapone opened this issue Jan 7, 2024 · 4 comments
Open

Storage Load N/A #292

jpcapone opened this issue Jan 7, 2024 · 4 comments

Comments

@jpcapone
Copy link

jpcapone commented Jan 7, 2024

I have been reading through the posts regarding the Storage Load query but I am not smart enough to glean how to fix it. I am sure that N/A is the value because I am using mount points. When I use the queries I found as a way to resolve the issue I get errors.

Currently this is the query:
(node_filesystem_size{fstype="aufs",mountpoint="/"} - node_filesystem_free{fstype="aufs",mountpoint="/"}) / node_filesystem_size{fstype="aufs",mountpoint="/"} * 100

Can anyone help a brother out with some pointers as to how I can fix this?

@Arterias1
Copy link

I ran into the same issue, my fstype is ext4 (check yours by running the query node_filesystem_free_bytes alone to see results)

so I adapted my query like this

(node_filesystem_size_bytes{fstype="ext4"} - node_filesystem_free_bytes{fstype="ext4"}) / node_filesystem_size_bytes{fstype="ext4"} * 100

@jpcapone
Copy link
Author

jpcapone commented Feb 1, 2024

Ok its getting there. When I plug in your query I get this
image
any ideas? I know this is coming down to coding and formatting but again, not that smart!

@Arterias1
Copy link

Arterias1 commented Feb 1, 2024

Means the query returned two items, you may use filter in Tranformation Data tab to select the one you want to display.
Use "Filter By Name".

Here what I have on my side, only one item was returned, you may tick or untick on your side
image

@jpcapone
Copy link
Author

jpcapone commented Feb 3, 2024

COOOOLLLL. Thanks man!

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

No branches or pull requests

2 participants