smengcl commented on code in PR #3784:
URL: https://github.com/apache/ozone/pull/3784#discussion_r1025882801
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMMetrics.java:
##########
@@ -430,6 +432,13 @@ public void incNumSnapshotCreateFails() {
numSnapshotCreateFails.incr();
}
+ public void incNumSnapshotLists() {
+ numSnapshotLists.incr();
+ }
+
+ public void incNumSnapshotListFails() {
+ numSnapshotListFails.incr();
+ }
Review Comment:
Not related to this jira. But this reminded me that we probably want to
expose the number of active/inactive snapshots here as well at some point?
cc @neils-dev @GeorgeJahad
I filed HDDS-7506 to track this item.
--
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]