Skip to content

Commit 9a3b32b

Browse files
authored
Merge branch 'fluent:master' into master
2 parents 309ea0a + 368cf31 commit 9a3b32b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

pipeline/outputs/opentelemetry.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,14 @@ Only HTTP endpoints are supported.
9393
| `tls.windows.use_enterprise_store` | Sets whether using enterprise certstore or not on an output (Windows). | _none_ |
9494
| `traces_uri` | Specify an optional HTTP URI for the target OTel endpoint. | `/v1/traces` |
9595

96-
== Get started
96+
## Get started
9797

9898
The OpenTelemetry plugin works with logs and only the metrics collected from one of the metric input plugins. In the following example, log records generated by the dummy plugin and the host metrics collected by the node exporter metrics plugin are exported by the OpenTelemetry output plugin.
9999

100100
{% tabs %}
101101
{% tab title="fluent-bit.yaml" %}
102102

103-
[source,yaml]
104-
----
103+
```yaml
105104
# Dummy Logs and traces with Node Exporter Metrics export using OpenTelemetry output plugin
106105
# -------------------------------------------
107106
# The following example collects host metrics on Linux and dummy logs and traces and delivers
@@ -144,13 +143,12 @@ pipeline:
144143
add_label:
145144
- app fluent-bit
146145
- color blue
147-
----
146+
```
148147
149148
{% endtab %}
150149
{% tab title="fluent-bit.conf" %}
151150
152-
[source,text]
153-
----
151+
```text
154152
# Dummy Logs and traces with Node Exporter Metrics export using OpenTelemetry output plugin
155153
# -------------------------------------------
156154
# The following example collects host metrics on Linux and dummy logs and traces and delivers
@@ -193,7 +191,7 @@ pipeline:
193191
# add user-defined labels
194192
add_label app fluent-bit
195193
add_label color blue
196-
----
194+
```
197195

198196
{% endtab %}
199197
{% endtabs %}

0 commit comments

Comments
 (0)