1

I used the following prometheus metric to get the available space under root directory, by changing mountpoint, I can get the available space for all other locations. How can I get the list of all mounted directories(similar result generated with df command in linux to be used for mountpoint) through prometheus or python?

node_filesystem_avail_bytes{mountpoint="/",fstype!="rootfs"}
1
  • You may find a solution here. Commented Nov 27, 2024 at 8:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.