public void addSuccessCnt(int msgCnt, int packCnt, long packSize) {
            this.msgCnt.add(msgCnt);
            this.packCnt.add(packCnt);
            this.packSize.add(packSize);
        }
Add failure statistic

@param key  the statistic key
@param failCnt  the failure count
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/metrics/stats/MonitorIndex.java