Skip to content

Commit a0b03f2

Browse files
committed
fix: opentelemetry collector config templates
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
1 parent 6f5d1bb commit a0b03f2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

observability/otel/otel-collector/otel-collector-processors.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The Batch Processor batches traces and metrics to reduce the number of outgoing
1818
----
1919
# ...
2020
config: |
21-
processor:
21+
processors:
2222
batch:
2323
timeout: 5s
2424
send_batch_max_size: 10000
@@ -68,7 +68,7 @@ The Memory Limiter Processor periodically checks the Collector's memory usage an
6868
----
6969
# ...
7070
config: |
71-
processor:
71+
processors:
7272
memory_limiter:
7373
check_interval: 1s
7474
limit_mib: 4000
@@ -136,7 +136,7 @@ rules:
136136
----
137137
# ...
138138
config: |
139-
processor:
139+
processors:
140140
resourcedetection:
141141
detectors: [openshift]
142142
override: true
@@ -229,7 +229,7 @@ include::snippets/technology-preview.adoc[]
229229
----
230230
# ...
231231
config: |
232-
processor:
232+
processors:
233233
attributes:
234234
- key: cloud.availability_zone
235235
value: "zone-1"
@@ -259,7 +259,7 @@ include::snippets/technology-preview.adoc[]
259259
----
260260
# ...
261261
config: |
262-
processor:
262+
processors:
263263
span:
264264
name:
265265
from_attributes: [<key1>, <key2>, ...] # <1>
@@ -276,7 +276,7 @@ You can use this processor to extract attributes from the span name.
276276
----
277277
# ...
278278
config: |
279-
processor:
279+
processors:
280280
span/to_attributes:
281281
name:
282282
to_attributes:
@@ -293,7 +293,7 @@ You can have the span status modified.
293293
----
294294
# ...
295295
config: |
296-
processor:
296+
processors:
297297
span/set_status:
298298
status:
299299
code: Error

0 commit comments

Comments
 (0)