Skip to content

Commit 1340e41

Browse files
authored
DLPX-82457 Telegraf: add zio-queue and metaslab-alloc to playbook collection (#91)
DLPX-82457 Telegraf: add zio-queue and metaslab-alloc to playbook collection Added entries for these two commands
1 parent ecf228d commit 1340e41

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

telegraf/telegraf.base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
data_format = "json"
4545
namepass = ["agg_*"]
4646

47-
# Enable Live Monitoring, intended for internal use:
47+
# Enable Live Monitoring, intended for internal Delphix use only:
4848
#[[outputs.influxdb]]
4949
# urls = ["http://dbsvr.company.com:8086"]
5050
# database = "live_metrics"

telegraf/telegraf.inputs.playbook

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@
6666
]
6767
json_string_fields = ["iops(/s)", "avg latency(us)", "stddev(us)", "throughput(k/s)", "microseconds"]
6868

69+
# Collect output from "estat zio-queue -jm 10"
70+
[[inputs.execd]]
71+
command = ["estat", "zio-queue", "-jm", "10"]
72+
name_override = "estat_zio-queue"
73+
signal = "none"
74+
data_format = "json"
75+
tag_keys = [
76+
"name",
77+
"axis"
78+
]
79+
json_string_fields = ["iops(/s)", "avg latency(us)", "stddev(us)", "throughput(k/s)", "microseconds"]
80+
6981
# Collect output from "estat zio -jm 10"
7082
[[inputs.execd]]
7183
command = ["estat", "zio", "-jm", "10"]
@@ -80,17 +92,17 @@
8092
json_string_fields = ["iops(/s)", "avg latency(us)", "stddev(us)", "throughput(k/s)", "microseconds"]
8193

8294
# Collect output from "estat metaslab-alloc -jm 10"
83-
#[[inputs.execd]]
84-
# command = ["estat", "metaslab-alloc", "-jm", "10"]
85-
# name_override = "estat_metaslab-alloc"
86-
# signal = "none"
87-
# restart_delay = "30s"
88-
# data_format = "json"
89-
# tag_keys = [
90-
# "name",
91-
# "axis"
92-
# ]
93-
# json_string_fields = ["iops(/s)", "avg latency(us)", "stddev(us)", "throughput(k/s)", "microseconds"]
95+
[[inputs.execd]]
96+
command = ["estat", "metaslab-alloc", "-jm", "10"]
97+
name_override = "estat_metaslab-alloc"
98+
signal = "none"
99+
restart_delay = "30s"
100+
data_format = "json"
101+
tag_keys = [
102+
"name",
103+
"axis"
104+
]
105+
json_string_fields = ["iops(/s)", "avg latency(us)", "stddev(us)", "throughput(k/s)", "microseconds"]
94106

95107
# Collect output from "nfs_threads"
96108
[[inputs.execd]]

0 commit comments

Comments
 (0)