Skip to content

Commit d907719

Browse files
committed
Adding YAML exampels and sandardizing shell usage for Dash0 output plugin. Part of issue #1899.
Signed-off-by: Eric D. Schabell <[email protected]>
1 parent dcf21ad commit d907719

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

pipeline/outputs/dash0.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,27 @@ For more details about the properties available and general configuration, see [
2727
To get started with sending logs to Dash0:
2828

2929
1. Get an [Auth Token](https://www.dash0.com/documentation/dash0/key-concepts/auth-tokens) from **Settings** > **Auth Tokens**.
30-
1. In your main Fluent Bit configuration file, append the following `Output` section:
30+
1. In your main Fluent Bit configuration file append the following:
3131

3232
{% tabs %}
33+
{% tab title="fluent-bit.yaml" %}
34+
35+
```yaml
36+
pipeline:
37+
38+
outputs:
39+
- name: opentelemetry
40+
match: '*'
41+
host: ingress.eu-west-1.aws.dash0.com
42+
port: 443
43+
header: Authorization Bearer {your-Auth-token-here}
44+
metrics_uri: /v1/metrics
45+
logs_uri: /v1/logs
46+
traces_uri: /v1/traces
47+
```
48+
{% endtab %}
3349
{% tab title="fluent-bit.conf" %}
50+
3451
```text
3552
[OUTPUT]
3653
Name opentelemetry
@@ -42,20 +59,7 @@ To get started with sending logs to Dash0:
4259
Logs_uri /v1/logs
4360
Traces_uri /v1/traces
4461
```
45-
{% endtab %}
4662

47-
{% tab title="fluent-bit.yaml" %}
48-
```yaml
49-
[OUTPUT]
50-
Name: opentelemetry
51-
Match: *
52-
Host: ingress.eu-west-1.aws.dash0.com
53-
Port: 443
54-
Header: Authorization Bearer {your-Auth-token-here}
55-
Metrics_uri: /v1/metrics
56-
Logs_uri: /v1/logs
57-
Traces_uri: /v1/traces
58-
```
5963
{% endtab %}
6064
{% endtabs %}
6165

0 commit comments

Comments
 (0)