Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions telegraf/telegraf.inputs.playbook
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@
]
json_string_fields = ["iops(/s)", "avg latency(us)", "stddev(us)", "throughput(k/s)", "microseconds"]

# Collect output from "estat zio-queue -jm 10"
[[inputs.execd]]
command = ["estat", "zio-queue", "-jm", "10"]
name_override = "estat_zio-queue"
signal = "none"
data_format = "json"
tag_keys = [
"name",
"axis"
]
json_string_fields = ["iops(/s)", "avg latency(us)", "stddev(us)", "throughput(k/s)", "microseconds"]

# Collect output from "estat zio -jm 10"
[[inputs.execd]]
command = ["estat", "zio", "-jm", "10"]
Expand All @@ -74,16 +86,16 @@
json_string_fields = ["iops(/s)", "avg latency(us)", "stddev(us)", "throughput(k/s)", "microseconds"]

# Collect output from "estat metaslab-alloc -jm 10"
#[[inputs.execd]]
# command = ["estat", "metaslab-alloc", "-jm", "10"]
# name_override = "estat_metaslab-alloc"
# signal = "none"
# data_format = "json"
# tag_keys = [
# "name",
# "axis"
# ]
# json_string_fields = ["iops(/s)", "avg latency(us)", "stddev(us)", "throughput(k/s)", "microseconds"]
[[inputs.execd]]
command = ["estat", "metaslab-alloc", "-jm", "10"]
name_override = "estat_metaslab-alloc"
signal = "none"
data_format = "json"
tag_keys = [
"name",
"axis"
]
json_string_fields = ["iops(/s)", "avg latency(us)", "stddev(us)", "throughput(k/s)", "microseconds"]

# Collect output from "nfs_threads"
[[inputs.execd]]
Expand Down