Skip to content

1.0: document enable_input_metrics and enable_size_metrics #358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions deployment/command-line-option.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 17 additions & 0 deletions deployment/system-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down