]> git.proxmox.com Git - mirror_zfs.git/commit - tests/zfs-tests/include/commands.cfg
Add zpool_influxdb command
authorRichard Elling <Richard.Elling@RichardElling.com>
Fri, 9 Oct 2020 16:29:21 +0000 (09:29 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Oct 2020 16:29:21 +0000 (09:29 -0700)
commite9527d44e655fe6fda4f154b396a1e5890abc539
treec067e15eb1c12304121bf62acbe79c5cba6bd7a6
parentb7ab7ae2410f5152318cbb71675e9ba94d7562cb
Add zpool_influxdb command

A zpool_influxdb command is introduced to ease the collection
of zpool statistics into the InfluxDB time-series database.
Examples are given on how to integrate with the telegraf
statistics aggregator, a companion to influxdb.

Finally, a grafana dashboard template is included to show
how pool latency distributions can be visualized in a
ZFS + telegraf + influxdb  + grafana environment.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Richard Elling <Richard.Elling@RichardElling.com>
Closes #10786
20 files changed:
cmd/Makefile.am
cmd/zpool_influxdb/Makefile.am [new file with mode: 0644]
cmd/zpool_influxdb/README.md [new file with mode: 0644]
cmd/zpool_influxdb/dashboards/README.md [new file with mode: 0644]
cmd/zpool_influxdb/dashboards/grafana/ZFS-pool-latency-heatmaps-influxdb.json [new file with mode: 0644]
cmd/zpool_influxdb/telegraf.d/README.md [new file with mode: 0644]
cmd/zpool_influxdb/telegraf.d/exec_zpool_influxdb.conf [new file with mode: 0644]
cmd/zpool_influxdb/telegraf.d/execd_zpool_influxdb.conf [new file with mode: 0644]
cmd/zpool_influxdb/zpool_influxdb.c [new file with mode: 0644]
configure.ac
man/man8/Makefile.am
man/man8/zpool_influxdb.8 [new file with mode: 0644]
rpm/generic/zfs.spec.in
tests/runfiles/common.run
tests/zfs-tests/include/commands.cfg
tests/zfs-tests/tests/functional/Makefile.am
tests/zfs-tests/tests/functional/zpool_influxdb/Makefile.am [new file with mode: 0644]
tests/zfs-tests/tests/functional/zpool_influxdb/cleanup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/zpool_influxdb/setup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/zpool_influxdb/zpool_influxdb.ksh [new file with mode: 0755]