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

   ## What changes were proposed in this pull request?
   HDDS-12330. Convert Volume, Bucket and Key count to the nearest word
   
   Please describe your PR in detail:
   Currently in the Recon overview page the metrics for Keys, Buckets and 
Volumes are given as plain numbers. This causes issues while trying to read the 
value.
   This PR adds commas to the number at every thousandth place making it easier 
to read in the UI
   
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-12330
   
   ## How was this patch tested?
   Patch was tested manually.
   For the API response:
   ```
   {
       "pipelines": 32,
       "totalDatanodes": 24,
       "healthyDatanodes": 24,
       "storageReport": {
         "capacity": 202114732032,
         "used": 4667099648,
         "remaining": 182447632384,
         "committed": 12000222315
       },
       "containers": 3230,
       "missingContainers": 1002,
       "openContainers": 5,
       "deletedContainers": 4,
       "volumes": 5,
       "buckets": 1569,
       "keys": 253123,
       "keysPendingDeletion": 1000,
       "scmServiceId": "scmservice",
       "omServiceId": "omservice"
     }
     ```
     Overview Page UI:
   
   <img width="1524" alt="Screenshot 2025-02-14 at 21 23 32" 
src="https://github.com/user-attachments/assets/260122a9-c622-460f-b790-83387308fd61";
 />
     


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