private void updateMetrics(List<JobExecution> completedExecutions) {
    for (JobExecution jobExecution : completedExecutions) {
      if (jobExecution.executionState.equals(ExecutionState.SUCCEEDED)) {
        AutoTuningMetricsController.markSuccessfulJobs();
      } else if (jobExecution.executionState.equals(ExecutionState.FAILED)) {
        AutoTuningMetricsController.markFailedJobs();
      }
    }
  }
Updates metrics for auto tuning monitoring for job completion daemon
@param completedExecutions List completed job executions
app/com/linkedin/drelephant/tuning/JobCompleteDetector.java