Manuals / Observability Basics / Ch 2

A · PillarsBeginner35 min read

2. Logs that help

Observability Basics · 36 pages source format

Structured logs beat string soup. Correlation IDs stitch requests. Levels matter. PII doesn’t belong.

What you'll learn

  • Structured logging
  • Correlation IDs
  • Query patterns

Trace one request in logs

  • Timestamp range
  • Service name
  • Correlation / trace id
  • Error fields

Do this now

Reproduce a flow in staging. Copy a request/correlation id. Find all related lines.

Clear?

Checklist