SzyWilliam commented on code in PR #9797:
URL: https://github.com/apache/iotdb/pull/9797#discussion_r1189810909


##########
consensus/src/main/java/org/apache/iotdb/consensus/ratis/metrics/IoTDBMetricRegistry.java:
##########
@@ -74,6 +74,16 @@ public class IoTDBMetricRegistry implements 
RatisMetricRegistry {
   public static final String FOLLOWER_APPEND_ENTRIES_LATENCY = 
"follower_append_entry_latency";
   /** Time taken to process write requests from client. */
   public static final String RAFT_CLIENT_WRITE_REQUEST = "clientWriteRequest";
+  /** Applied index of state machine */
+  public static final String STATEMACHINE_APPLIED_INDEX_GAUGE = "appliedIndex";
+  /** Last log index which completely applied to the state machine */
+  public static final String STATEMACHINE_APPLY_COMPLETED_GAUGE = 
"applyCompletedIndex";
+  /** Next index of peer */

Review Comment:
   Is these metrics not used yet?



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