Observability Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=6098
Answer
Observability is the ability to understand a system's internal state from its outputs: metrics, logs, traces and events, correlated by time and shared labels such as service, host and trace ID.
Remember
Start from user-facing symptoms (errors, latency), then drill into metrics → traces → logs. Telemetry is only useful if it has consistent labels, synchronised clocks and is retained long enough.
First checks
up— first check for this topiccurl -s localhost:9090/-/ready— Prometheus readycurl -s 'localhost:9090/api/v1/query?query=up'— scrape targets up/downpromtool check config prometheus.yml— config valid
Verify in this order
system emits telemetry → collected → stored → queried/alerted → human decision
Where it usually breaks
Common failures are high-cardinality labels, inconsistent time zones/clocks, sampling that removes rare failures, retention shorter than investigation windows, dashboards that aggregate away the failing cohort and assuming presence of telemetry means the measured service is correct.
Observability Fundamentals verification boundary matrix
| Boundary | Inspect | Healthy interpretation | Do not infer |
|---|---|---|---|
| Intent | Monitoring vs observability | Intended object/scope is explicit and versioned where relevant | Intent is already effective |
| Owning runtime/control plane | Telemetry signals / White-box vs black-box observation | Owner accepts and reports the expected object state | Downstream dependencies are healthy |
| Effective state | Dimensions/labels/tags | Independent read-back matches the intended state | Every client sees the same result |
| Consumer outcome | Cardinality | The original bounded check succeeds in the same time window | Production correctness outside this scope |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6098