提交 060ca48c 编写于 作者: G Ganlin Zhao

remove functionality to get rid of insert reqcount by monitor itself

上级 26a001bb
......@@ -892,10 +892,10 @@ static int32_t monBuildNetworkIOSql(char *sql) {
static int32_t monBuildDnodeReqSql(char *sql) {
int32_t queryReqNum = tsMonStat.dInfo.queryReqNum - tsMonStat.monQueryReqCnt;
int32_t submitReqNum = tsMonStat.dInfo.submitReqNum - tsMonStat.monSubmitReqCnt;
int32_t submitRowNum = tsMonStat.vInfo.submitRowNum - tsMonStat.monSubmitReqCnt;
int32_t submitReqSucNum = tsMonStat.vInfo.submitReqSucNum - tsMonStat.monSubmitReqCnt;
int32_t submitRowSucNum = tsMonStat.vInfo.submitRowSucNum - tsMonStat.monSubmitReqCnt;
int32_t submitReqNum = tsMonStat.dInfo.submitReqNum;
int32_t submitRowNum = tsMonStat.vInfo.submitRowNum;
int32_t submitReqSucNum = tsMonStat.vInfo.submitReqSucNum;
int32_t submitRowSucNum = tsMonStat.vInfo.submitRowSucNum;
float interval = (float)(tsMonitorInterval * 1.0);
float httpReqRate = tsMonStat.dInfo.httpReqNum / interval;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册