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

   ## What changes were proposed?
   
   Deleting keys caused a false spike in the Key Creation Rate dashboard.
   
   This PR:
   - Changes total counts in OMMetrics to gauges because they can increase or 
decrease.
   - Changes the dashboard query from `rate()` to `deriv()` and renames the 
panel to Key Count Change Rate.
   - Fixes `setNumFiles()` updating the directory count instead of the file 
count.
   
   Metric names stay the same.
   
   ## JIRA
   
   https://issues.apache.org/jira/browse/HDDS-16611
   
   ## How was this patch tested?
   
   - Added a unit test for total counts and the `setNumFiles()` fix.
   - Updated integration tests to check totals as gauges.
   - Compose cluster: wrote 4000 keys, then deleted 2000.
   
   CI:
   https://github.com/chihsuan/ozone/actions/runs/37177485726
   
   Generated-by: Claude Code (Claude Opus 5.5)
   


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