cadvisor
Analyzes resource usage and performance characteristics of running containers.
A Google tool that monitors every running container in real time, showing exactly how much CPU, memory, network, and disk each one is using via a dashboard and Prometheus-compatible API.
cAdvisor (short for Container Advisor) is a tool from Google that watches your running containers and tells you exactly how much CPU, memory, network, and disk each one is consuming in real time. If you run applications inside containers — using Docker or a similar system — you need a way to see what those containers are actually doing on the machine. cAdvisor fills that gap by running as a background process alongside your containers, continuously collecting resource usage data and making it available through a web dashboard and a programmable API.
It works by reading low-level system information about each container, then organizing that data into historical usage graphs and statistics. You can view the built-in web interface in a browser or connect monitoring tools (like Prometheus) to pull the data automatically.
You would use cAdvisor when you are running containers on a server and want to diagnose performance problems, spot a container that is eating too much memory, or feed resource metrics into a larger monitoring setup. It integrates directly with Kubernetes as well, where it can run on every node in a cluster to give cluster-wide visibility. The project is written in Go and can be launched in seconds as a Docker container itself.
Where it fits
- Find which container on a server is consuming too much memory by viewing real-time usage graphs in the built-in dashboard
- Feed per-container resource metrics into Prometheus to power alerting and Grafana dashboards
- Run cAdvisor on every node in a Kubernetes cluster to get cluster-wide container visibility
- Diagnose performance problems in a Dockerized application by inspecting historical CPU and network usage