Skip to content

Commit 3780857

Browse files
authored
INFOPLAT-2875: Adjust OTel collector to beholder logs requirements (#2211)
1 parent 7f15b3a commit 3780857

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

framework/.changeset/v0.11.4.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Fix failing node logs in OTel collector when enabled logs streaming

framework/observability/compose/otel.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@ exporters:
2626
add_metric_suffixes: false
2727

2828
processors:
29-
transform:
30-
log_statements:
31-
- context: log
32-
statements:
33-
- set(body, Base64Decode(log.body.string))
29+
batch:
30+
send_batch_size: 512
31+
timeout: 5s
3432

3533
service:
3634
pipelines:
3735
traces:
3836
receivers: [otlp]
37+
processors: [batch]
3938
exporters: [debug, otlp/traces]
4039
logs:
4140
receivers: [otlp]
42-
processors: [transform]
41+
processors: [batch]
4342
exporters: [debug, otlphttp/logs]
4443
metrics:
4544
receivers: [otlp]
45+
processors: [batch]
4646
exporters: [debug, prometheus]

0 commit comments

Comments
 (0)