add cloudwatch metrics config