Sravani Revuri created HDDS-14765:
-------------------------------------

             Summary: Improve Trace Hierarchy for Ozone Shell "Put Key" Command
                 Key: HDDS-14765
                 URL: https://issues.apache.org/jira/browse/HDDS-14765
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Sravani Revuri
            Assignee: Sravani Revuri


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to