From fd36fd29041ec88c6264cd068e052796c8a7325d Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Thu, 26 Aug 2021 10:45:59 +0900 Subject: [PATCH] 1.0: document enable_input_metrics and enable_size_metrics Signed-off-by: Kentaro Hayashi --- deployment/command-line-option.md | 2 ++ deployment/system-config.md | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/deployment/command-line-option.md b/deployment/command-line-option.md index 9d7bd58a..f88e471b 100644 --- a/deployment/command-line-option.md +++ b/deployment/command-line-option.md @@ -35,6 +35,8 @@ 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-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) --suppress-config-dump suppress config dumping when fluentd starts diff --git a/deployment/system-config.md b/deployment/system-config.md index bbb18e21..d8a5e838 100644 --- a/deployment/system-config.md +++ b/deployment/system-config.md @@ -190,6 +190,23 @@ Specifies `daily`, `weekly`, `monthly` or integer which indicates age of log rot Specifies log file size limitation. +#### `enable_input_metrics` + +| type | default | version | +| :--- | :--- | :--- | +| bool | nil | 1.14.0 | + +Specifies whether measuring input metrics should be enabled or not. + +#### `enable_size_metrics` + +| type | default | version | +| :--- | :--- | :--- | +| bool | nil | 1.14.0 | + +Specifies whether measuring record size metrics should be enabled or not. +It can be useful for calculating flow rate on Fluentd instances. + ### `Fluent::SystemConfig::Mixin` Methods #### `.system_config`