Skip to content

Commit

Permalink
wip 6
Browse files Browse the repository at this point in the history
  • Loading branch information
gnufede committed Jun 14, 2024
1 parent 872964b commit 6400a57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ddtrace/_trace/span.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,9 @@ class NoneSpan(Span):
def __init__(self):
super(NoneSpan, self).__init__("NoneSpan", trace_id=0, span_id=0, parent_id=0, start=0)

def __bool__(self):
return False

@property
def sampled(self):
return True
Expand Down

0 comments on commit 6400a57

Please sign in to comment.