added metric_type
added metric_type