The directory contains sample OpenTelemetry Collector and Jaeger configurations for a tracing demo.
The provided docker-compose.yaml sets up 4 Containers
- PodInfo Frontend on port 9898
- PodInfo Backend on port 9899
- OpenTelemetry Collector listening on port 4317 for GRPC
- Jaeger all-in-one listening on multiple ports
The frontend pods are configured to call onto the backend pods. Both the podinfo
pods are configured to send traces over to the collector at port 4317 using GRPC.
The collector forwards all received spans to Jaeger over port 14250 and Jaeger
exposes a UI over port 16686
.
- Start all the Containers
make run
- Send some sample requests
curl -v http://localhost:9898/status/200
curl -X POST -v http://localhost:9898/api/echo
- Visit
http://localhost:16686/
to see the spans - Stop all the containers
make stop