Skip to content

Commit 449c8e3

Browse files
authored
Merge pull request #1120 from holly-cummins/add-otel-config-files
Add missing config files (including latest configuration, as per http…
2 parents 36c6794 + fa4b01f commit 449c8e3

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: "2"
2+
services:
3+
4+
# Jaeger
5+
jaeger-all-in-one:
6+
image: jaegertracing/all-in-one:latest
7+
ports:
8+
- "16686:16686"
9+
- "14268"
10+
- "14250"
11+
# Collector
12+
otel-collector:
13+
image: otel/opentelemetry-collector:latest
14+
command: ["--config=/etc/otel-collector-config.yaml"]
15+
volumes:
16+
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
17+
ports:
18+
- "13133:13133" # Health_check extension
19+
- "4317:4317" # OTLP gRPC receiver
20+
- "55680:55680" # OTLP gRPC receiver alternative port
21+
depends_on:
22+
- jaeger-all-in-one
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
receivers:
2+
otlp:
3+
protocols:
4+
grpc:
5+
endpoint: otel-collector:4317
6+
otlp/2:
7+
protocols:
8+
grpc:
9+
endpoint: otel-collector:55680
10+
11+
exporters:
12+
jaeger:
13+
endpoint: jaeger-all-in-one:14250
14+
tls:
15+
insecure: true
16+
17+
processors:
18+
batch:
19+
20+
extensions:
21+
health_check:
22+
23+
service:
24+
extensions: [health_check]
25+
pipelines:
26+
traces:
27+
receivers: [otlp,otlp/2]
28+
processors: [batch]
29+
exporters: [jaeger]
30+
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
quarkus.application.name=myservice
2+
quarkus.otel.exporter.otlp.traces.endpoint=http://localhost:4317
3+
quarkus.otel.exporter.otlp.traces.headers=Authorization=Bearer my_secret
4+
quarkus.log.console.format=%d{HH:mm:ss} %-5p traceId=%X{traceId}, parentId=%X{parentId}, spanId=%X{spanId}, sampled=%X{sampled} [%c{2.}] (%t) %s%e%n
5+

0 commit comments

Comments
 (0)