Stage 6 · Mission Operations: observability
Problem: "booking is slow". Pick the signal that answers it.
Chapters
Builds on Stage 4's probes (what readiness cannot tell you) and Stage 5's delivery (the chart the observability stack is added to).
- Signals and metrics: three signals, the time-series model, counters and histograms, cardinality.
- How signals leave a service: pull, push and stdout; the Collector; how Alloy reads logs.
- Discovery and collection: ServiceMonitor to Pod targets, target labels, the four links.
- Queries, alerts and objectives: PromQL, alert states, Alertmanager, SLO and burn rate.
- Logs: structured lines, streams and labels, LogQL, what not to log.
- Traces: spans, propagation, sampling, the path to Tempo.
- Correlating a booking: the triage order, joins, retention, four cases.
Ready for the walkthrough when you can answer
- Rate and latency vs one event vs one request's route: metric, log or trace?
- Why does Prometheus scrape each booking Pod instead of the booking Service?
- A ServiceMonitor exists but its target is missing. Discovery or scrape?
- Does an alert fix anything? Why does Apollo alert on burn rate in two windows?
- Why is
trace_idinside the log line rather than a Loki label? - What breaks a trace in the middle of a call chain?