public static LlapDaemonJvmMetrics create(String displayName, String sessionId,
    final Configuration conf) {
    MetricsSystem ms = LlapMetricsSystem.instance();
    return ms.register(displayName, "LlapDaemon JVM Metrics",
      new LlapDaemonJvmMetrics(displayName, sessionId, conf));
  }
Class to report LLAP Daemon's JVM metrics to the hadoop metrics2 API.
llap-server/src/java/org/apache/hadoop/hive/llap/metrics/LlapDaemonJvmMetrics.java