From 3e46678b02ec618775dbe71659d49010bd3f143f Mon Sep 17 00:00:00 2001 From: Richard Chukwu Date: Thu, 17 Oct 2024 11:43:18 +0100 Subject: [PATCH] error fix --- src/Instrumentation/Symfony/src/MessengerInstrumentation.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Instrumentation/Symfony/src/MessengerInstrumentation.php b/src/Instrumentation/Symfony/src/MessengerInstrumentation.php index 854b329e..2798e49f 100644 --- a/src/Instrumentation/Symfony/src/MessengerInstrumentation.php +++ b/src/Instrumentation/Symfony/src/MessengerInstrumentation.php @@ -56,13 +56,8 @@ public static function register(): void // Instrument dispatch as a "send" operation with SpanKind::KIND_PRODUCER $builder = $instrumentation ->tracer() -<<<<<<< HEAD ->spanBuilder(\sprintf('publish %s', $messageClass)) ->setSpanKind(SpanKind::KIND_PRODUCER) // Set KIND_PRODUCER for dispatch -======= - ->spanBuilder(\sprintf('DISPATCH %s', $messageClass)) - ->setSpanKind(SpanKind::KIND_PRODUCER) ->>>>>>> 78a04cebaeba48d60a00dc1c48653695b926299d ->setAttribute(TraceAttributes::CODE_FUNCTION, $function) ->setAttribute(TraceAttributes::CODE_NAMESPACE, $class) ->setAttribute(TraceAttributes::CODE_FILEPATH, $filename)