@Override
  protected String getHostname() {
    return hostName;
  }
Get hostname used for calculating write shard.

@return String "host1"
ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/AmbariMetricSinkImpl.java