wangbo commented on code in PR #46640: URL: https://github.com/apache/doris/pull/46640#discussion_r1908115559
########## be/src/runtime/workload_group/workload_group_metrics.cpp: ########## @@ -36,35 +43,23 @@ WorkloadGroupMetrics::WorkloadGroupMetrics(WorkloadGroup* wg) { _entity = DorisMetrics::instance()->metric_registry()->register_entity( "workload_group." + std::to_string(wg->id()), {{"workload_group", wg->name()}}); Review Comment: id每次是自增额度,不会重复 -- 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