Re: Trace steps in the route with open tracing

2021-07-07 Thread James Netherton
I think it can work if you pass the active span initiated by Camel to the bean methods. For example: public class Bean1 { @Traced public void methodA(Span span) { // Do something } } Then in the Camel route: from("direct:start) .process(e -> { OpenTracingSpa

Trace steps in the route with open tracing

2021-07-06 Thread Dennis Holunder
Hello, I have some @ApplicationScoped and @Traced Beans which methods are called from the camel route (camel-quarkus). The traces are sent to jaeger, but they don't have a common parent span. How can I start a span for an exchange, so that all subsequent calls to the beans would have the same pare