@Override
  protected String getHostInMemoryAggregationProtocol() {
    return "http";
  }
Get hostname used for calculating write shard.

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