Black Friday Deals For Authors Are On Now!

Leanpub Header

Skip to main content

Jaeger

A Student's Guide to Distributed Tracing

Jaeger
This book is 100% completeLast updated on 2026-11-29

A single tap can trigger ten services across different machines. When latency spikes or an order fails, disconnected logs only tell half the story. Jaeger: A Student's Guide to Distributed Tracing turns guesswork into clear timelines—taking you from everyday analogies and Docker hands-on code to real production debugging and interview readiness

Minimum price

$19.99

$29.99

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
About

About

About the Book

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.

Share this book

Author

About the Author

Sudhanshu Jaiswal

DevOps Visionary | Cloud Architect | Automation Specialist.

I simplify complex infrastructure with Kubernetes, IaC, and robust CI/CD. Proficient in GCP/AWS and a pioneer in n8n workflow automation. Open-Source Advocate and a seasoned engineer dedicated to building resilient, scalable systems.

During my leisure time , I'm writing Hindi poetry or supporting my wife's @deepasoni6261's cooking youtube channel.

Contents

Table of Contents

Table of Contents

Introduction: The Package Delivery Story
  • The Modern Application Challenge
  • Enter Jaeger: Your Application's Package Tracking System
  • What You'll Learn, Prerequisites & Why You Should Care
Chapter 1: Tracing Fundamentals – Understanding the Concepts
  • What is a Trace?
  • Anatomy of a Trace: Spans
  • Parent-Child Relationships
  • Context Propagation: The Secret Sauce
  • Why Traditional Logging Fails Here
  • The Three Pillars of Observability
  • How Jaeger Works: Architecture Overview
  • Sampling: You Can't Track Everything
  • Why Jaeger Specifically?
Chapter 2: Hands-On Jaeger – From Zero to Tracing
  • Quick Start: Running Jaeger
  • Instrumenting Your First Application
  • Reading Your First Trace
  • Analyzing Span Details
  • Multi-Service Tracing
Chapter 3: Advanced Analysis – Becoming a Tracing Pro
  • Debugging Scenarios
  • Performance Optimization Workflow
  • Advanced Jaeger Features
  • Production Best Practices
  • Integration with Other Tools
  • Career Application: Interview Scenarios

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub