htpawel commented on PR #37936:
URL: https://github.com/apache/airflow/pull/37936#issuecomment-1988302014

   @potiuk @dirrao 
   I searched entire airflow 2.7.1 code for Stats.timing and except this place 
only we are providing delta correctly. Only here we are calling 
.total_seconds() on delta which is incorrect. Current metrics documentation 
states that those two metrics are in seconds, but they are not. Right now to 
have useful data (in seconds) you need to multiply metric value by 1000 - which 
is obvious bug and mismatch between documentation and reality and should be 
fixed asap imo.


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