public boolean isAmsHostMetric() {
    return amsHostMetric;
  }
Indicates whether this hostcomponent metric is a host metric for AMS.
ambari-server/src/main/java/org/apache/ambari/server/state/stack/Metric.java