nickstenning commented on code in PR #62436:
URL: https://github.com/apache/airflow/pull/62436#discussion_r2852848759
##########
airflow-core/src/airflow/jobs/job.py:
##########
@@ -210,7 +216,7 @@ def heartbeat(
:param session to use for saving the job
"""
previous_heartbeat = self.latest_heartbeat
- with DebugTrace.start_span(span_name="heartbeat", component="Job") as
span:
+ with NonRecordingSpan(non_recording_context) as span:
Review Comment:
```suggestion
# Use a no-op tracer for now: we'll remove this later.
with trace.NoOpTracer().start_as_current_span("heartbeat") as span:
```
--
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]