mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 11:40:25 +03:00
e9527d44e6
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
16 lines
580 B
Plaintext
16 lines
580 B
Plaintext
# # Read metrics from zpool_influxdb
|
|
[[inputs.exec]]
|
|
# ## default installation location for zpool_influxdb command
|
|
commands = ["/usr/local/bin/zpool_influxdb"]
|
|
# ## Timeout for each command to complete.
|
|
# timeout = "5s"
|
|
#
|
|
# ## measurement name suffix (for separating different commands)
|
|
# name_suffix = "_mycollector"
|
|
#
|
|
# ## Data format to consume.
|
|
# ## Each data format has its own unique set of configuration options, read
|
|
# ## more about them here:
|
|
# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
|
|
data_format = "influx"
|