cAdvisor (Container Advisor) is a daemon that collects, aggregates, and exports stats about running containers, with a web UI and versioned REST API.
Overview
cAdvisor gives operators insight into resource usage and performance of running containers on a host. For each container it tracks isolation settings, historical utilization, histograms of past usage, and network statistics, exported per container and aggregated machine-wide.
Docker is supported natively, and the abstraction is intended to extend to other container runtimes with hierarchical nesting similar to lmctfy. Operators can start quickly via an all-in-one Docker image that monitors an entire machine, run standalone binaries outside Docker, or deploy as a Kubernetes DaemonSet with optional kustomize tweaks.
A built-in web UI serves charts on the daemon’s HTTP port, while a versioned REST API exposes raw and processed metrics for automation. Stats can also be forwarded to external storage plugins. An official Go client helps programs consume the API.
Future roadmap items mentioned in project materials include performance advice between containers, auto-tuning based on prior guidance, and usage prediction for schedulers, though today's focus is measurement and visibility.
Key features
- Per-container CPU and memory history
- Network statistics per container
- Docker-native container discovery
- Web UI for live charts
- Versioned REST metrics API
- Export to storage plugins
- Kubernetes DaemonSet deployment
- Official Go client library
Use cases
- Monitoring Docker host workloads
- Container metrics for Kubernetes nodes
- Feeding stats to external monitoring stacks
- Debugging container resource contention
- Machine-wide container performance visibility