Collecting custom metrics from EC2 instances