google

cAdvisor: Monitor Container Resource Usage and Performance

cAdvisor is a Go daemon for collecting and exporting resource and performance data from running containers and machines. It supports Docker natively and uses Google's lmctfy-based hierarchical container abstraction.

View on GitHub Compare
Stars
19.5k
Forks
2.5k
Stars, last 30 days
+52
Last commit
8 days ago
Contributors
100+

Our take

Activerecent releases

Health score

55/100

How it is scored
Activity
55
Community
92
Issues
43
Pull requests
30

+52 stars in the last 30 days

  • More contributors than 78% of the projects we track
  • Slower to close issues than 87% of the projects we track

cAdvisor is an actively maintained, broadly contributed container-monitoring daemon with frequent releases, though teams should account for its host-level access needs and slower issue resolution.

Good fit if

  • You need container and host resource statistics, and can provide the mounted host paths and privileges shown in the Docker setup.
  • You run Docker or Kubernetes and want a web UI, REST API, or storage-plugin export path for container data.
  • You want an established Go project: it has recent commits and releases, and contributions are spread across many contributors rather than concentrated in one person.

Look elsewhere if

  • You need built-in automated performance advice or usage prediction, which the README lists as roadmap goals.
  • Your deployment cannot grant cAdvisor the host access its documented Docker setup requires.
  • Your adoption process requires a clearly identified license; the supplied repository metadata reports NOASSERTION.
All health signals
Last commit2026-10-12 (8 days ago)
Commits, last 90 days3
Releases, last 12 months15 (latest v0.60.6, 2026-09-18)
Contributors100+ (top contributor: 17% of commits)
Issues closed, last 90 days10 (typically closed in 122 days)
Pull requests merged, last 90 days3 (typically merged in 4 days)
Project age12 years

Checked on 2026-10-21 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

19,534

Forks

2,506

Change since Nov 17, 2026: +2 stars·+1 forks

Overview

cAdvisor (Container Advisor) is a Go daemon that collects, processes, and exports resource usage and performance data for running containers and their host machines. It supports Docker natively, and its hierarchical container abstraction is based on Google's lmctfy. The project aims to help container users understand how resources are used and how containers perform.

It provides container-level and machine-wide data, including resource isolation settings, historical usage, usage histograms, and network statistics. Users can inspect data in its web UI, access it through a versioned REST API, or export it to storage plugins. The README describes future goals such as performance advice and usage prediction, rather than presenting those as current capabilities.

Key Features

  • Collects and aggregates container resource usage and performance data.
  • Records resource isolation parameters and historical usage, including usage histograms.
  • Tracks network statistics and exports data at container and machine scope.
  • Provides a web UI and a versioned remote REST API.
  • Exports statistics to storage plugins.
  • Includes an official Go client.
  • Supports running as a Kubernetes DaemonSet, as well as standalone deployment.

Use Cases

  • Platform teams can inspect resource consumption across containers and hosts when investigating capacity or performance issues.
  • Kubernetes operators can deploy cAdvisor as a DaemonSet to gather container statistics across cluster nodes.
  • Developers can review a container's historical resource usage when tuning resource isolation settings.
  • Monitoring teams can export cAdvisor statistics to supported storage plugins for use in their existing data workflows.

What you need

Detected in the repository

  • Go 1.25.0 or newer (from go.mod)
  • Automated checks on GitHub Actions

Getting Started

The README's Docker quick start uses a versioned image and mounts host state for observation:

VERSION=0.60.6
sudo docker run --volume=/:/rootfs:ro --volume=/var/run:/var/run:ro --volume=/sys:/sys:ro --volume=/var/lib/docker/:/var/lib/docker:ro --volume=/dev/disk/:/dev/disk:ro --publish=8080:8080 --detach=true --name=cadvisor --privileged --device=/dev/kmsg ghcr.io/google/cadvisor:$VERSION

Then open http://localhost:8080. See the README and running instructions for other deployment options and details.

License in Plain Words

No standard license was detected. Without a license, the default copyright rules apply: you may read the code, but not reuse it. Check the repository or ask the authors.

Alternatives

  • ctop: ctop provides an interactive terminal view of container metrics, while cAdvisor collects and exports metrics for monitoring systems.
ProjectLanguageLicenseStarsStatus
cAdvisorGo–19.5kActive
ctopGoMIT17.8kInactive

Considerations

  • The Docker quick start runs with --privileged and mounts host filesystems and runtime state. Review those access requirements against your deployment's security policies.
  • Issue handling has a long median time to close, so allow for potentially slow responses when relying on upstream issue resolution.
  • The README's roadmap includes advice, automatic tuning, and usage prediction, but does not describe them as existing features.
  • Repository license metadata is NOASSERTION; verify the applicable license and obligations before adopting or redistributing the project.

Found this useful?

Share it with someone who would like cAdvisor.

Comparisons