jam01 commented on pull request #4044:
URL: https://github.com/apache/camel/pull/4044#issuecomment-664050224


   Hmm you know I think there is one minor change I'd like to 
propose/reintroduce. In scenario 3, do create a Span but only add a server tag 
if it's not an internal endpoint.
   
   With scenario 2 someone was deliberate enough to fwd the headers, so it 
feels ok to assume they want camel to appear as the inter process handler.
   
   With scenario 3, we can't make the same assumption. I imagine a scenario 
where an application dev is using any non-camel http server, has a server Span 
created but forgets to activate it on the exchange before delegating to camel 
for a response. We'll end up with 2 independent traces regardless, but if we 
add a server tag then we have 2 server spans for what's really a single service 
execution.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to