zfs_exporter

command module
v0.0.0-...-1947024 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README

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.

Building with version information

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)"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL