cAdvisor vs Cortex
A side-by-side comparison of two self-hosted monitoring & status options — licensing, setup difficulty, resource needs, and what each one replaces.
| Feature | cAdvisor | Cortex |
|---|---|---|
| Deploy effort | Under-an-hour setup | Under-an-hour setup |
| Health score | 96 · Excellent | 90 · Excellent |
| Category | Monitoring & Status | Monitoring & Status |
| License | Apache-2.0 | Apache-2.0 |
| Language | Go | Go |
| Setup difficulty | Easy | Hard |
| Min. RAM | 64 MB | 1,024 MB |
| Deployment | docker, kubernetes, binary | docker, kubernetes, helm |
| GitHub stars | ★ 19,439 | ★ 5,865 |
| First released | 2014 | 2016 |
| Replaces | Datadog | Datadog, Grafana Cloud |
What are cAdvisor and Cortex?
cAdvisor
cAdvisor provides container users with an understanding of the resource usage and performance characteristics of their running containers. It exposes per-container CPU, memory, network, and filesystem metrics.
- Per-container resource metrics
- Live web UI
- Prometheus metrics export
- Auto-discovers containers
Cortex
Cortex provides a horizontally scalable, highly available, multi-tenant, long-term store for Prometheus metrics. It offers a single API endpoint for querying and writing time series data across clusters.
- Multi-tenant metrics storage
- Horizontally scalable
- Prometheus-compatible API
- Long-term retention
cAdvisor vs Cortex: key differences
Both projects are written in Go. CAdvisor is the lighter option, starting around 64 MB of RAM against 1,024 MB for Cortex. CAdvisor is the more established project (first released 2014), while Cortex arrived in 2016. CAdvisor has the considerably larger community, at 19,439 GitHub stars versus 5,865.
Why pick each one
Choose cAdvisor if…
- Zero configuration
- Lightweight
Watch out for
- Limited historical retention
- Best paired with Prometheus
Choose Cortex if…
- Built for very large scale
- True multi-tenancy
Watch out for
- Operationally heavy
- Overkill for small setups
Frequently asked questions
Is cAdvisor or Cortex better?
cAdvisor is the stronger all-round pick: it has both the larger community and the simpler easy setup. Consider Cortex if its specific feature set fits your needs better.
Are cAdvisor and Cortex free and open-source?
Yes. cAdvisor is licensed under Apache-2.0 and Cortex under Apache-2.0. Both can be self-hosted at no software cost.
Can I run cAdvisor and Cortex with Docker?
cAdvisor: yes. Cortex: yes.
Which is lighter on resources, cAdvisor or Cortex?
cAdvisor has the smaller minimum footprint at 64 MB of RAM, compared to about 1,024 MB for Cortex. Real-world usage depends on library size, user count, and enabled features.