dlmarion commented on PR #6010:
URL: https://github.com/apache/accumulo/pull/6010#issuecomment-3656866673

   > > How is the traceId created? Is it something created by OpenTelemetry, or 
is it something that we create? I created #2956 a while back in an effort to 
help users correlate scan information across the servers. Allowing the client 
to set the id, and then using that id in the log messages and traces could help 
users single out issues or performance information for a single scan.
   > 
   > Seems like when a new span is created and there is no active trace on the 
thread that opentelemetry will create a new random trace id. That trace id can 
be retrieved from the span. If a user create a spans on the client side that 
wraps their scan then that trace id will be available to anything server side 
that creates a span and ask for the trace id.
   
   Ok, so a client application that also uses OpenTelemetry could start a span 
before calling the Accumulo client. The span will have a random generated trace 
id, but they could set an attribute on the span that they create with 
information from their application that will help them identify the thread of 
execution on the server side. I looked at one resource that says Jaeger "Tags" 
in their UI map to the OpenTelemetry attributes.
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to