Skip to content

Commit 6f53686

Browse files
committed
Pipeline: output: prom exporter: style
Signed-off-by: Lynette Miles <lynette.miles@chronosphere.io>
1 parent 13ec8cf commit 6f53686

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

pipeline/outputs/prometheus-exporter.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,27 @@
22
description: An output plugin to expose Prometheus Metrics
33
---
44

5-
# Prometheus Exporter
5+
# Prometheus exporter
66

7-
The prometheus exporter allows you to take metrics from Fluent Bit and expose them such that a Prometheus instance can scrape them.
7+
The _Prometheus_ exporter lets you take metrics from Fluent Bit and expose them so a Prometheus instance can scrape them.
88

9-
Important Note: The prometheus exporter only works with metric plugins, such as Node Exporter Metrics
9+
The Prometheus exporter only works with metric plugins such as Node Exporter Metrics.
1010

11-
| Key | Description | Default |
12-
|:-----------|:-----------------------------------------------------------------------------------------------------------------------------------|:--------|
13-
| host | This is address Fluent Bit will bind to when hosting prometheus metrics. Note: `listen` parameter is deprecated from v1.9.0. | 0.0.0.0 |
14-
| port | This is the port Fluent Bit will bind to when hosting prometheus metrics | 2021 |
15-
| add\_label | This allows you to add custom labels to all metrics exposed through the prometheus exporter. You may have multiple of these fields | |
16-
| workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `1` |
1711

18-
## Getting Started
12+
## Configuration parameters
1913

20-
The Prometheus exporter only works with metrics captured from metric plugins. In the following example, host metrics are captured by the node exporter metrics plugin and then are routed to prometheus exporter. Within the output plugin two labels are added `app="fluent-bit"`and `color="blue"`
14+
This plugin supports the following parameters:
15+
16+
| Key | Description | Default |
17+
|:----|:------------|:--------|
18+
| `host` | This is address Fluent Bit will bind to when hosting Prometheus metrics. The `listen` parameter is deprecated in 1.9.0 and later. | `0.0.0.0` |
19+
| `port` | This is the port Fluent Bit will bind to when hosting Prometheus metrics. | `2021` |
20+
| `add_label` | This lets you add custom labels to all metrics exposed through the Prometheus exporter. You can have multiple of these fields. | _none_ |
21+
| `workers` | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `1` |
22+
23+
## Get started
24+
25+
The Prometheus exporter only works with metrics captured from metric plugins. In the following example, host metrics are captured by the node exporter metrics plugin and then are routed to Prometheus exporter. In the output plugin, two labels are added `app="fluent-bit"`and `color="blue"`
2126

2227
{% tabs %}
2328
{% tab title="fluent-bit.yaml" %}
@@ -86,4 +91,4 @@ pipeline:
8691
```
8792

8893
{% endtab %}
89-
{% endtabs %}
94+
{% endtabs %}

0 commit comments

Comments
 (0)