Skip to content

Commit a200c34

Browse files
committed
pika: Fix messaging.destination attribute
1 parent 322332f commit a200c34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • instrumentation/opentelemetry-instrumentation-pika/src/opentelemetry/instrumentation/pika

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def _get_span(
157157
kind=span_kind,
158158
)
159159
if span.is_recording():
160-
_enrich_span(span, channel, properties, task_name, operation)
160+
_enrich_span(span, channel, properties, destination, operation)
161161
return span
162162

163163

0 commit comments

Comments
 (0)