wmedvede commented on PR #4094: URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4094#issuecomment-3656905488
Hi @gabriel-farache , I could finally rebuild all locally with the latest chagnes, and now I can see traces I Jaeger. But I see the following that doesen't look to be ok. I have exected one instance of the `greet` workflow with the follwing results: **1-)** Three sonataflow traces are produced. (I'm not worring about the entry trace "POST / greet" <img width="1920" height="301" alt="01-trace-greet" src="https://github.com/user-attachments/assets/618e9387-efa3-4978-88a5-3f6c62c64f08" /> **2-)** In SF Trace1 (see next image), we can see that: 2.1) The timeout for the process.instance.started event/log is after the timeout for the node.started event/log 2.2) We can see also log.message event with saying that: "Context in storage not the expected context, Scope.close was not called correctly. Details: OTel context before: {spanId=da631a1e1879c5b8, traceId=2bb8ab9c81cac26dbe7596f4c6e21484, sampled=true, parentId=a705615a9337e0f3}. OTel context toAttach: {spanId=2f575442d6c4216b, traceId=2bb8ab9c81cac26dbe7596f4c6e21484, sampled=true, parentId=db22593220083e93}" Does it make sense? <img width="1910" height="613" alt="02-trace-greet" src="https://github.com/user-attachments/assets/7641312f-d181-4457-8e4a-c7fa5a67ae9f" /> **3-)** In SF Trace2 (see next image), we can see that: A node.started event/log was created. OK this makes sense follwoing the WF. <img width="1881" height="332" alt="03-trace-greet" src="https://github.com/user-attachments/assets/6410b941-4455-4379-a62c-df2347adbd9c" /> **4-)** In SF Trace3 (see next image), we can see that: 4.1) a new node.started event/log is produced. ok 4.2) a process.instance.complete event/log is produced. ok however, no `node.completed` event/log is produced along the execution. 4.3) we can see also the log.message event/log saying that: "Context in storage not the expected context, Scope.close was not called correctly. Details: OTel context before: {spanId=2f575442d6c4216b, traceId=2bb8ab9c81cac26dbe7596f4c6e21484, sampled=true, parentId=db22593220083e93}. OTel context toAttach: {spanId=db22593220083e93, traceId=2bb8ab9c81cac26dbe7596f4c6e21484, sampled=true, parentId=da631a1e1879c5b8}" Does it make sense? <img width="1865" height="382" alt="04-trace-greet" src="https://github.com/user-attachments/assets/581cdf2e-519f-4c8b-bf3f-aa0053bac7dd" /> -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
