Fixed a bug reported by cafed00d in capturing CloudWatch metrics (wrong parameter for MetricName)