public void setMetrics(Map<String, Map<String, List<MetricDefinition>>> map) {
    metrics = map;
  }
@param map the metrics for this service
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java