Skip to content

Commit af279ac

Browse files
Merge pull request #1446 from fluent/add-threading-info
Add threading info
2 parents 87f3c92 + 9f62939 commit af279ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+79
-35
lines changed

pipeline/inputs/collectd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The plugin supports the following configuration parameters:
1111
| Listen | Set the address to listen to | 0.0.0.0 |
1212
| Port | Set the port to listen to | 25826 |
1313
| TypesDB | Set the data specification file | /usr/share/collectd/types.db |
14+
| Threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). | `false` |
1415

1516
## Configuration Examples <a id="config_example"></a>
1617

@@ -31,4 +32,3 @@ Here is a basic configuration example.
3132
With this configuration, Fluent Bit listens to `0.0.0.0:25826`, and outputs incoming datagram packets to stdout.
3233

3334
You must set the same types.db files that your collectd server uses. Otherwise, Fluent Bit may not be able to interpret the payload properly.
34-

pipeline/inputs/cpu-metrics.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ The **cpu** input plugin, measures the CPU usage of a process or the whole syste
44

55
The following tables describes the information generated by the plugin. The keys below represent the data used by the overall system, all values associated to the keys are in a percentage unit \(0 to 100%\):
66

7-
The CPU metrics plugin creates metrics that are log-based \(I.e. JSON payload\). If you are looking for Prometheus-based metrics please see the Node Exporter Metrics input plugin.
7+
The CPU metrics plugin creates metrics that are log-based, such as JSON payload. For
8+
Prometheus-based metrics, see the Node Exporter Metrics input plugin.
89

910
| key | description |
1011
| :--- | :--- |
1112
| cpu\_p | CPU usage of the overall system, this value is the summation of time spent on user and kernel space. The result takes in consideration the numbers of CPU cores in the system. |
1213
| user\_p | CPU usage in User mode, for short it means the CPU usage by user space programs. The result of this value takes in consideration the numbers of CPU cores in the system. |
1314
| system\_p | CPU usage in Kernel mode, for short it means the CPU usage by the Kernel. The result of this value takes in consideration the numbers of CPU cores in the system. |
15+
| threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). Default: `false`. |
1416

1517
In addition to the keys reported in the above table, a similar content is created **per** CPU core. The cores are listed from _0_ to _N_ as the Kernel reports:
1618

pipeline/inputs/disk-io-metrics.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
The **disk** input plugin, gathers the information about the disk throughput of the running system every certain interval of time and reports them.
44

5-
The Disk I/O metrics plugin creates metrics that are log-based \(I.e. JSON payload\). If you are looking for Prometheus-based metrics please see the Node Exporter Metrics input plugin.
5+
The Disk I/O metrics plugin creates metrics that are log-based, such as JSON payload.
6+
For Prometheus-based metrics, see the Node Exporter Metrics input plugin.
67

78
## Configuration Parameters
89

@@ -13,6 +14,7 @@ The plugin supports the following configuration parameters:
1314
| Interval\_Sec | Polling interval \(seconds\). | 1 |
1415
| Interval\_NSec | Polling interval \(nanosecond\). | 0 |
1516
| Dev\_Name | Device name to limit the target. \(e.g. sda\). If not set, _in\_disk_ gathers information from all of disks and partitions. | all disks |
17+
| Threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). | `false` |
1618

1719
## Getting Started
1820

@@ -72,4 +74,3 @@ pipeline:
7274
Note: Total interval \(sec\) = Interval\_Sec + \(Interval\_Nsec / 1000000000\).
7375
7476
e.g. 1.5s = 1s + 500000000ns
75-

pipeline/inputs/docker-events.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This plugin supports the following configuration parameters:
1414
| Key | When a message is unstructured \(no parser applied\), it's appended as a string under the key name _message_. | message |
1515
| Reconnect.Retry_limits| The maximum number of retries allowed. The plugin tries to reconnect with docker socket when EOF is detected. | 5 |
1616
| Reconnect.Retry_interval| The retrying interval. Unit is second. | 1 |
17+
| Threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). | `false` |
1718

