diff --git a/src/plugins/monitor/src/monMain.c b/src/plugins/monitor/src/monMain.c index b207982bf3af167913a0d65b3329b04c15a0f3dd..045de8e385a884da1b8d8ab7c8ff50fce7f2d9ef 100644 --- a/src/plugins/monitor/src/monMain.c +++ b/src/plugins/monitor/src/monMain.c @@ -699,7 +699,7 @@ static int32_t monBuildNetworkIOSql(char *sql) { return sprintf(sql, ", %f, %f", netInKb, netOutKb); } -static int32_t monBuildReqRateSql(char *sql) { +static int32_t monBuildDnodeReqRateSql(char *sql) { SStatisInfo info = dnodeGetStatisInfo(); float interval = tsMonitorInterval * 1.0; float httpReqRate = info.httpReqNum / interval; @@ -837,7 +837,7 @@ static void monSaveDnodesInfo() { pos += monBuildDnodeDiskSql(sql + pos); pos += monBuildNetworkIOSql(sql + pos); pos += monBuildIoSql(sql + pos); - pos += monBuildReqRateSql(sql + pos); + pos += monBuildDnodeReqRateSql(sql + pos); pos += monBuildDnodeErrorsSql(sql + pos); pos += monBuildDnodeVnodesSql(sql + pos); pos += monBuildDnodeMnodeSql(sql + pos);