smengcl commented on code in PR #9788:
URL: https://github.com/apache/ozone/pull/9788#discussion_r2825324598


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmSnapshotInternalMetrics.java:
##########
@@ -51,6 +51,28 @@ public class OmSnapshotInternalMetrics {
   @Metric("Total no. of snapshot move table keys failures")
   private MutableCounterLong numSnapshotMoveTableKeysFails;
 
+  /*
+   * Snapshot defragmentation metrics since last restart.
+   */
+  @Metric("Total no. of snapshot defragmentation operations (full and 
incremental)")
+  private MutableCounterLong numSnapshotDefrag;
+  @Metric("Total no. of snapshot defragmentation failures (full and 
incremental)")
+  private MutableCounterLong numSnapshotDefragFails;

Review Comment:
   done



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