Azure / kubernetes-carbon-intensity-exporter

Kubernetes Carbon Intensity Exporter
MIT License
34 stars 10 forks source link

Add support for Electricitymaps #27

Closed tkennes closed 1 year ago

tkennes commented 1 year ago

Hi there,

I recently heard about this project here: https://rossfairbanks.com/2023/06/05/carbon-aware-temporal-shifting-with-keda/, and first off, amazing initiative, this is exactly what we need, big fan! :)

Now, would it perhaps be an idea to support Electricitymaps next to Wattime as well? They do seem to boast different numbers, but generally offer a more granular and greater coverage of the world in general. Also, in Europe they are known to be quite accurate.

Let me know, curious to hear your answer! Judging from the current code, we could achieve this by adding a little bit of data wrangling before processing it further as is.

kind regards, Tom

rossf7 commented 1 year ago

Hi @helayoty @Fei-Guo, the latest release of the Carbon Aware SDK supports the Electricity Maps paid API that has forecast data.

https://github.com/Green-Software-Foundation/carbon-aware-sdk/releases/tag/v1.1.0

Could this be added? I would gladly have a go at this if its helpful.

Thanks

Ross

helayoty commented 1 year ago

@rossf7 , contributions are most welcome :)

rossf7 commented 1 year ago

Thanks @helayoty I've had a go at implementing this by extending the helm chart. PTAL when you have time

https://github.com/Azure/kubernetes-carbon-intensity-exporter/issues/27

rossf7 commented 1 year ago

@helayoty @pauldotyu Thanks so much for getting this approved and released!

@madsnedergaard You might be interested in this as it means https://github.com/Azure/carbon-aware-keda-operator can be used with Electricity Maps data.

madsnedergaard commented 1 year ago

Thanks for the FYI, that's very exciting! 🙌