<p>I want to monitor the disk usage% of a specific filesystem in a pod (in grafana).
I was wondering if there’s a Prometheus query I can use to do so.</p>

Jay
<p>To monitor PVC, disk usage %, you can use something like this</p>
<pre class="lang-js prettyprint-override"><code>100 - (kubelet_volume_stats_available_bytes / kubelet_volume_stats_capacity_bytes) * 100
</code></pre>
<p>To monitor file system, disk usage %, you can use something like this</p>
<pre class="lang-js prettyprint-override"><code>100 - (node_filesystem_avail_bytes / node_filesystem_size_bytes * 100)
</code></pre>
<p>Hope this helps.</p>
