File tree Expand file tree Collapse file tree 6 files changed +69
-1
lines changed Expand file tree Collapse file tree 6 files changed +69
-1
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,18 @@ services:
78
78
# # Open Telemetry ##
79
79
80
80
otel-collector :
81
- image : otel/opentelemetry-collector
81
+ image : otel/opentelemetry-collector-contrib
82
82
hostname : otel-collector
83
83
profiles : ["env"]
84
84
command : ["--config=/etc/otel-collector-config.yaml"]
85
+ # command: ["--config=/etc/otel-collector-record-config.yaml"]
86
+ # command: ["--config=/etc/otel-collector-replay-config.yaml"]
85
87
restart : on-failure
86
88
volumes :
87
89
- ./configurations/otel-collector-config.yaml:/etc/otel-collector-config.yaml
90
+ # - ./configurations/otel-collector-record-config.yaml:/etc/otel-collector-record-config.yaml
91
+ # - ./configurations/otel-collector-replay-config.yaml:/etc/otel-collector-replay-config.yaml
92
+ # - ./recorded-telemetry:/etc/otel
88
93
ports :
89
94
- ${OTEL_COLLECTOR_PORT}:55678
90
95
- ${OTEL_COLLECTOR_ZPAGES_PORT}:55679 # zPages
Original file line number Diff line number Diff line change
1
+ receivers :
2
+ otlp :
3
+ protocols :
4
+ grpc :
5
+ endpoint : :55678
6
+
7
+ exporters :
8
+ file :
9
+ path : " /etc/traces.json"
10
+
11
+ extensions :
12
+ zpages :
13
+ endpoint : :55679
14
+
15
+ service :
16
+ extensions :
17
+ - zpages
18
+ pipelines :
19
+ traces :
20
+ receivers :
21
+ - otlp
22
+ exporters :
23
+ - file
Original file line number Diff line number Diff line change
1
+ receivers :
2
+ otlpjsonfile :
3
+ include :
4
+ - " /etc/otel/*.json"
5
+
6
+ processors :
7
+ attributes/add_default_landscape_token :
8
+ actions :
9
+ - key : landscape_token
10
+ value : " mytokenvalue"
11
+ action : insert
12
+ - key : token_secret
13
+ value : " mytokensecret"
14
+ action : insert
15
+
16
+ exporters :
17
+ kafka :
18
+ protocol_version : 2.0.0
19
+ brokers :
20
+ - kafka:9092
21
+ topic : otlp_spans
22
+ debug :
23
+ verbosity : detailed
24
+
25
+ extensions :
26
+ zpages :
27
+ endpoint : :55679
28
+
29
+ service :
30
+ extensions :
31
+ - zpages
32
+ pipelines :
33
+ traces :
34
+ receivers :
35
+ - otlpjsonfile
36
+ processors :
37
+ - attributes/add_default_landscape_token
38
+ exporters :
39
+ - debug
40
+
You can’t perform that action at this time.
0 commit comments