Skip to content

Commit c06f88f

Browse files
authored
Merge pull request #358 from kenhys/input-size-metrics-params
1.0: document enable_input_metrics and enable_size_metrics
2 parents 55b2472 + fd36fd2 commit c06f88f

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

deployment/command-line-option.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ Usage: fluentd [options]
3535
--use-v1-config Use v1 configuration format (default)
3636
--use-v0-config Use v0 configuration format
3737
--strict-config-value Parse config values strictly
38+
--enable-input-metrics Enable input plugin metrics on fluentd
39+
--enable-size-metrics Enable plugin record size metrics on fluentd
3840
-v, --verbose increase verbose level (-v: debug, -vv: trace)
3941
-q, --quiet decrease verbose level (-q: warn, -qq: error)
4042
--suppress-config-dump suppress config dumping when fluentd starts

deployment/system-config.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,23 @@ Specifies `daily`, `weekly`, `monthly` or integer which indicates age of log rot
190190

191191
Specifies log file size limitation.
192192

193+
#### `enable_input_metrics`
194+
195+
| type | default | version |
196+
| :--- | :--- | :--- |
197+
| bool | nil | 1.14.0 |
198+
199+
Specifies whether measuring input metrics should be enabled or not.
200+
201+
#### `enable_size_metrics`
202+
203+
| type | default | version |
204+
| :--- | :--- | :--- |
205+
| bool | nil | 1.14.0 |
206+
207+
Specifies whether measuring record size metrics should be enabled or not.
208+
It can be useful for calculating flow rate on Fluentd instances.
209+
193210
### `Fluent::SystemConfig::Mixin` Methods
194211

195212
#### `.system_config`

0 commit comments

Comments
 (0)