title: Get total and free disk space using Prometheus
body: <p>I try to get Total and Free disk space on my Kubernetes VM so I can display % of taken space on it. I tried various metrics that included "filesystem" in name but none of these displayed correct total disk size. Which one should be used to do so?</p>
  
  <p>Here is a list of metrics I tried</p>
  
  <pre><code>node_filesystem_size_bytes
  node_filesystem_avail_bytes
  node:node_filesystem_usage:
  node:node_filesystem_avail:
  node_filesystem_files
  node_filesystem_files_free
  node_filesystem_free_bytes
  node_filesystem_readonly
  </code></pre>