DomGarguilo commented on code in PR #6081:
URL: https://github.com/apache/accumulo/pull/6081#discussion_r2738116805


##########
core/src/main/java/org/apache/accumulo/core/metrics/Metric.java:
##########
@@ -303,7 +303,16 @@ public enum Metric {
       MetricDocSection.MANAGER),
   MANAGER_USER_TGW_ERRORS("accumulo.tabletmgmt.user.errors", MetricType.GAUGE,
       "Error count encountered by the TabletGroupWatcher for the USER data 
level.",
-      MetricDocSection.MANAGER);
+      MetricDocSection.MANAGER),
+
+  // Recovery Metrics
+  RECOVERIES_IN_PROGRESS("accumulo.recoveries.in.progress", MetricType.GAUGE,
+      "The number of recoveries in progress.", 
MetricDocSection.GENERAL_SERVER),
+  RECOVERIES_LONGEST_RUNTIME("accumulo.recoveries.runtime.longest", 
MetricType.GAUGE,
+      "The time (in milliseconds) of the longest running recovery.",
+      MetricDocSection.GENERAL_SERVER),
+  RECOVERIES_AVG_PROGRESS("accumulo.recoveries.avg.progress", MetricType.GAUGE,
+      "The averge progress of the in progress recoveries.", 
MetricDocSection.GENERAL_SERVER);

Review Comment:
   Maybe should mention the value represents a percent?



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

Reply via email to