priyeshkaratha commented on PR #8755:
URL: https://github.com/apache/ozone/pull/8755#issuecomment-3087541198

   @errose28 
   Thank you for raising this valid point regarding the use of SCM for exposing 
pending delete information.
   
   Our main goal here is to build a dashboard in Recon to show storage usage 
distribution across the cluster. Recon already uses StorageReport for other 
usage stats, so we thought it would be a good idea to extend it to include 
pending deletion info as well, keeping everything in one place.
   
   We considered using Prometheus metrics, but based on my understanding. In 
ozone services these values might reset from beginning and become inaccurate in 
case of service restarts. This can lead to wrong conclusions in the dashboard. 
By passing the data through SCM to Recon, we can ensure more reliable and 
consistent reporting, even after restarts.
   
   Also  I think to avoid dependency on Prometheus service running in this case 
(most customers do not have it set up when they hit issues related to deletion 
or anything related to space reclamation).


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