Skip to content

Commit

Permalink
Add missing config files (including latest configuration, as per http…
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins authored and gsmet committed Sep 5, 2022
1 parent b9e6586 commit 4a006f1
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
22 changes: 22 additions & 0 deletions opentelemetry-quickstart/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: "2"
services:

# Jaeger
jaeger-all-in-one:
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "14268"
- "14250"
# Collector
otel-collector:
image: otel/opentelemetry-collector:latest
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "13133:13133" # Health_check extension
- "4317:4317" # OTLP gRPC receiver
- "55680:55680" # OTLP gRPC receiver alternative port
depends_on:
- jaeger-all-in-one
29 changes: 29 additions & 0 deletions opentelemetry-quickstart/otel-collector-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
receivers:
otlp:
protocols:
grpc:
endpoint: otel-collector:4317
otlp/2:
protocols:
grpc:
endpoint: otel-collector:55680

exporters:
jaeger:
endpoint: jaeger-all-in-one:14250
insecure: true

processors:
batch:

extensions:
health_check:

service:
extensions: [health_check]
pipelines:
traces:
receivers: [otlp,otlp/2]
processors: [batch]
exporters: [jaeger]

Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
quarkus.application.name=myservice
quarkus.opentelemetry.enabled=true
quarkus.opentelemetry.tracer.exporter.otlp.endpoint=http://localhost:4317

quarkus.opentelemetry.tracer.exporter.otlp.headers=Authorization=Bearer my_secret

0 comments on commit 4a006f1

Please sign in to comment.