smitajoshi12 opened a new pull request, #4665:
URL: https://github.com/apache/ozone/pull/4665

   ## What changes were proposed in this pull request?
   Recon has an API endpoint to get container size distribution in Ozone. Add 
visualisation in Recon UI for this using histograms.
   We will have to add another box that will display the percentages
    Example
       {      
        "containerSize": 1024,       
         "count": 2     
       },
       {
         "containerSize": 16384,
         "count": 3
       },
       {
         "containerSize": 2097152,
         "count": 4
       },
       {
         "containerSize": 11270,
         "count": 5
       }
   
   Total Count ➖ 2+3+4+5 = *14 Total Containers*
   Percentage of Containers having upperbound 1024 = 2/14 *100 = 14.28%
   Percentage of Containers having upperbound 16384 = 3/14 *100 = 21.42%
   Percentage of Containers having upperbound 2097152 = 4/14 *100 = 28.5%
   Percentage of Containers having upperbound 11270 = 5/14 *100 = 35.7%
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-7812
   
   ## How was this patch tested?
   Manually
   
![image](https://user-images.githubusercontent.com/112169209/236488950-4be58c98-22a2-49d7-963b-998c7abb25db.png)
   


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