@Override
  public String getPublicHostName(String clusterName, String hostName) {
    Host host = getHost(clusterName, hostName);
    return host == null? hostName : host.getPublicHostName();
  }
Get type of Metrics system installed.
@return @MetricsService, null if none found.
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java