We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f1178 commit 751cd69Copy full SHA for 751cd69
1 file changed
sentry_sdk/traces.py
@@ -747,6 +747,14 @@ def start_timestamp(self) -> "Optional[datetime]":
747
def end_timestamp(self) -> "Optional[datetime]":
748
return None
749
750
+ def _get_trace_context(self) -> "dict[str, Any]":
751
+ return {
752
+ "trace_id": self.trace_id,
753
+ "span_id": self.span_id,
754
+ "parent_span_id": self._parent_span_id,
755
+ "dynamic_sampling_context": self._dynamic_sampling_context(),
756
+ }
757
+
758
759
if TYPE_CHECKING:
760
0 commit comments