@Override
  public void getMetrics(MetricsCollector collector, boolean b) {
    MetricsRecordBuilder rb = collector.addRecord(SchedulerMetrics)
        .setContext("scheduler")
        .tag(ProcessName, "DAGAppMaster")
        .tag(SessionId, sessionId);
    if (dagId != null) {
        rb.tag(MsInfo.Context, dagId);
    }
    getTaskSchedulerStats(rb);
  }
Metrics about the llap task scheduler.
llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/LlapTaskSchedulerMetrics.java