Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Prometheus Query Cheatsheet

Free Bytes On Root Filesystem

node_filesystem_free_bytes{mountpoint="/"}

Filesystem Percentage Free Space

node_filesystem_free_bytes{mountpoint="/"} * 100 / node_filesystem_size_bytes{mountpoint="/"}
Last updated: 22nd January 2020
First published: 30th January 2020