We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 014e2cc commit ba0478eCopy full SHA for ba0478e
sentry_sdk/traces.py
@@ -74,6 +74,7 @@ class StreamedSpan:
74
__slots__ = (
75
"_name",
76
"_attributes",
77
+ "_span_id",
78
"_trace_id",
79
"_status",
80
"_flags",
@@ -92,7 +93,8 @@ def __init__(
92
93
for attribute, value in attributes.items():
94
self.set_attribute(attribute, value)
95
- self._trace_id = trace_id
96
+ self._span_id: "Optional[str]" = None
97
+ self._trace_id: "Optional[str]" = trace_id
98
99
self.set_status(SpanStatus.OK)
100
self.set_source(SegmentSource.CUSTOM)
0 commit comments