Pcornel
Observability

Infrastructure Observability

Cheat sheet · https://pcornel.dk/topic.php?topic=6110

Back to the Topic

Answer

Infrastructure observability covers hosts, VMs, containers, network devices and storage with the USE method: Utilisation, Saturation and Errors per resource.

Remember

Collect CPU, memory, disk, network and filesystem per host (node_exporter, Windows exporter, SNMP). Alert on saturation that predicts failure (disk filling), not on high CPU alone.

First checks

  • up{job="node"} — first check for this topic
  • curl -s localhost:9090/-/ready — Prometheus ready
  • curl -s 'localhost:9090/api/v1/query?query=up' — scrape targets up/down
  • promtool check config prometheus.yml — config valid

Verify in this order

resource → exporter/agent → metrics → USE dashboards → alerts

Where it usually breaks

Common failures are identity mismatch between CMDB/labels/hostnames, dashboards with different time zones/windows, correlation by display name rather than stable IDs and treating simultaneous metric changes as proof of causation.

Infrastructure Observability verification boundary matrix

BoundaryInspectHealthy interpretationDo not infer
IntentHost/OSIntended object/scope is explicit and versioned where relevantIntent is already effective
Owning runtime/control planeNetworking / VirtualizationOwner accepts and reports the expected object stateDownstream dependencies are healthy
Effective stateStorageIndependent read-back matches the intended stateEvery client sees the same result
Consumer outcomeContainers/KubernetesThe original bounded check succeeds in the same time windowProduction 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=6110

Confirmation

Confirm action

Continue?