private void resolveMetrics() {
// resolve references to metrics:
for(MeasurableProperty p : propertyInfo.values()) {
for (Metric m : p.getPossibleMetrics()) {
Metric metric = metricInfo.get(m.getMetricId());
if (metric != null) {
m.assign(metric);
}
}
}