ZFS exporter
ZFS metrics exporter for Prometheus
⚠ This is unstable and the exported metrics will definitely still change. It might also be
abandoned completely and merged into node_exporter
Notes
This currently exposes all basic stats (vdev_stats) and most extended stats (vdev_stats_ex) on a
vdev-level. It doesn't expose per-disk or per-zpool stats, even though these are also available from
the underlying API.
go build -ldflags="-s -w
-X github.com/prometheus/common/version.Version=$(git describe --tags --dirty --always)
-X github.com/prometheus/common/version.BuildUser=$(whoami)
-X github.com/prometheus/common/version.BuildDate=$(date +%Y-%m-%d)
-X github.com/prometheus/common/version.Revision=$(git rev-parse --short HEAD)
-X github.com/prometheus/common/version.Branch=$(git rev-parse --abbrev-ref HEAD)"