howardyoo commented on code in PR #37948:
URL: https://github.com/apache/airflow/pull/37948#discussion_r1565189532


##########
airflow/dag_processing/manager.py:
##########
@@ -1029,6 +1051,25 @@ 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"""
+        span = Trace.get_tracer("DagFileProcessorManager").start_span(
+            "dag_processing", start_time=datetime_to_nano(processor.start_time)

Review Comment:
   Unfortunately, it is not possible, as OTEL's time unit is not compatible 
with datetime type.



-- 
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]

Reply via email to