cloud-carbon-footprint icon indicating copy to clipboard operation
cloud-carbon-footprint copied to clipboard

[SPIKE] Supporting non USD currencies

Open ericksod opened this issue 3 years ago • 1 comments

Context We would like this tool to be applicable and helpful to organizations and individuals across the globe. To do so, it is helpful to support international currencies.

A/Cs

  • [ ] Investigate the following questions
  • [ ] Perhaps consult a team we know operates in a different currency
  • [ ] Document findings in the spikes folder

Questions to investigate

  • [ ] Can we can retrieve billing data in different currencies?

    • [ ] How can we detect the currency coming back from billing data? Or utilize another API call for metadata?
    • [ ] Do each of the cloud providers support the same currencies?
    • [ ] Is billing data constrained to only one currency?
    • [ ] What support for currencies do we have with the recommendation APIs? Do we have to specify in request or does it default to set currency by account settings?
    • [ ] Error handling when a currency is unsupported by CCF
  • [ ] How can we design this to be extended to various additional currencies?

  • [ ] How would this impact API (high accuracy) approach - how much additional work if any would be needed to also support it here?

  • [ ] How can we design this with future additional internationalization in mind?

  • [ ] If cloud providers do not do the currency work for us, what options do we have for conversion?

  • [ ] If change currencies, will data need to be backfilled?

ericksod avatar Jul 28 '21 19:07 ericksod

image image(1)

I've got some screenshots from a Brazilian AWS account, it seems they keep the USD as the main currency and apply the exchange rate. We need to check if the API result is the same and/or we could do the same (apply the exchange rate) to show cost on our graphics in the local currency.

mvaltas avatar May 06 '22 00:05 mvaltas