class MetricUtil {

    public static String getDataRetrievalValue(MappedMetricData mappedMetricData, String dataRetrievalTagKey) {
        val metricData = mappedMetricData.getMetricData();
        val metricDefinition = metricData.getMetricDefinition();
        val metricTags = metricDefinition.getTags();
        return getValueFromTagKey(metricTags, dataRetrievalTagKey);
    }

}