Hi Matthias, We have two options:
1. the first option is to add opentelemetry support in Karaf Decanter: https://issues.apache.org/jira/browse/KARAF-7011 This is a global approach allowing like Decanter is already able to do with Prometheus, etc. The opentelemetry context will be global and available as service. 2. You can add opentelemetry support in your bundles, that's not too complicated using Private-Package. In your case, I suspect that AgentContextStorage is in a different classloader than the probe themselves. If you have some code to share, I can take a look. Regards JB On Tue, Mar 15, 2022 at 1:36 PM Matthias Leinweber <[email protected]> wrote: > > Hello Karaf User, > > I also posted on the camel mailing list, but after some debugging I think it > could be a karaf issue. I try to get opentelemetry working to send camel > traces to tempo. > > Sending spans does work but parent spans are not working. It seems that when > I use the instrumentation agent, the spans are not found in > AgentContextStorage within the instrumatnation lib. It's quite hard to debug > this instrumentation stuff. > > Has anyone ever made this work before? > > best regards, > Matthias
