public MetricInstance(String metricName,MetricMaker maker,String... dependencyMetricNames){
  this.metricName=metricName;
  this.maker=maker;
  this.dependencyMetricNames=Arrays.asList(dependencyMetricNames);
}

public MetricInstance ( String metricName , MetricMaker maker , String ... dependencyMetricNames ) { this . metricName = metricName ; this . maker = maker ; this . dependencyMetricNames = Arrays . asList ( dependencyMetricNames ) ; }
construct a metricinstance from strings with a list of dependencymetricnames .
