Skip to content

frebib/zfs-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZFS Prometheus exporter

Exports dataset, pool and disk/vdev statistics in a Prometheus-compatible format. It works (as tested) on Linux and OpenBSD, plus probably others too.

go-libzfs is based around github.com/bicomsystems/go-libzfs with a considerable portion of the libzfs wrapping logic rewritten. Credit goes to that implementation for the framework and pointers on how to reference the largely undocumented (though the source itself was very helpful) libzfs.

Provided is an example Grafana dashboard that looks a little something like this grafana

Usage

The exporter takes very few options. It supports (m)TLS/authentication via exporter-toolkit

$ zfs-exporter --help
  -web.config.file string
    	Path to web-config file
  -web.listen-address string
    	Address on which to expose metrics and web interface. (default ":9254")
  -web.telemetry-path string
    	Path under which to expose metrics. (default "/metrics")

About

ZFS Prometheus metrics exporter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages