zhiqiang-hhhh commented on code in PR #34720:
URL: https://github.com/apache/doris/pull/34720#discussion_r1597435745


##########
be/src/runtime/runtime_query_statistics_mgr.cpp:
##########
@@ -106,6 +106,14 @@ TReportExecStatusParams 
RuntimeQueryStatiticsMgr::create_report_exec_status_para
                 fragment_id_to_profile,
         const std::vector<std::shared_ptr<TRuntimeProfileTree>>& 
load_channel_profiles,
         bool is_done) {
+    RuntimeProfile::Counter timer {TUnit::TIME_NS};
+    Defer _print_log([&]() {
+        LOG_INFO("Create report exec status params cost {}",

Review Comment:
   `LOG_WARNING` if we meet some threshold



##########
be/src/service/backend_service.cpp:
##########
@@ -1171,6 +1173,15 @@ void 
BaseBackendService::get_realtime_exec_status(TGetRealtimeExecStatusResponse
     }
 
     LOG_INFO("Getting realtime exec status of query {}", print_id(request.id));
+    RuntimeProfile::Counter get_realtime_timer {TUnit::TIME_NS};
+
+    Defer _print_log([&]() {
+        LOG_INFO("Getting realtime exec status cost {}",

Review Comment:
   `LOG_WARNING` if we meet some threshold



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to