From 9bbb040c04482a26cbb8c80e4c4a87760b53316a 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 875db81d..c029288a 100644 --- a/deployment/system-config.md +++ b/deployment/system-config.md @@ -250,6 +250,8 @@ Please see also [Log Rotation Setting](logging.md#log-rotation-setting). 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 038d36fc8d5e6893be1a77cc51c9921dc54f7b3c 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 ce48ad9357c71e3eef5bd671f2912e64f549fb9e 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 c029288a..a28f36cd 100644 --- a/deployment/system-config.md +++ b/deployment/system-config.md @@ -246,11 +246,9 @@ Please see also [Log Rotation Setting](logging.md#log-rotation-setting). | 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`