@JsonProperty("metrics")
  public Map<String, Map<String, Metric>> getMetricsByCategory() {
    return metrics;
  }
Used to represent metrics for a stack component.
ambari-server/src/main/java/org/apache/ambari/server/state/stack/MetricDefinition.java