This repository has been archived on 2026-04-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Simon Gardling a3a6700106 grafana: replace disk-usage-collector with prometheus-zfs-exporter
The custom disk-usage-collector shell script + minutely timer is replaced
by prometheus-zfs-exporter (pdf/zfs_exporter, packaged in nixpkgs as
services.prometheus.exporters.zfs). The exporter provides pool capacity
metrics (allocated/free/size) natively.

Partition metrics (/boot, /persistent, /nix) now use node_exporter's
built-in filesystem collector (node_filesystem_*_bytes) which already
runs and collects these metrics.

Also fixes a latent race condition in serviceMountWithZpool: the -mounts
service now orders after zfs-mount.service (which runs 'zfs mount -a'),
not just after pool import. Without this, the mount check could run
before datasets are actually mounted.
2026-04-09 19:54:57 -04:00
2026-03-03 14:26:42 -05:00
2026-04-07 22:29:02 -04:00
2026-03-03 14:30:43 -05:00
2026-04-06 14:21:31 -04:00
2026-03-03 14:29:00 -05:00
2026-04-07 22:49:53 -04:00
2026-03-03 14:30:47 -05:00
2026-04-09 14:03:34 -04:00
2026-04-07 20:57:54 -04:00
Description
No description provided
7.2 MiB
Languages
Nix 83.1%
Python 15.4%
Shell 1.5%