-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing config files (including latest configuration, as per http…
…s://github.com/quarkusio/quarkus/blob/main/docs/src/main/asciidoc/opentelemetry.adoc) Add missing config files (including latest configuration, as per https://github.com/quarkusio/quarkus/blob/main/docs/src/main/asciidoc/opentelemetry.adoc)
- Loading branch information
1 parent
b9e6586
commit 4a006f1
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
4 changes: 4 additions & 0 deletions
4
opentelemetry-quickstart/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |