Skip to content
EduVerse

You’re reading the free preview.Unlock every conversation for €2.99

FreeFree previewChapter 11

Chapter 11 · Free preview

Observability: The Watchtower

When Production Becomes a Black Box

Illustration from the book

What you will understand

  • Describe the three pillars of observability (logs, metrics, traces)
  • Explain how the ELK stack collects logs and makes them searchable
  • Describe how Prometheus scrapes metrics and Grafana visualises them
  • Explain distributed tracing and know when to use it
  • Explain the difference between SLI, SLO and SLA with an example

Written by EduVerse for this preview; the slides below are the book’s own words.

Slides from the chapter

Each slide is a passage from the book with the figure or listing it talks about. Swipe, use the arrow keys or the buttons.

Slide 1 of 4

The Watchtower

11.1.1 · p. 236

Conversation from The Software Realm, Decoded

Chapter 11 · 11.1.1 The Watchtower · p. 236

The Senior developer, from the book cover

Senior developer

Think of your distributed system as a medieval kingdom with multiple castles (services). You need three types of watchtowers to understand what’s happening.

Inspect
FigureFrom the book, p. 236
Try it interactively: Follow one request through its logs, metrics and trace

Explore this figure

Pick one to highlight it and read what the book says about it.

Other labels in the figure (7)
Description

Overview diagram: three boxes side by side. 'Logs', 'The Event Journal', asks 'What happened?'; 'Metrics', 'The Health Dashboard', asks 'Is it healthy?'; 'Traces', 'The Request Path', asks 'Where's the slowdown?'. Notes below give examples: a detailed event, CPU and requests/sec measurements, and a request journey from 'Order API' to 'Kafka' to 'Email Service'.

Description written by EduVerse; the figure itself is from the book.

Peter, from the book cover

Peter

So logs describe individual events, metrics summarize system behavior, and traces connect everything for one request?

The Senior developer, from the book cover

Senior developer

Exactly! Let’s add them to your system one by one.

Slide 1 of 4

Try it yourself

A simulation built by EduVerse around this chapter. It runs in your browser; nothing is sent anywhere.

Full book

The full chapter

This preview shows 5 of the chapter’s 46 passages. The full chapter has:

  • 7 sections
  • 26 conversations
  • 18 figures and tables
  • 2 What They Say boxes
  • 7 knowledge-check questions
Sections in this chapter
  1. 11.1The Three Pillars of Observability
  2. 11.2Logs: The Event Journal
  3. 11.3Metrics: The Health Dashboard
  4. 11.4Service Level Objectives: Defining Success
  5. 11.5Distributed Tracing: Following the Request
  6. 11.6APM Tools: All-in-One Observability
  7. 11.7Peter's Takeaways