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: [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]