green-coding-solutions / green-metrics-tool

Measure energy and carbon consumption of software
https://metrics.green-coding.io
GNU Affero General Public License v3.0
166 stars 22 forks source link

Global timeout #814

Closed ArneTR closed 3 months ago

ArneTR commented 3 months ago

A global timeout is added to prevent jobs to run too long in cluster setups.

This is needed as GMT moves towards more unattended automation

closes https://github.com/green-coding-solutions/green-metrics-tool/issues/790 closes https://github.com/green-coding-solutions/green-metrics-tool/issues/23

github-actions[bot] commented 3 months ago
Eco-CI Output: Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run (incl. overhead) 24.5183 1758.97 3.92 449
Measurement #1 24.4515 1758.97 3.94 447

🌳 CO2 Data: City: Chicago, Lat: 41.8874, Lon: -87.6318 IP: 20.102.199.128 CO₂ from energy is: 0.814403110 g CO₂ from manufacturing (embodied carbon) is: 0.128105900 g Carbon Intensity for this location: 463 gCO₂eq/kWh SCI: 0.942509 gCO₂eq / pipeline run emitted