Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sentry_sdk/traces.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,8 @@ def _set_segment_attributes(self) -> None:
self.set_attribute(
SPANDATA.SENTRY_SDK_INTEGRATIONS, sorted(client.integrations.keys())
)
if not self.get_attributes().get("sentry.span.source"):
self.set_attribute("sentry.span.source", SegmentSource.CUSTOM.value)

if client.options.get("dist") and SPANDATA.SENTRY_DIST not in self._attributes:
self.set_attribute(
Expand Down
Loading
Loading