git clone https://gist.github.com/4467e71715abacd6414219daa3165591.git OTLocal
cd OTLocal
docker-compose up- Jaeger UI: http://localhost:16686/
- OTLP Endpoint: http://localhost:4317
git clone https://gist.github.com/4467e71715abacd6414219daa3165591.git OTLocal
cd OTLocal
docker-compose up| version: "2" | |
| services: | |
| jaeger-all-in-one: | |
| image: jaegertracing/all-in-one:latest | |
| ports: | |
| - "16686:16686" | |
| - "14268" | |
| - "14250" | |
| otel-collector: | |
| image: otel/opentelemetry-collector-contrib:latest | |
| command: ["--config=/etc/otel-collector-config.yaml"] | |
| volumes: | |
| - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml | |
| ports: | |
| - "1888:1888" | |
| - "13133:13133" | |
| - "4317:4317" | |
| - "55670:55679" | |
| depends_on: | |
| - jaeger-all-in-one |
| 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] | |
| metrics: | |
| receivers: [otlp] | |
| processors: [batch] | |
| exporters: [logging] |