ferruzzi commented on code in PR #30496:
URL: https://github.com/apache/airflow/pull/30496#discussion_r1163157138


##########
airflow/dag_processing/processor.py:
##########
@@ -174,6 +174,7 @@ def _handle_dag_file_processing():
                 ), Stats.timer() as timer:
                     _handle_dag_file_processing()
             log.info("Processing %s took %.3f seconds", file_path, 
timer.duration)
+            Stats.timing("dag.processor.parse.time", dt=timer.duration, 
tags={"file_path": file_path})

Review Comment:
   I'll double check.  I thought the last_duration was the time it took to 
execute the task, but looking again, it looks like I was mixed up and you are 
right.  Good catch, thanks.



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