fx19880617 commented on a change in pull request #6502: URL: https://github.com/apache/incubator-pinot/pull/6502#discussion_r566558025
########## File path: pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/PinotTaskManager.java ########## @@ -290,6 +290,9 @@ private void scheduleJob(String tableWithType, String taskType, String cronExprS .build(); try { _scheduledExecutorService.scheduleJob(jobDetail, trigger); + _controllerMetrics Review comment: done. ########## File path: pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/CronJobScheduleJob.java ########## @@ -42,11 +45,17 @@ public void execute(JobExecutionContext jobExecutionContext) .get(PinotTaskManager.LEAD_CONTROLLER_MANAGER_KEY); String table = jobExecutionContext.getJobDetail().getKey().getName(); String taskType = jobExecutionContext.getJobDetail().getKey().getGroup(); + pinotTaskManager.getControllerMetrics().addMeteredTableValue(PinotTaskManager.getCronJobName(table, taskType), + ControllerMeter.CRON_SCHEDULER_JOB_TRIGGERED, 1); Review comment: done ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org