brianmolinaspring commented on issue #5761:
URL: https://github.com/apache/camel-quarkus/issues/5761#issuecomment-1948709275

   @jamesnetherton  You can clone the quarkus camel example that they put in 
the documentation.
   
   git clone https://github.com/apache/camel-quarkus-examples.git
   
   
   $ cp -r camel-quarkus-examples/rest-json .
   $ cd rest-json
   
   and add this to the pom
   
         <dependency>
               <groupId>org.apache.camel.quarkus</groupId>
               <artifactId>camel-quarkus-opentelemetry</artifactId>
           </dependency>
   
   
   and properties
   
   quarkus.application.name=test-fruist
   quarkus.opentelemetry.enabled=true
   quarkus.opentelemetry.tracer.exporter.otlp.endpoint=http://192.168.1.1:4317
   
   if we try through the browser
   
   http://localhost:8080/fruits
   
   we can see the warning in the logs
   
   2024-02-16 10:46:39,588 WARN  [io.qua.ope.run.QuarkusContextStorage] 
(vert.x-worker-thread-1) Context in storage not the expected context, 
Scope.close was not called correctly. Details: OTel context before: 
{spanId=3cd2ab2cf982a2ff, traceId=5117cbcdac3588c36ff01e5b4f704873, 
sampled=true}. OTel context toAttach: {spanId=781147065bf56c38, 
traceId=5117cbcdac3588c36ff01e5b4f704873, sampled=true, 
parentId=3cd2ab2cf982a2ff}
   
   It's okay like that ? Would you help me with that?


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to