opencost / opencost-ui

The OpenCost web interface
https://opencost-ui.vercel.app
Apache License 2.0
4 stars 4 forks source link

Include regional CO2 ratings #22

Open katrinleinweber opened 2 years ago

katrinleinweber commented 2 years ago

GCP started rating their regions with CFE% & Grid carbon intensity. Would it be possible for kubecost to ingest and present that numerical data? Or at least the Low CO2 summary flag?

Your users could then integrate such data into their (not just monetary) cost calculations.

Probably, other providers will offer similar data in the future as well.

gz#1141

dwbrown2 commented 2 years ago

Love this idea! Have a sense for where you'd want to see this information in the kubecost UI?

Also, looks like they currently just have 2020 data in machine format. https://github.com/GoogleCloudPlatform/region-carbon-info/blob/main/data/yearly/2020.csv

michaelmdresser commented 2 years ago

cc @kaelanspatel I recall you were interested in this.

katrinleinweber commented 2 years ago

… where you'd want to see this information in the kubecost UI?

I think in /savings.html (to the right of the Savings Rate) there could be a 3rd figure like X% to Y% CO2 reduction possible, with a link to an entry /warn.html if a cluster is not in the lowest third (for example) of regions in terms of carbon intensity of the grid. X & Y could quick calculations based on the alternatives of lowest on same continent and lowest globally for example.

pgold30 commented 2 years ago

is there an option to also show co2 on AWS?

dwbrown2 commented 2 years ago

Looks like AWS is just launching an initiative here! I haven't closely investigated yet though. https://www.zdnet.com/article/this-new-aws-tool-shows-customers-the-carbon-footprint-of-their-cloud-computing-usage/

github-actions[bot] commented 1 year ago

This issue has been marked as stale because it has been open for 180 days with no activity. Please remove the stale label or comment or this issue will be closed in 5 days.

katrinleinweber commented 1 year ago

@dwbrown2 Let's consider the recent activity in https://github.com/opencost/opencost/issues/2121 to be part of this topic ;-) Could you please remove the Stale label?

mattray commented 8 months ago

I believe with the new Cloud Costs functionality in 1.108 it'll be easier to integrate there initially. If anyone's interested in working on this I'm happy to share notes

mattray commented 2 months ago

Carbon costs shipped in 1.110.0, they're just missing documentation and a UI.