dstandish commented on PR #61897: URL: https://github.com/apache/airflow/pull/61897#issuecomment-3929819115
> We can't create any spans from under tasks. I think possibly you did not wait for the task to complete before grabbing that screenshot? I just tried creating a span within a task and it works <img width="1347" height="722" alt="image" src="https://github.com/user-attachments/assets/da71006b-c4fe-493a-ad67-0dc78c4713a0" /> here's my dag: with DAG( dag_id="manual_trigger_dag", schedule=None, ) as dag2: @task() def hooray(dag_run: DagRun = None): time.sleep(1) with Trace.start_span("some-sub-span"): time.sleep(1) hooray() -- 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]
