public static RatisMetricsManager getInstance() {
    return RatisMetricsManagerHolder.INSTANCE;
  }
Record the time cost in write state machine stage.
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/ratis/metrics/RatisMetricsManager.java