ashb commented on a change in pull request #6342: [AIRFLOW-5662] fix incorrect 
naming and batch db call for scheduler metrics
URL: https://github.com/apache/airflow/pull/6342#discussion_r391562470
 
 

 ##########
 File path: airflow/jobs/scheduler_job.py
 ##########
 @@ -1647,6 +1649,13 @@ def _process_and_execute_tasks(self, simple_dag_bag):
                                                   State.NONE)
         self._execute_task_instances(simple_dag_bag)
 
+    def _collect_metrics(self) -> None:
 
 Review comment:
   Oh, and we should pass in the session, and pass that down to slot_stats.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to