code: public static String[] createHostTag() {
          String[] hostTag = {MetricsTags.TAG_HOST, null};
          try {
              hostTag[1] = InetAddress.getLocalHost().getHostName();
          } catch (UnknownHostException e) {
              hostTag[1] = "unknown";
          }
          return hostTag;
      }
docs: Create host tag based on the local host.
  @return host tag.