intermediateMonitoring: Logs, Metrics, Prometheus & Grafana
What is cAdvisor and what does it add on top of application-level metrics?
cAdvisor reads container resource usage statistics directly from the kernel's cgroup accounting (CPU, memory, network, disk I/O per container) and exposes them in Prometheus format. This gives infrastructure-level visibility — how much of its allocated resources a container is actually consuming — independent of and complementary to application-level metrics like request latency or error rate.
Ready to master this question?
Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.
Sign in to generate a response