Skip to content

Commit bdbb36f

Browse files
Send instrumentation updated to KIND_PRODUCER
1 parent 66fa258 commit bdbb36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Instrumentation/Symfony/src/MessengerInstrumentation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static function register(): void
125125
$builder = $instrumentation
126126
->tracer()
127127
->spanBuilder(\sprintf('SEND %s', $messageClass))
128-
->setSpanKind(SpanKind::KIND_CONSUMER)
128+
->setSpanKind(SpanKind::KIND_PRODUCER)
129129
->setAttribute(TraceAttributes::CODE_FUNCTION, $function)
130130
->setAttribute(TraceAttributes::CODE_NAMESPACE, $class)
131131
->setAttribute(TraceAttributes::CODE_FILEPATH, $filename)

0 commit comments

Comments
 (0)