gavinchou commented on code in PR #52882:
URL: https://github.com/apache/doris/pull/52882#discussion_r2194929943
##########
cloud/src/common/metric.cpp:
##########
@@ -134,6 +137,67 @@ static void export_fdb_status_details(const std::string&
status_str) {
DCHECK(node->value.IsDouble());
return static_cast<int64_t>(node->value.GetDouble() * NANOSECONDS);
};
+ auto get_process_metric = [&](std::string component) {
Review Comment:
make it testable with UT
--
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]