dstandish commented on code in PR #62436:
URL: https://github.com/apache/airflow/pull/62436#discussion_r2854510566
##########
airflow-core/src/airflow/models/dagrun.py:
##########
@@ -366,7 +405,11 @@ def __init__(
self.triggered_by = triggered_by
self.triggering_user_name = triggering_user_name
self.scheduled_by_job_id = None
- self.context_carrier = {}
+
+ context_carrier = {}
+ with start_root_span():
+ TraceContextTextMapPropagator().inject(context_carrier)
+ self.context_carrier = context_carrier
Review Comment:
and this won't be invoked in the dag processor -- dag runs are created
either in the scheduler or the api server
--
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]