Skip to content

Commit 61a0b65

Browse files
fix: Correct start_child_span to start_span in docs
1 parent 397f961 commit 61a0b65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/tracing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Spans represent individual units of work within a transaction, such as a databas
3131
import sentry_sdk
3232
3333
# Start a child span under the current transaction
34-
with sentry_sdk.start_child_span(op="db.query", name="SELECT * FROM users"):
34+
with sentry_sdk.start_span(op="db.query", name="SELECT * FROM users"):
3535
# Your operation here
3636
pass
3737

0 commit comments

Comments
 (0)