liveBook · Manning

Observability

As explained in Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

Observability is the practice of exposing and analyzing detailed telemetry to understand a system's internal behavior from its external outputs.

Observability exposes rich telemetry from a distributed application and helps teams understand internal behavior through external outputs. It goes beyond aggregated logging and monitoring by making microservice interactions queryable and visible. section 11.2.7 section 11.2

Use observability to:

  • Investigate failures by asking targeted questions, such as whether a problem affects a particular user or region. section 11.2.7
  • Correlate requests and messages across microservices to locate the service causing an error. section 11.2.7
  • Support ongoing monitoring, triage, debugging, and reliability work after deployment. section 11.0 section 11.6

Tracing a multi-service failure

An example trace in Honeycomb follows a request through multiple microservices and helps pinpoint the error. Engineers can drill into the telemetry instead of relying only on aggregated logs. section 11.2.7

Figure 11.8 An example trace (shown in Honeycomb) that allows us to pinpoint an error in a multi-microservice request

Inspect the example trace showing how a multi-microservice request can reveal the location of an error. section 11.2.7

How Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform covers it

How deep it goes
Defines telemetry, querying, visualization, and correlation, but stops short of implementation code.
Examples
Uses Honeycomb traces and questions about users, regions, requests, messages, and error locations.
What it assumes
Assumes familiarity with distributed applications and microservices while introducing telemetry-based investigation practices.
What you can do after
Diagnose/debug distributed failures by querying telemetry, correlating service interactions, and locating problematic microservices.
How it connects
Connects observability with logging, monitoring, OpenTelemetry, distributed tracing, microservices, debugging, and fault tolerance.

Also explained in

Compare how 16 books explain observability →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform. The section links point to the parts of the book it draws on.