private void updateMetrics(List<TuningJobDefinition> tuningJobDefinitions) {
    int baselineComputeWaitJobs = 0;
    for (TuningJobDefinition tuningJobDefinition : tuningJobDefinitions) {
      if (tuningJobDefinition.averageResourceUsage == null) {
        baselineComputeWaitJobs++;
      } else {
        AutoTuningMetricsController.markBaselineComputed();
      }
    }
    AutoTuningMetricsController.setBaselineComputeWaitJobs(baselineComputeWaitJobs);
  }
This method update metrics for auto tuning monitoring for baseline computation
@param tuningJobDefinitions
app/com/linkedin/drelephant/tuning/BaselineComputeUtil.java