Hi Georgi If your email had screenshots attached, then I am afraid we cannot see them in the mailing list. Maybe you can share the details in some other way?
On Mon, Oct 17, 2022 at 1:05 PM POTZKOV Georgi (ICS460-BAI.ext) <georgi.potz...@spar-ics.com.invalid> wrote: > Hi, > > I am using spring boot + camel in the version: 3.14.2 with > camel-opentelemetry-starter and programmatic elastic apm-agent-attach: > 1.34.1. > > Configuration through the annotation @CamelOpenTelemetry. > Metrics, Transactions and spans all arrive in elastic but they are split > in a weird way see: > > > > When I open them one is filled with the routeIds and the other with the > network requests to the queue system or remote https requests. > > In the code I can target both spans like so: > > > > .process(exchange -> { > final Span current = Span.current(); > final SpanAdapter currentCamelSpan = > ActiveSpanManager.getSpan(exchange); > > current.setAttribute("JMS_RECEIVE_SPAN“, “Value”) > > currentCamelSpan.setTag(„CAMEL_SPAN“, „Value“) > > }) > > > > As you can see the JMS RECEIVE span is 1ms longer than the camel one so I > would expect that one to be the parent but they are shown as parallel. Am I > using it wrong is this a component bug or the intended way it is integrated? > > > > Regards, > > Georgi > > > > > > im Auftrag von: > > > > <https://www.spar-ics.com/> > > > *Georgi* *Potzkov* > > *Mobile:* > > +43 676 5602186 > > *E-Mail:* > > georgi.potz...@spar-ics.com > > > > > *SPAR Business Services GmbH *Information & Communication Services > Europastrasse 3, 5015 Salzburg, Austria > > > > > Sollten Sie diese E-Mail unbeabsichtigt bzw. irrtümlich erhalten haben, so > weisen wir Sie darauf hin, dass gemäß § 161 Abs 4 TKG 2021 der Inhalt sowie > die Tatsache des Empfangs dieser E-Mail weder aufgezeichnet noch verwertet > oder Unbefugten mitgeteilt werden dürfen. Wir ersuchen Sie, die Nachricht > von Ihrem System zu löschen und sich mit uns in Verbindung zu setzen. If > you have received this email accidentally or in error, we point out that, > in accordance with § 161 para. 4 TKG 2021 (Telecommunications Act), the > contents of this email and the fact of its receipt must not be recorded, > exploited or communicated to unauthorized persons. We ask you to delete the > message from your system and to contact us. > -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2