code: public static Map<String, String> getClusterNameTags(Configuration conf) {
      ImmutableMap.Builder<String, String> tagMap = ImmutableMap.builder();
  
      String clusterIdentifierTag = ClustersNames.getInstance().getClusterName(conf);
      if (!Strings.isNullOrEmpty(clusterIdentifierTag)) {
        tagMap.put(CLUSTER_IDENTIFIER_TAG_NAME, clusterIdentifierTag);
      }
      return tagMap.build();
    }
docs: Gets all useful Hadoop cluster metrics.
  
  @param conf a Hadoop {@link Configuration} to collect the metadata from
  
  @return a {@link Map} of key, value pairs containing the cluster metadata