Check PutMetricData error.