xBis7 commented on code in PR #63839:
URL: https://github.com/apache/airflow/pull/63839#discussion_r2959496940


##########
airflow-core/src/airflow/models/taskinstance.py:
##########
@@ -486,6 +492,17 @@ def uuid7() -> UUID:
     return uuid6.uuid7()
 
 
+def _make_task_carrier(dag_run_context_carrier):
+    parent_context = (
+        TraceContextTextMapPropagator().extract(dag_run_context_carrier) if 
dag_run_context_carrier else None
+    )
+    span = tracer.start_span("notused", context=parent_context)  # 
intentionally never closed

Review Comment:
   Thanks for explaining offline. I didn't realize that the task parent span is 
created and exported at the end. Looks good to me.



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