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:

[cid:[email protected]]
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:

[cid:[email protected]]<https://www.spar-ics.com/>

Georgi Potzkov
<http://>
Mobile:
+43 676 5602186
E-Mail:
[email protected]<mailto:[email protected]>

SPAR Business Services GmbH
Information & Communication Services
Europastrasse 3, 5015 Salzburg, Austria
<http://>
[cid:[email protected]]

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.

Reply via email to