turbaszek commented on a change in pull request #12695:
URL: https://github.com/apache/airflow/pull/12695#discussion_r532111071
##########
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:
Should we remove it from
https://github.com/apache/airflow/blob/master/docs/logging-monitoring/metrics.rst
?
----------------------------------------------------------------
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]