Skip to content

Commit a4cf07e

Browse files
committed
desc
1 parent ec1dd3a commit a4cf07e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sentry_sdk/tracing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ def __init__(
277277
self,
278278
*,
279279
op=None, # type: Optional[str]
280+
description=None, # type: Optional[str]
280281
status=None, # type: Optional[str]
281282
start_timestamp=None, # type: Optional[Union[datetime, float]]
282283
origin=None, # type: Optional[str]
@@ -326,6 +327,8 @@ def __init__(
326327
attributes[SentrySpanAttribute.OP] = op
327328
if source is not None:
328329
attributes[SentrySpanAttribute.SOURCE] = source
330+
if description is not None:
331+
attributes[SentrySpanAttribute.DESCRIPTION] = description
329332

330333
parent_context = None
331334
if parent_span is not None:

0 commit comments

Comments
 (0)