Skip to content

Commit 37ea77d

Browse files
committed
change default outcome for spans to "unknown"
1 parent ea76599 commit 37ea77d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticapm/traces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def begin_span(
285285
start=start,
286286
)
287287

288-
def end_span(self, skip_frames=0, duration=None, outcome=None):
288+
def end_span(self, skip_frames=0, duration=None, outcome="unknown"):
289289
"""
290290
End the currently active span
291291
:param skip_frames: numbers of frames to skip in the stack trace

0 commit comments

Comments
 (0)