We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4eb3d2 commit ff5c4b8Copy full SHA for ff5c4b8
lib/fluent/command/fluentd.rb
@@ -155,8 +155,12 @@
155
cmd_opts[:strict_config_value] = b
156
}
157
158
-op.on('--enable-input-metrics', "Enable input plugin metrics on fluentd", TrueClass) {|b|
159
- cmd_opts[:enable_input_metrics] = b
+op.on('--enable-input-metrics', "Enable input plugin metrics on fluentd", TrueClass) {
+ cmd_opts[:enable_input_metrics] = true
160
+}
161
+
162
+op.on('--disable-input-metrics', "Disable input plugin metrics on fluentd", TrueClass) {
163
+ cmd_opts[:enable_input_metrics] = false
164
165
166
op.on('--enable-size-metrics', "Enable plugin record size metrics on fluentd", TrueClass) {|b|
0 commit comments