SaketaChalamchala commented on code in PR #8655:
URL: https://github.com/apache/ozone/pull/8655#discussion_r2245732050
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/DeletingServiceMetrics.java:
##########
@@ -160,6 +201,92 @@ public void incrNumRenameEntriesPurged(long
renameEntriesPurged) {
this.numRenameEntriesPurged.incr(renameEntriesPurged);
}
+ public void setKdsLastRunTimestamp(long timestamp) {
+ this.kdsLastRunTimestamp.set(timestamp);
+ }
+
+ public void setKdsCurRunTimestamp(long timestamp) {
+ this.kdsCurRunTimestamp.set(timestamp);
+ }
+
+ private void resetMetrics() {
Review Comment:
We already collect deletion metrics since OM uptime. The thought was on OM
UI it showing the progress of deletion over the last 24h would be more
interesting for someone who has performed a delete and wants to track how the
delete is proceeding.
--
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]