ashb commented on a change in pull request #12695:
URL: https://github.com/apache/airflow/pull/12695#discussion_r532112742
##########
File path: airflow/models/dagbag.py
##########
@@ -467,17 +466,7 @@ def collect_dags(
except Exception as e: # pylint: disable=broad-except
self.log.exception(e)
- end_dttm = timezone.utcnow()
- durations = (end_dttm - start_dttm).total_seconds()
- Stats.gauge('collect_dags', durations, 1)
- Stats.gauge('dagbag_size', len(self.dags), 1)
Review comment:
Hmmm curious, I _did_ remove this in that PR. How did it come back..
Oh. It got added back in in #5743. Whoops. So metric was fixed in 1.10.6 and
then broken again in 1.10.7 :(
----------------------------------------------------------------
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]