Skip to content

Commit bb224ad

Browse files
committed
in_windows_exporter_metrics: Add output_queue_length_packets for net
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 6fc6d50 commit bb224ad

File tree

1 file changed

+8
-0
lines changed
  • plugins/in_windows_exporter_metrics

1 file changed

+8
-0
lines changed

plugins/in_windows_exporter_metrics/we_net.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ struct we_perflib_metric_source net_metric_sources[] = {
7979
"Current Bandwidth",
8080
NULL),
8181

82+
WE_PERFLIB_METRIC_SOURCE("output_queue_length_packets",
83+
"Output Queue Length",
84+
NULL),
85+
8286
WE_PERFLIB_TERMINATOR_SOURCE()
8387
};
8488

@@ -131,6 +135,10 @@ struct we_perflib_metric_spec net_metric_specs[] = {
131135
"Current Bandwidth /bits",
132136
"nic"),
133137

138+
WE_PERFLIB_GAUGE_SPEC("output_queue_length_packets",
139+
"A length of output queue packets",
140+
"nic"),
141+
134142
WE_PERFLIB_TERMINATOR_SPEC()
135143
};
136144

0 commit comments

Comments
 (0)