simple CloudWatch metrics API with local aggregation and batching