liveBook · Manning

Correlation id

As explained in Cloud Observability in Action

A trace identifier is the identifier shared by spans belonging to one distributed request trace.

A trace ID uniquely identifies one distributed request trace and links its spans as the request crosses services, machines, and protocols. section 2.5 section 11.2

From metrics to traces

An error-rate metric exposes an exemplar containing a trace ID. Selecting it opens the representative trace in Jaeger, where spans and related logs help investigate the failing services. section 1.5.2 section 11.2

a_counter 42.0 # {traceID="a6427ef2021cce03"}

An OpenMetrics exemplar can carry a trace ID beside a metric sample, providing a direct navigation link to a trace. section 11.2

How Cloud Observability in Action covers it

How deep it goes
Defines propagation and correlation, but defers detailed span-emission implementation.
Examples
Demonstrates metric exemplars linking to Jaeger traces during an error-rate investigation.
What it assumes
Assumes basic familiarity with microservices, observability signals, metrics, logs, and distributed tracing terminology.
What you can do after
Diagnose distributed failures by navigating from a metric exemplar to traces and associated logs.
How it connects
Connects distributed tracing, spans, context propagation, metrics, logs, exemplars, Jaeger, and OpenMetrics.

Also explained in

Compare how 5 books explain correlation id →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Cloud Observability in Action. The section links point to the parts of the book it draws on.