Files
podinfo/otel/README.md

1.1 KiB

Tracing Demo

The directory contains sample OpenTelemetry Collector and Jaeger configurations for a tracing demo.

Configuration

The provided docker-compose.yaml sets up 4 Containers

  1. PodInfo Frontend on port 9898
  2. PodInfo Backend on port 9899
  3. OpenTelemetry Collector listening on port 4317 for GRPC
  4. Jaeger all-in-one listening on multiple ports

How does it work?

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.

Running it locally

  1. Start all the Containers
make run
  1. Send some sample requests
curl -v http://localhost:9898/status/200
curl -X POST -v http://localhost:9898/api/echo
  1. Visit http://localhost:16686/ to see the spans
  2. Stop all the containers
make stop