修复获取TopN的Broker指标时,会出现部分指标缺失的问题

This commit is contained in:
zengqiao
2022-10-11 16:54:39 +08:00
committed by EricZeng
parent 12ebc32cec
commit 50482c40d5

View File

@@ -92,7 +92,7 @@ public class BrokerMetricESDAO extends BaseMetricESDAO {
Table<String, Long, List<MetricPointVO>> table = HashBasedTable.create();
//2、查询指标
for(String metric : metricBrokerIds.keySet()){
for(String metric : metrics) {
table.putAll(
this.listBrokerMetricsByBrokerIds(
clusterPhyId,