zhuzhurk commented on code in PR #21197:
URL: https://github.com/apache/flink/pull/21197#discussion_r1013581586


##########
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/SchedulerBase.java:
##########
@@ -603,6 +603,7 @@ public final void startScheduling() {
                 executionGraph.getStatusTimestamp(JobStatus.INITIALIZING),
                 jobStatusMetricsSettings);
         operatorCoordinatorHandler.startAllOperatorCoordinators();
+        
operatorCoordinatorHandler.initializeMetricGroup(jobManagerJobMetricGroup);

Review Comment:
   `AdaptiveScheduler` receives the `JobManagerJobMetricGroup` on construction. 
And that is the group to host the operator coordinator metrics. You can record 
it in `AdaptiveScheduler` and return it via 
`AdaptiveScheduler#getJobMetricGroup()`.



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to