Observability Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=6111
Answer
Observability troubleshooting is debugging the telemetry itself: missing data, wrong values, gaps, high cardinality, dropped logs and broken traces.
Remember
Follow the data path: source emits → agent collects → pipeline forwards → backend stores → query. Check each hop's own metrics and logs.
First checks
curl -s http://<target>:<port>/metrics | head— 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
emit → collect → forward → store → query
Where it usually breaks
The dangerous shortcuts are assuming “no data” means healthy/zero, increasing retention or cardinality limits without finding the producer, restarting collectors before reading queues/errors, and changing alerts when the actual problem is a broken source or query.
Observability Troubleshooting verification boundary matrix
| Boundary | Inspect | Healthy interpretation | Do not infer |
|---|---|---|---|
| Intent | Missing telemetry | Intended object/scope is explicit and versioned where relevant | Intent is already effective |
| Owning runtime/control plane | Stale metrics / Scrape/collector failure | Owner accepts and reports the expected object state | Downstream dependencies are healthy |
| Effective state | High cardinality | Independent read-back matches the intended state | Every client sees the same result |
| Consumer outcome | Timestamp/clock skew | 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=6111