You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/11/28 22:12:36 UTC

[GitHub] [airflow] ashb commented on a change in pull request #12695: Remove deprecated dagbag metrics

ashb commented on a change in pull request #12695:
URL: https://github.com/apache/airflow/pull/12695#discussion_r532112332



##########
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's still emitted here https://github.com/apache/airflow/blob/0a1b434d2895c3245f02e33cec40a64a92777876/airflow/utils/dag_processing.py#L1142-L1151




----------------------------------------------------------------
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:
users@infra.apache.org