wangbo commented on code in PR #46200: URL: https://github.com/apache/doris/pull/46200#discussion_r1900368446
########## be/src/runtime/workload_group/workload_group_metrics.cpp: ########## @@ -32,7 +34,7 @@ WorkloadGroupMetrics::~WorkloadGroupMetrics() { WorkloadGroupMetrics::WorkloadGroupMetrics(WorkloadGroup* wg) { _entity = DorisMetrics::instance()->metric_registry()->register_entity( - "workload_group." + wg->name(), {{"name", wg->name()}}); + "workload_group." + std::to_string(wg->id()), {{"workload_group", wg->name()}}); Review Comment: 展示的是看后边的label,id这个算是key,不展示 -- 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