public Map<String, Map<String, List<MetricDefinition>>> getMetrics() {
    return metrics;
  }
@return the metrics defined for this service
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java