amazon-archives / cost-optimization-ec2-right-sizing

The EC2 Right Sizing solution has reached the end of its useful life. Right-sizing functionality is available as a native feature of AWS Compute Optimizer. Details here: https://aws.amazon.com/compute-optimizer/. The solution will be removed the AWS Solutions library and archived on GitHub. Archived solutions will continue to be available on GitHub; however, the AWS Solutions Team has no further plans to update or provide technical support for the solution.
Apache License 2.0
88 stars 45 forks source link

Unnecessary calls to CW metrics #11

Closed stevemorad closed 6 years ago

stevemorad commented 6 years ago

Threading logic combines Account ID with region, resulting in multiple CW metric look-ups per region.

stevemorad commented 6 years ago

Updated threading logic to not not parse the account number and combine it with the region.