Created
July 21, 2023 19:59
-
-
Save eladidan/0c3c5fd635d398d64a841e12268961b9 to your computer and use it in GitHub Desktop.
otel+jaeger local (traces)
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
version: "2" | |
services: | |
# Jaeger | |
jaeger-all-in-one: | |
image: jaegertracing/all-in-one:latest | |
restart: always | |
ports: | |
- "16686:16686" | |
- "14268" | |
- "14250" | |
# Collector | |
otel-collector: | |
image: ${OTELCOL_IMG} | |
restart: always | |
command: ["--config=/etc/otel-collector-config.yaml", "${OTELCOL_ARGS}"] | |
volumes: | |
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml | |
ports: | |
- "1888:1888" # pprof extension | |
- "13133:13133" # health_check extension | |
- "4317:4317" # OTLP gRPC receiver | |
- "55679:55679" # zpages extension | |
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
receivers: | |
otlp: | |
protocols: | |
grpc: | |
exporters: | |
logging: | |
jaeger: | |
endpoint: jaeger-all-in-one:14250 | |
tls: | |
insecure: true | |
processors: | |
batch: | |
extensions: | |
health_check: | |
pprof: | |
endpoint: :1888 | |
zpages: | |
endpoint: :55679 | |
service: | |
extensions: [pprof, zpages, health_check] | |
pipelines: | |
traces: | |
receivers: [otlp] | |
processors: [batch] | |
exporters: [logging, jaeger] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment