andrewhharmon commented on a change in pull request #5414: [AIRFLOW-4790]
Change dag processing stats to timers
URL: https://github.com/apache/airflow/pull/5414#discussion_r293570860
##########
File path: airflow/utils/dag_processing.py
##########
@@ -984,7 +984,7 @@ def _log_file_processing_stats(self, known_file_paths):
file_name = os.path.basename(file_path)
file_name = os.path.splitext(file_name)[0].replace(os.sep, '.')
if last_runtime:
- Stats.gauge(
+ Stats.timing(
Review comment:
ah, i guess we are interested in tracking how long it takes to process a dag
over time. so we can see if dag processing is slowing down over time
----------------------------------------------------------------
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]
With regards,
Apache Git Services