From 2c7f6b6e0294bed6f1087e5bc0f6a331cdbfbbce Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Wed, 19 Feb 2025 08:28:08 +1300 Subject: [PATCH] Update example (#12724) transaction.StartSpan doesn't seem to exist anymore --- .../instrumentation/custom-instrumentation/queues-module.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()