Which container metrics matter most for alerting?
IntermediateProductionResource Limits, Health & Reliability
Answer
Container restarts and OOM events (container_oom_events_total), memory working set vs limit, CPU throttled periods ratio, filesystem usage of writable layers and volumes, network errors/drops, healthcheck state, and image pull failures. Alert on symptoms (latency/errors) first and use these for diagnosis.
More on Resource Limits, Health & Reliability
How do you set memory and CPU limits, and what happens when they are exceeded?BeginnerWhat is the difference between `--cpus`, `--cpu-shares` and `--cpuset-cpus`?BeginnerWhat does `--memory-reservation` do?AdvancedHow do you diagnose an OOM-killed container?IntermediateWhy do JVM and Node services in containers need explicit memory flags?IntermediateWhat is CPU throttling, and how do you detect it?Advanced