morningman commented on code in PR #43406:
URL: https://github.com/apache/doris/pull/43406#discussion_r1988626355
##########
be/src/runtime/runtime_query_statistics_mgr.cpp:
##########
@@ -491,21 +502,37 @@ void RuntimeQueryStatisticsMgr::get_metric_map(
std::string query_id, std::map<WorkloadMetricType, std::string>&
metric_map) {
QueryStatistics ret_qs;
int64_t query_time_ms = 0;
+ int64_t last_10s_cpu_time = 0;
+ int64_t last_20s_cpu_time = 0;
+ int64_t last_30s_cpu_time = 0;
Review Comment:
Can user customize the window size?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]