1819
### Command Line
1920

pipeline/inputs/docker-metrics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The plugin supports the following configuration parameters:
1515
| Interval_Sec | Polling interval in seconds | 1 |
1616
| Include | A space-separated list of containers to include | |
1717
| Exclude | A space-separated list of containers to exclude | |
18+
| Threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). | `false` |
1819

1920
If you set neither `Include` nor `Exclude`, the plugin will try to get metrics from _all_ the running containers.
2021

pipeline/inputs/dummy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The plugin supports the following configuration parameters:
1818
| Samples | If set, the events number will be limited. For example, if Samples=3, the plugin generates only three events and stops. | _none_ |
1919
| Copies | Number of messages to generate each time they are generated. | `1` |
2020
| Flush\_on\_startup | If set to `true`, the first dummy event is generated at startup. | `false` |
21+
| Threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). | `false` |
2122

2223
## Getting Started
2324

pipeline/inputs/elasticsearch.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The plugin supports the following configuration parameters:
1414
| meta\_key | Specify a key name for meta information. | "@meta" |
1515
| hostname | Specify hostname or FQDN. This parameter can be used for "sniffing" (auto-discovery of) cluster node information. | "localhost" |
1616
| version | Specify Elasticsearch server version. This parameter is effective for checking a version of Elasticsearch/OpenSearch server version. | "8.0.0" |
17+
| threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). | `false` |
1718

1819
**Note:** The Elasticsearch cluster uses "sniffing" to optimize the connections between its cluster and clients.
1920
Elasticsearch can build its cluster and dynamically generate a connection list which is called "sniffing".

pipeline/inputs/exec-wasi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The plugin supports the following configuration parameters:
1717
| Wasm\_Stack\_Size | Size of the stack size of Wasm execution. Review [unit sizes](../../administration/configuring-fluent-bit/unit-sizes.md) for allowed values. |
1818
| Buf\_Size | Size of the buffer \(check [unit sizes](../../administration/configuring-fluent-bit/unit-sizes.md) for allowed values\) |
1919
| Oneshot | Only run once at startup. This allows collection of data precedent to fluent-bit's startup (bool, default: false) |
20+
| Threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). Default: `false`. |
2021

2122
## Configuration Examples
2223

pipeline/inputs/exec.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The plugin supports the following configuration parameters:
2525
| Oneshot | Only run once at startup. This allows collection of data precedent to fluent-bit's startup (bool, default: false) |
2626
| Exit\_After\_Oneshot | Exit as soon as the one-shot command exits. This allows the exec plugin to be used as a wrapper for another command, sending the target command's output to any fluent-bit sink(s) then exiting. (bool, default: false) |
2727
| Propagate\_Exit\_Code | When exiting due to Exit\_After\_Oneshot, cause fluent-bit to exit with the exit code of the command exited by this plugin. Follows [shell conventions for exit code propagation](https://www.gnu.org/software/bash/manual/html_node/Exit-Status.html). (bool, default: false) |
28+
| Threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). Default: `false`. |
2829

2930
## Getting Started
3031

pipeline/inputs/fluentbit-metrics.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ They can be sent to output plugins including [Prometheus Exporter](../outputs/pr
1212
**Important note:** Metrics collected with Node Exporter Metrics flow through a separate pipeline from logs and current filters do not operate on top of metrics.
1313

1414

15-
## Configuration
15+
## Configuration
1616

1717
| Key | Description | Default |
1818
| --------------- | --------------------------------------------------------------------------------------------------------- | --------- |
1919
| scrape_interval | The rate at which metrics are collected from the host operating system | 2 seconds |
2020
| scrape_on_start | Scrape metrics upon start, useful to avoid waiting for 'scrape_interval' for the first round of metrics. | false |
21+
| threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). | `false` |
2122

2223

2324
## Getting Started

0 commit comments

Comments
 (0)