public void getStatusInfo(StringBuilder strBuff, boolean resetValue) {
            strBuff.append("\"status_details\":{\"");
            if (resetValue) {
                strBuff.append(regMasterCnt.getFullName()).append("\":")
                        .append(regMasterCnt.getAndResetValue())
                        .append(",\"").append(regMasterFailCnt.getFullName()).append("\":")
                        .append(regMasterFailCnt.getAndResetValue())
                        .append(",\"").append(regMasterTimoutCnt.getFullName()).append("\":")
                        .append(regMasterTimoutCnt.getAndResetValue())
                        .append(",\"").append(hbMasterExcCnt.getFullName()).append("\":")
                        .append(hbMasterExcCnt.getAndResetValue())
                        .append(",\"").append(regBrokerCnt.getFullName()).append("\":")
                        .append(regBrokerCnt.getAndResetValue())
                        .append(",\"").append(regBrokerFailCnt.getFullName()).append("\":")
                        .append(regBrokerFailCnt.getAndResetValue())
                        .append(",\"").append(regBrokerTimoutCnt.getFullName()).append("\":")
                        .append(regBrokerTimoutCnt.getAndResetValue())
                        .append(",\"").append(hbBrokerExcCnt.getFullName()).append("\":")
                        .append(hbBrokerExcCnt.getAndResetValue())
                        .append("}");
            } else {
                strBuff.append(regMasterCnt.getFullName()).append("\":")
                        .append(regMasterCnt.getValue())
                        .append(",\"").append(regMasterFailCnt.getFullName()).append("\":")
                        .append(regMasterFailCnt.getValue())
                        .append(",\"").append(regMasterTimoutCnt.getFullName()).append("\":")
                        .append(regMasterTimoutCnt.getValue())
                        .append(",\"").append(hbMasterExcCnt.getFullName()).append("\":")
                        .append(hbMasterExcCnt.getValue())
                        .append(",\"").append(regBrokerCnt.getFullName()).append("\":")
                        .append(regBrokerCnt.getValue())
                        .append(",\"").append(regBrokerFailCnt.getFullName()).append("\":")
                        .append(regBrokerFailCnt.getValue())
                        .append(",\"").append(regBrokerTimoutCnt.getFullName()).append("\":")
                        .append(regBrokerTimoutCnt.getValue())
                        .append(",\"").append(hbBrokerExcCnt.getFullName()).append("\":")
                        .append(hbBrokerExcCnt.getValue())
                        .append("}");
            }
        }
Get running status statistics

@param strBuff      string buffer
@param resetValue   whether to reset the current data
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/common/ClientStatsInfo.java