diff --git a/docs/platforms/go/common/tracing/instrumentation/custom-instrumentation/queues-module.mdx b/docs/platforms/go/common/tracing/instrumentation/custom-instrumentation/queues-module.mdx index 36da51567ef07c..bc9de908480b76 100644 --- a/docs/platforms/go/common/tracing/instrumentation/custom-instrumentation/queues-module.mdx +++ b/docs/platforms/go/common/tracing/instrumentation/custom-instrumentation/queues-module.mdx @@ -37,7 +37,7 @@ transaction := sentry.StartTransaction( defer transaction.Finish() // Create the span -span := transaction.StartSpan(ctx, "queue.publish") +span := transaction.StartChild("queue.publish") span.Description = "queue_producer"; defer span.Finish()