metric to abstractmetric, metric value to abstractMetricvalue