Skip to content

Commit 5342856

Browse files
fix: use python dict instead of string for attribute parsing
Signed-off-by: Shivanshu Raj Shrivastava <[email protected]>
1 parent 3d5935f commit 5342856

File tree

1 file changed

+0
-2
lines changed
  • instrumentation/opentelemetry-instrumentation-celery/src/opentelemetry/instrumentation/celery

1 file changed

+0
-2
lines changed

instrumentation/opentelemetry-instrumentation-celery/src/opentelemetry/instrumentation/celery/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ def set_attributes_from_context(span, context):
9595
SpanAttributes.MESSAGING_DESTINATION, routing_key
9696
)
9797

98-
value = str(value)
99-
10098
elif key == "id":
10199
attribute_name = SpanAttributes.MESSAGING_MESSAGE_ID
102100

0 commit comments

Comments
 (0)