Skip to content

Commit 4163da0

Browse files
committed
.
1 parent a4cf07e commit 4163da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def __init__(
319319
# OTel timestamps have nanosecond precision
320320
start_timestamp = convert_to_otel_timestamp(start_timestamp)
321321

322-
span_name = name or op or DEFAULT_SPAN_NAME
322+
span_name = name or description or op or DEFAULT_SPAN_NAME
323323

324324
# Prepopulate some attrs so that they're accessible in traces_sampler
325325
attributes = attributes or {}

0 commit comments

Comments
 (0)