uranusjr commented on code in PR #38180:
URL: https://github.com/apache/airflow/pull/38180#discussion_r1540581665


##########
airflow/models/taskinstance.py:
##########
@@ -2306,12 +2306,14 @@ def emit_state_change_metric(self, new_state: 
TaskInstanceState) -> None:
         elif new_state == TaskInstanceState.QUEUED:
             metric_name = "scheduled_duration"
             if self.start_date is None:
-                # same comment as above

Review Comment:
   Not sure I understand the question. Do you mean to ask if this metric work 
with multiple schedulers? It should since each task should only be handled by 
one scheduler, so the schedulers should not step on each other on this.



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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to