sravani-revuri opened a new pull request, #9980:
URL: https://github.com/apache/ozone/pull/9980

   ## What changes were proposed in this pull request?
   The tracing for the Freon ockg command is currently disjoint, without a 
clear parent-child hierarchy. Spans should be restructured to ensure the entire 
command is captured within a single trace.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-14884
   
   ## How was this patch tested?
   Tested through JaegerUI and existing testcases.
   
   ### **Only ockg command:**
   #### **Command:**
   ```
   ozone freon ockg -v vol1 -b bucket1 -t 1 -n 5 -s 1KB 
   ```
   
   #### **Output:**
   <img width="2554" height="266" alt="image" 
src="https://github.com/user-attachments/assets/237e4078-ba56-43a9-b6b9-5e2e658d0f2b";
 />
   
   ### **ockg command with span sampling:**
   #### **Command:**
   ```
   ozone freon ockg -v vol1 -b bucket1 -t 1 -n 5 -s 1KB 
   OTEL_SPAN_SAMPLING_ARG=createKey:0.5
   ```
   #### **Output:**
   <img width="1084" height="1538" alt="image" 
src="https://github.com/user-attachments/assets/81cd563d-e7fb-4fe7-a9e0-164db05fda85";
 />
   
   ### **ockg command with span and trace sampling:**
   #### **Command:**
   ```
   ozone freon ockg -v vol1 -b bucket1 -t 1 -n 5 -s 1KB 
   OTEL_TRACES_SAMPLER_ARG=0.5
   OTEL_SPAN_SAMPLING_ARG=createKey:0.5
   ```
   3 traces when command is run 6 times.
   #### **Output:**
   <img width="2566" height="1122" alt="image" 
src="https://github.com/user-attachments/assets/97d5e028-a495-4443-a517-7db0cd0f7744";
 />
   


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

Reply via email to