howardyoo commented on code in PR #37948:
URL: https://github.com/apache/airflow/pull/37948#discussion_r1518471941
##########
airflow/dag_processing/manager.py:
##########
@@ -1028,6 +1049,23 @@ def _collect_results_from_processor(self, processor) ->
None:
)
self._file_stats[processor.file_path] = stat
file_name = Path(processor.file_path).stem
+
+ """crude exposure of instrumentation code which may need to be
furnished"""
+ s = Trace.get_tracer("DagFileProcessorManager").start_span(
+ "dag_processing", start_time=int(processor.start_time.timestamp()
* 1000000000)
Review Comment:
let me do that. The function name should be `datetime_to_nano(datetime) ->
int`, though.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]