ramn / metrics_cloudwatch

CloudWatch emitter for the metrics crate
7 stars 9 forks source link

switch rusoto to aws_sdk_cloudwatch #36

Closed VladimirBramstedt closed 1 year ago

VladimirBramstedt commented 2 years ago

switch over to aws-sdk as rusoto is no longer updated. new limits for number of metrics, etc, from the docs (at the time of writing, at least)

Since the aws-sdk uses a concrete Client type rather than rusoto's Cloudwatch trait, i had to wrap it in a trait to allow mocking and test. this does mean that technically clients could still use a rusoto client if they take care to adjust the types.