ferruzzi commented on code in PR #43941:
URL: https://github.com/apache/airflow/pull/43941#discussion_r2004452448
##########
airflow/jobs/scheduler_job_runner.py:
##########
@@ -807,8 +818,18 @@ def process_executor_events(
ti.pid,
)
- with Trace.start_span_from_taskinstance(ti=ti) as span:
- cls._set_span_attrs__process_executor_events(span, state, ti)
+ active_ti_span = cls.active_spans.get(ti.key)
+ if active_ti_span is not None:
Review Comment:
So it does. Sorry about that. Still getting used to the right way to use
it, myself.
--
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]