default Optional<String> getExternalHostName(String clusterName, String componentName) {
    return Optional.empty();
  }
If a component is installed to a host that is managed outside of Ambari (for example OneFS) then this method will return the external hostname.
ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricHostProvider.java