We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0177165 commit ea130a0Copy full SHA for ea130a0
1 file changed
sentry_sdk/_span_batcher.py
@@ -168,8 +168,8 @@ def _to_transport_format(item: "StreamedSpan") -> "Any":
168
"start_timestamp": item._start_timestamp.timestamp(),
169
}
170
171
- if item._timestamp:
172
- res["end_timestamp"] = item._timestamp.timestamp()
+ if item._end_timestamp:
+ res["end_timestamp"] = item._end_timestamp.timestamp()
173
174
if item._parent_span_id:
175
res["parent_span_id"] = item._parent_span_id
0 commit comments