Send metrics to AWS CloudWatch using Scala