From 75539fb9080eeb30f7b71ecf09e8079cdc000a2d Mon Sep 17 00:00:00 2001 From: facetosea <25808407@qq.com> Date: Fri, 2 Feb 2024 14:16:28 +0800 Subject: [PATCH] fix: table name --- source/client/src/clientSqlMonitor.c | 2 +- source/client/src/slowQueryMonitor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/client/src/clientSqlMonitor.c b/source/client/src/clientSqlMonitor.c index 79a862275f..2f8aa1db5d 100644 --- a/source/client/src/clientSqlMonitor.c +++ b/source/client/src/clientSqlMonitor.c @@ -16,7 +16,7 @@ #include "clientMonitor.h" #include "clientLog.h" -const char* selectMonitorName = "select sql"; +const char* selectMonitorName = "taos_sql_req:count"; const char* selectMonitorHelp = "count for select sql"; const int selectMonitorLabelCount = 4; const char* selectMonitorLabels[] = {"cluster_id", "sql_type", "username", "result"}; diff --git a/source/client/src/slowQueryMonitor.c b/source/client/src/slowQueryMonitor.c index 8f6253007f..0818aaeae4 100644 --- a/source/client/src/slowQueryMonitor.c +++ b/source/client/src/slowQueryMonitor.c @@ -17,7 +17,7 @@ #include "clientLog.h" #include "tglobal.h" -const char* slowQueryName = "slow_query"; +const char* slowQueryName = "taos_slow_sql:count"; const char* slowQueryHelp = "slow query log when cost over than config duration"; const int slowQueryLabelCount = 4; const char* slowQueryLabels[] = {"cluster_id", "username", "result", "duration"};