提交 541719ac 编写于 作者: G Ganlin Zhao

[TD-6452]<feature>: taoskeeper add request metrics

上级 d2aa6593
......@@ -704,10 +704,10 @@ static int32_t monBuildDnodeReqRateSql(char *sql) {
float httpReqRate = info.httpReqNum / interval;
float queryReqRate = info.queryReqNum / interval;
float submitReqRate = info.submitReqNum / interval;
dnodeClearStatisInfo();
return sprintf(sql, ", %d, %f, %d, %f, %d, %f", info.httpReqNum, httpReqRate,
info.queryReqNum - monFetchQueryReqCnt(), queryReqRate,
info.submitReqNum - monFetchSubmitReqCnt(), submitReqRate);
dnodeClearStatisInfo();
}
static int32_t monBuildDnodeErrorsSql(char *sql) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册