xBis7 commented on code in PR #49180:
URL: https://github.com/apache/airflow/pull/49180#discussion_r2066657362
##########
airflow-core/src/airflow/traces/tracer.py:
##########
@@ -53,7 +53,7 @@ def add_span(func):
@wraps(func)
def wrapper(*args, **kwargs):
- with Trace.start_span(span_name=func_name, component=component):
+ with DebugTrace.start_span(span_name=func_name, component=component):
Review Comment:
Yeah, I don't think that users will ever need to annotate a dag function
with the `add_span`. I'll rename it.
--
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]