File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Instrumentation/Laravel/src/Hooks/Illuminate Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,8 +124,8 @@ protected function hookPushRaw(): bool
124124 $ span = $ this ->instrumentation
125125 ->tracer ()
126126 ->spanBuilder (vsprintf ('%s %s ' , [
127- $ attributes [TraceAttributes::MESSAGING_DESTINATION_NAME ],
128127 TraceAttributeValues::MESSAGING_OPERATION_TYPE_CREATE ,
128+ $ attributes [TraceAttributes::MESSAGING_DESTINATION_NAME ],
129129 ]))
130130 ->setSpanKind (SpanKind::KIND_PRODUCER )
131131 ->setAttributes ($ attributes )
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ private function hookWorkerGetNextJob(): bool
9898 $ span = $ this ->instrumentation
9999 ->tracer ()
100100 ->spanBuilder (vsprintf ('%s %s ' , [
101- $ attributes [TraceAttributes::MESSAGING_DESTINATION_NAME ],
102101 TraceAttributeValues::MESSAGING_OPERATION_TYPE_RECEIVE ,
102+ $ attributes [TraceAttributes::MESSAGING_DESTINATION_NAME ],
103103 ]))
104104 ->setSpanKind (SpanKind::KIND_CONSUMER )
105105 ->setAttributes ($ attributes )
You can’t perform that action at this time.
0 commit comments