Skip to content

Commit

Permalink
wip: is_remote PotelSentrySpanProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
szokeasaurusrex committed Jul 24, 2024
1 parent acd7cf2 commit 27c95f3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ def on_end(self, span):
if is_sentry_span(span):
return

# TODO-neel-potel-remote only take parent if not remote
if span.parent:
if span.parent and not span.parent.is_remote:
self._children_spans[span.parent.span_id].append(span)
else:
# if have a root span ending, we build a transaction and send it
Expand Down

0 comments on commit 27c95f3

Please sign in to comment.