From 841fae4c8342276525cd093e5dc8c91c132d3d7c Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Tue, 20 May 2025 14:11:12 +0900 Subject: [PATCH 1/3] enable input metrics Signed-off-by: Shizuo Fujita --- deployment/command-line-option.md | 2 +- deployment/system-config.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deployment/command-line-option.md b/deployment/command-line-option.md index f5aa238e..0ca7f5bc 100644 --- a/deployment/command-line-option.md +++ b/deployment/command-line-option.md @@ -37,7 +37,7 @@ Usage: fluentd [options] --use-v1-config Use v1 configuration format (default) --use-v0-config Use v0 configuration format --strict-config-value Parse config values strictly - --enable-input-metrics Enable input plugin metrics on fluentd + --enable-input-metrics [DEPRECATED] Enable input plugin metrics on fluentd --enable-size-metrics Enable plugin record size metrics on fluentd -v, --verbose increase verbose level (-v: debug, -vv: trace) -q, --quiet decrease verbose level (-q: warn, -qq: error) diff --git a/deployment/system-config.md b/deployment/system-config.md index 90dda3f6..ed113409 100644 --- a/deployment/system-config.md +++ b/deployment/system-config.md @@ -194,6 +194,8 @@ Enable JIT for worker processes. Internally, this configuration enables Ruby's ` Specifies whether measuring input metrics should be enabled or not. +Deprecated parameter. Since v1.19.0, this parameter is always enabled. + ### `enable_size_metrics` | type | default | version | From 67a0165005d75e0278bb658784eb94b5ce798f21 Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Wed, 21 May 2025 10:48:26 +0900 Subject: [PATCH 2/3] add --disable-input-metrics option Signed-off-by: Shizuo Fujita --- deployment/command-line-option.md | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/command-line-option.md b/deployment/command-line-option.md index 0ca7f5bc..75391905 100644 --- a/deployment/command-line-option.md +++ b/deployment/command-line-option.md @@ -38,6 +38,7 @@ Usage: fluentd [options] --use-v0-config Use v0 configuration format --strict-config-value Parse config values strictly --enable-input-metrics [DEPRECATED] Enable input plugin metrics on fluentd + --disable-input-metrics Disable input plugin metrics on fluentd --enable-size-metrics Enable plugin record size metrics on fluentd -v, --verbose increase verbose level (-v: debug, -vv: trace) -q, --quiet decrease verbose level (-q: warn, -qq: error) From 3c82dccbabca90de681e22e8567a9c96e36013cd Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Wed, 21 May 2025 13:12:54 +0900 Subject: [PATCH 3/3] change default value in enable_input_metrics Signed-off-by: Shizuo Fujita --- deployment/system-config.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/deployment/system-config.md b/deployment/system-config.md index ed113409..bc4ff611 100644 --- a/deployment/system-config.md +++ b/deployment/system-config.md @@ -190,11 +190,9 @@ Enable JIT for worker processes. Internally, this configuration enables Ruby's ` | type | default | version | | :--- | :--- | :--- | -| bool | nil | 1.14.0 | - -Specifies whether measuring input metrics should be enabled or not. +| bool | true | 1.14.0 | -Deprecated parameter. Since v1.19.0, this parameter is always enabled. +Specifies whether measuring input metrics should be enabled or not. Since v1.19.0, the default value is changed to `true`. ### `enable_size_metrics`