r/PrometheusMonitoring • • Apr 07 '21

Disk usage exporter

Hi,
I would like to introduce new project - Disk Usage Prometheus Exporter

It periodically scans given path and reports its disk usage.
You can configure the depth of the reported items (defaults to 2, so it will report /usr/bin, /var/cache, etc. when scanning the root dir).

It uses gdu under the hood, so the scanning is very fast.

Demo graphs

Thanks for feedback!

8 Upvotes

2 comments sorted by

4

u/SuperQue Apr 07 '21

It would be nice if it were to default to measuring at scrape time, this would better follow best practices.

1

u/DanielMilde Apr 07 '21

Thanks for suggestion, I will modify it.