Re: OpenTelemetry: SpanId and TraceId in logs missing Camel LTS

2025-02-05 Thread Mikael Koskinen
Hi Pasquale, Thank you for the quick response and sorry for missing the earlier discussion. I read through the documentation you linked and unfortunately had no luck setting this up. I'll try again but if someone has the time and energy to point out where I'm missing a step, it is appreciated: a

Re: OpenTelemetry: SpanId and TraceId in logs missing Camel LTS

2025-02-05 Thread Pasquale Congiusti
Hi Mikael, we discussed about it some times ago in the dev mailing list. The feature is deprecated as it is not working correctly due to the specific way each telemetry is implemented [1]. However you can always use the specific opentelemetry way to do that [2]. Cheers, Pasquale. [1] https://came

OpenTelemetry: SpanId and TraceId in logs missing Camel LTS

2025-02-05 Thread Mikael Koskinen
Hi, Enabling OpenTelemetry in Camel Main is straightforward, thanks to the good documentation on Camel JBang's page. I get telemetry, metrics and logs moving. But I have a problem with the logs that the OTEL Collector receives. The logs are missing trace and span ids. I have enabled mdc logging i