add missing Metric import