parse ec2 tags as metric dimensions