Skip to content

Commit

Permalink
Update ddtrace/_trace/tracer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZStriker19 authored Jan 10, 2025
1 parent 57b3239 commit a0b2c34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ddtrace/_trace/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@ def _start_span(

# Update the service name based on any mapping
service = config.service_mapping.get(service, service)

links = context._span_links if not parent else []
if trace_id or links:
# child_of a non-empty context, so either a local child span or from a remote context
Expand Down

0 comments on commit a0b2c34

Please sign in to comment.