@Override
 public void putMetric(IMetric metric) {
   metrics.register(metric);
 }
 @Override
 public IMetric getMetric(String name) {
   return metrics.get(name);
 }