This repository provides a toolkit for gathering, processing, and visualizing machine metrics — with a focus on power consumption — using a containerized stack based on Docker.
The stack includes the following Prometheus-compatible exporters:
-
🔍 cAdvisor
Collects resource usage and performance characteristics of running containers. -
⚡ Scaphandre
Measures power and energy consumption on bare-metal Linux machines. -
🖥 Node Exporter
Provides system-level metrics such as CPU, memory, disk, and network usage.
To deploy the Collector stack, which exposes the metrics to Prometheus:
➡️ See the collector/README.md for setup and deployment instructions.
The Interface stack includes a preconfigured Grafana dashboard that connects to one or more Prometheus datasources.
To connect to the collector stack:
- Add a new Prometheus datasource using the credentials configured during its setup.
- Enable “Skip TLS verification” under the TLS settings (if using self-signed certificates).
Once configured, Grafana will be accessible at:
http://<your-machine-ip>:13000/
📍 Default port for Grafana is
13000
- ⏱ Scaphandre Polling Rate:
Energy metrics can only be scraped once every 2 seconds (as ofv1.0.2). Using lower scrape intervals will result in failed requests or missing energy related data.

