-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Devmode tracing with OpenTelemetry
* Adds a compose with Jaeger and OTELCOL * Fixes a problem with actix-web tracing
- Loading branch information
1 parent
efc14da
commit f63bbea
Showing
5 changed files
with
67 additions
and
3 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
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
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
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,17 @@ | ||
services: | ||
jaeger-all-in-one: | ||
hostname: jaeger-all-in-one | ||
image: jaegertracing/all-in-one:1.53.0 # Using this version to align with trustify-helm-charts | ||
ports: | ||
- "16686:16686" | ||
- "14250:14250" | ||
environment: | ||
- COLLECTOR_OTLP_ENABLED=true | ||
collector: | ||
image: ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector:0.115.1 # Using this version to align with trustify-helm-charts https://github.com/TylerHelmuth/opentelemetry-helm-charts/commit/86188fea6022a6424ef6a086e928d0056fb5dfe8#diff-55020f2b796ba5770731a3b4913592732431ff180c7f7473e5f469e92ed00e74R48 | ||
command: ["--config=/otel-collector-config.yaml"] | ||
volumes: | ||
- './config.yaml:/otel-collector-config.yaml:z' | ||
ports: | ||
- "4317:4317" | ||
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,23 @@ | ||
receivers: | ||
otlp: | ||
protocols: | ||
grpc: | ||
endpoint: "0.0.0.0:4317" | ||
|
||
exporters: | ||
otlp: | ||
endpoint: jaeger-all-in-one:4317 | ||
tls: | ||
insecure: true | ||
debug: | ||
verbosity: detailed | ||
|
||
processors: | ||
batch: {} | ||
|
||
service: | ||
pipelines: | ||
traces: | ||
receivers: [otlp] | ||
processors: [batch] | ||
exporters: [debug, otlp] |