for each container:
get power
for each region:
get carbon and combine
for each time of day:
... as above...
This causes more fetches to the carbon sdk than necessary (we could iterate over the regions independent of container since its the same for each container)
I "thinK" we are getting throttled by the sdk under some testing cases hence would be helpful
would also likely improve performance, less unecessary calls
At the moment the logic goes
for each container: get power for each region: get carbon and combine for each time of day: ... as above...
This causes more fetches to the carbon sdk than necessary (we could iterate over the regions independent of container since its the same for each container) I "thinK" we are getting throttled by the sdk under some testing cases hence would be helpful
would also likely improve performance, less unecessary calls