Skip to content

Commit 93be2c4

Browse files
committed
Add default landscape token in OTel Collector if none is given
1 parent 9d7597d commit 93be2c4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docker/compose/configurations/otel-collector-config.yaml

+13-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ receivers:
44
grpc:
55
endpoint: :55678
66

7+
processors:
8+
attributes/add_default_landscape_token:
9+
actions:
10+
- key: landscape_token
11+
value: "mytokenvalue"
12+
action: insert
13+
- key: token_secret
14+
value: "mytokensecret"
15+
action: insert
16+
717
exporters:
818
kafka:
919
protocol_version: 2.0.0
@@ -24,5 +34,7 @@ service:
2434
traces:
2535
receivers:
2636
- otlp
37+
processors:
38+
- attributes/add_default_landscape_token
2739
exporters:
28-
- kafka
40+
- debug

0 commit comments

Comments
 (0)