llowinge opened a new issue, #8279:
URL: https://github.com/apache/camel-quarkus/issues/8279

   ### Bug description
   
   Having JAX-RS endpoint as follows:
   
   ```
   @Path("/trace")
       @GET
       @Produces(MediaType.TEXT_PLAIN)
       public String traceRoute() {
           return producerTemplate.requestBody("direct:start", null, 
String.class);
       }
   ```
   
   and Camel route:
   
   ```
               from("direct:start")
                       .setBody().constant("Traced direct:start");
   ```
   
   leads to different SpanKind comparing camel-quarkus-opentelemetry and 
camel-quarkus-opentelemetry2.
   
   camel-quarkus-opentelemetry:
   `SPAN_KIND_SERVER -> SPAN_KIND_CLIENT -> SPAN_KIND_INTERNAL`
   
   camel-quarkus-opentelemetry2:
   `SPAN_KIND_SERVER -> SPAN_KIND_INTERNAL -> SPAN_KIND_INTERNAL`
   
   It seems that camel-quarkus-opentelemetry2 is missing implementation like 
https://github.com/apache/camel/blob/a503e39121777ce058cd7310c4410aba43644394/components/camel-opentelemetry/src/main/java/org/apache/camel/opentelemetry/OpenTelemetryTracer.java#L109-L122
 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to