Modern applications rarely run in a single place. A single button tap in a food delivery or e-commerce app can trigger a chain reaction across ten or more microservices, external payment gateways, and databases—making traditional logs and isolated metrics feel like guessing in the dark when something breaks or slows down.
Jaeger: A Student's Guide to Distributed Tracing demystifies distributed tracing from the ground up using everyday analogies—from package tracking and crime investigations to college group projects and relay races—before moving into practical, hands-on code. Designed for students, early-career developers, and engineers building multi-service systems, this concise guide requires only a basic understanding of web applications and takes you from your first traced request to production-ready debugging workflows.
What You'll Learn - Tracing Fundamentals (Chapter 1): Master traces, spans, parent-child relationships, and HTTP context propagation. Learn how tracing fits alongside metrics and logs in the three pillars of observability, how Jaeger's components (client, agent, collector, UI, and query service) work together, and how sampling keeps production data manageable.
- Hands-On Jaeger (Chapter 2): Spin up Jaeger with Docker, instrument a Node.js food ordering service with custom spans, tags, logs, and error markers, inspect timelines in the Jaeger UI, and trace requests across multiple services (
order-service and inventory-service). - Advanced Analysis & Career Prep (Chapter 3): Diagnose bottlenecks, 500 errors, and cascading failures using real debugging scenarios; run a structured latency-percentile optimization workflow; explore Jaeger's architecture view, monitor dashboards, trace comparison, and deep linking; apply production best practices (sampling, semantic tags, PII safety, retention, and cardinality); integrate Jaeger with Prometheus, ELK, and Grafana; and prepare strong answers for technical interviews.
Key Highlights - Zero-fluff learning curve: Clear mental models and analogies paired with working Node.js examples you can run locally.
- Actionable production habits: Practical guidance on avoiding high-cardinality tags, keeping PII out of spans, and catching errors and slow requests with smart sampling.
- Interview-ready framing: Concrete examples of how to explain root-cause analysis and microservices observability clearly.