A simple Python package that:
- Calculates physical quantities of your device
meters.py
- Calculates useful metrics
metrics.py
Also includes a server that exports these via HTTP for Prometheus consumption export.py
- Power (kW)
- Energy (kWh)
- CO2e emissions (kg)
- Donation to offset carbon emissions (USD)
- Number of one-way flights from London to New York
- CPU
- DRAM
- GPU
import meters
import metrics
python export.py