code: private static String getJobMasterMetricName(String name) {
      return Joiner.on(".").join(InstanceType.JOB_MASTER, name);
    }
docs: Builds metric registry names for the job master instance. The pattern is instance.metricName.
  
  @param name the metric name
  @return the metric registry name