You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2024/03/27 07:15:45 UTC
Re: [PR] Update log level to debug from warning about scheduled_duration metric [airflow]
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org