Skip to content

Commit

Permalink
DLPX-82457 Telegraf: add zio-queue and metaslab-alloc to playbook col…
Browse files Browse the repository at this point in the history
…lection (#91)

DLPX-82457 Telegraf: add zio-queue and metaslab-alloc to playbook collection
Added entries for these two commands
  • Loading branch information
scottmdlpx authored Aug 19, 2022
1 parent ecf228d commit 1340e41
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
2 changes: 1 addition & 1 deletion telegraf/telegraf.base
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
data_format = "json"
namepass = ["agg_*"]

# Enable Live Monitoring, intended for internal use:
# Enable Live Monitoring, intended for internal Delphix use only:
#[[outputs.influxdb]]
# urls = ["http://dbsvr.company.com:8086"]
# database = "live_metrics"
Expand Down
34 changes: 23 additions & 11 deletions telegraf/telegraf.inputs.playbook
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,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 @@ -80,17 +92,17 @@
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"
# restart_delay = "30s"
# 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"
restart_delay = "30s"
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

0 comments on commit 1340e41

Please sign in to comment.