jnioche commented on PR #5424: URL: https://github.com/apache/solr/pull/5424#issuecomment-7404477730
> Interesting idea. The units mean nothing to me but I could see this being useful as a way to generally monitor how much our different CI jobs run, since Aspen reportedly breaks down the info by that. And over time is even better. Can you link to what that looks like? I went to one of the other adopters, Storm, and just saw one number. thanks @dsmiley the badge shows the amount of CO2eq generated by the GH actions. The [badge data generated by the Aspen](https://github.com/apache/storm/blob/badges/badge.json) action contains more info ``` { "aspen_version": "1.5.0", "co2eq_g": 1260.698, "color": "c0c0c0", "energy_wh": 3282.706, "label": "CI CO2eq (30d)", "message": "1.26 kgCO2e", "minutes": 14739, "period": "30d", "schemaVersion": 1, "source": "jobs", "water_cooling_l": 1.116, "water_electricity_l": 11.746 } ``` so you can also generate badges for energy and water like on https://github.com/DigitalPebble/aspen/README.md When the carbon workflow runs (e.g one a week), it generates the badge data above but also a [summary](https://github.com/apache/opennlp/actions/runs/47191090001) with the breakdown per workflow and the corresponding footprints. It also produces a more detailed json report as an artefact. It uses the data from https://github.com/apache/solr/actions/metrics/usage you can use the minutes reported there to get estimates and comparisons on https://aspen.digitalpebble.com/simulator/ The workflow runs are only kept for a limited amount of time and Aspen does not store any data outside of GH but showing the evolution of the footprints over time is doable. The badge data (see above) is kept on a branch `badges` so each version of the file is kept over time and a script could use that to render the progress. I might do that on the Aspen website using the [ADOPTERS](https://github.com/DigitalPebble/aspen/blob/main/ADOPTERS.md) data. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
