ashb commented on a change in pull request #12695:
URL: https://github.com/apache/airflow/pull/12695#discussion_r532112396
##########
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:
(It was probably a bug in my linked PR #6157 that this was still emitted
here!)
----------------------------------------------------------------
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]