thegreenwebfoundation / grid-intensity-exporter

A grid intensity exporter for use with prometheus. Designed to be used for understanding carbon footprint of compute.
Apache License 2.0
6 stars 1 forks source link

Update README with Ember provider #9

Closed rossf7 closed 2 years ago

rossf7 commented 2 years ago

Follow up to https://github.com/thegreenwebfoundation/grid-intensity-exporter/pull/8 to update the README to cover the new default provider with Ember.

@mrchrisadams We could also convert the Nomad manifest to a Pack so we can template the GRID_INTENSITY_REGION and GRID_INTENSITY_PROVIDER env vars. WDYT?

https://github.com/thegreenwebfoundation/grid-intensity-exporter/blob/0f421a08fccf7482477a8a0230fd724016d495c1/nomad/grid-intensity-exporter.nomad#L36

mrchrisadams commented 2 years ago

Hi Ross!

@mrchrisadams We could also convert the Nomad manifest to a Pack so we can template the GRID_INTENSITY_REGION and GRID_INTENSITY_PROVIDER env vars. WDYT?

Would this allow someone running Nomad to basically execute a pack / job thing, to add the carbon reporting on all the clients nodes?

rossf7 commented 2 years ago

Would this allow someone running Nomad to basically execute a pack / job thing, to add the carbon reporting on all the clients nodes?

My thinking was using Pack for templating the env vars like we do in the Helm chart but I think that's over-engineering things. I've extended the README to cover editing the 2 env vars before starting the job.

We only need a single instance of the exporter per Nomad region so Prometheus can scape it. More complex multi region setups might span countries but those users are probably using something already to manage their Nomad jobs.