Skip to content

Commit

Permalink
Send instrumentation updated to KIND_PRODUCER
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardChukwu authored Oct 15, 2024
1 parent 66fa258 commit bdbb36f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public static function register(): void
$builder = $instrumentation
->tracer()
->spanBuilder(\sprintf('SEND %s', $messageClass))
->setSpanKind(SpanKind::KIND_CONSUMER)
->setSpanKind(SpanKind::KIND_PRODUCER)
->setAttribute(TraceAttributes::CODE_FUNCTION, $function)
->setAttribute(TraceAttributes::CODE_NAMESPACE, $class)
->setAttribute(TraceAttributes::CODE_FILEPATH, $filename)
Expand Down

0 comments on commit bdbb36f

Please sign in to comment.