sravani-revuri opened a new pull request, #9908: URL: https://github.com/apache/ozone/pull/9908
## What changes were proposed in this pull request? The tracing for the put key command is currently fragmented. Instead of one continuous trace with multiple spans, each function call opens a new trace as a separate root. Proposed Changes The goal is to ensure all actions belong to the same trace using a parent-child hierarchy. Modify TracingUtil to check for an existing trace context before creating a new span: - If a trace is already active, the new function call should join it as a span (child). - If no trace is active, it should start the initial trace (parent). ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-14765 (Please replace this section with the link to the Apache JIRA) Tested with Jaeger UI using Docker. <img width="500" height="500" alt="image" src="https://github.com/user-attachments/assets/6d591ef3-5149-464f-b40a-3e6c4dad9c0a" /> -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
