From 2466a0e2ece591d3fa6183ac667de74555054dca Mon Sep 17 00:00:00 2001 From: Adrien Brault Date: Tue, 12 Nov 2024 21:39:16 +0100 Subject: [PATCH] docs: fix queue custom instrumentation code --- .../instrumentation/custom-instrumentation/queues-module.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/platforms/python/tracing/instrumentation/custom-instrumentation/queues-module.mdx b/docs/platforms/python/tracing/instrumentation/custom-instrumentation/queues-module.mdx index 4eead99a718a5..6bffff837fde5 100644 --- a/docs/platforms/python/tracing/instrumentation/custom-instrumentation/queues-module.mdx +++ b/docs/platforms/python/tracing/instrumentation/custom-instrumentation/queues-module.mdx @@ -48,7 +48,7 @@ with sentry_sdk.start_transaction( # Create the span with sentry_sdk.start_span( op="queue.publish", - name="queue_producer", + description="queue_producer", ) as span: # Set span data span.set_data("messaging.message.id", message_id) @@ -118,7 +118,7 @@ with sentry_sdk.start_transaction(transaction): # Create the span with sentry_sdk.start_span( op="queue.process", - name="queue_consumer", + description="queue_consumer", ) as span: # Set span data span.set_data("messaging.message.id", message["message_id"])