public static String getDcName(InstanceConfig instanceConfig) {
    return getDcName(instanceConfig.getRecord());
  }
Get the datacenter name associated with the given instance.
@param instanceConfig the {@link InstanceConfig} associated with the interested instance.
@return the datacenter name associated with the given instance.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/ClusterMapUtils.java