This is a distributed tracing demo! Foobar consists of two extremely complex services: foo and bar.
On this demo:
Here's a small diagram:
Requirements: Docker and Docker Compose.
Build and run services with docker-compose:
docker-compose up --build -d
See running services with:
docker-compose ps
Generate some load with k6:
docker run -i --network=foobar-demo_default grafana/k6 run --quiet - <example.js
See logs with:
docker-compose logs foo | grep trace_id
Pick a trace_id
from the logs.
Go to Grafana (http://localhost:3000) -> Explore -> Tempo and paste the trace_id
.
Stop the whole setup with:
docker-compose stop