Skip to content

Commit 0c76db6

Browse files
committed
fluentd: add --disable-input-metrics option
Signed-off-by: Shizuo Fujita <[email protected]>
1 parent 13cff3b commit 0c76db6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/fluent/command/fluentd.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,11 @@
155155
cmd_opts[:strict_config_value] = b
156156
}
157157

158-
op.on('--enable-input-metrics', "Enable input plugin metrics on fluentd", TrueClass) {|b|
158+
op.on('--enable-input-metrics', "[DEPRECATED] Enable input plugin metrics on fluentd", TrueClass) {|b|
159+
cmd_opts[:enable_input_metrics] = b
160+
}
161+
162+
op.on('--disable-input-metrics', "Disable input plugin metrics on fluentd", FalseClass) {|b|
159163
cmd_opts[:enable_input_metrics] = b
160164
}
161165

0 commit comments

Comments
 (0)