private String preprocessPropertyId(String propertyId, String componentName) {
    if (propertyId.startsWith("jvm") && JVM_PROCESS_NAMES.keySet().contains(componentName)) {
      String newPropertyId = propertyId.replace("jvm.", "jvm." + JVM_PROCESS_NAMES.get(componentName));
      LOG.debug("Pre-process: {}, to: {}", propertyId, newPropertyId);
      return newPropertyId;
    }

    return propertyId;
  }
Account for the processName added to the jvm metrics by the HadoopSink.
E.g.: jvm.RegionServer.JvmMetrics.GcTimeMillis
ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProvider.java