mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 11:52:08 +08:00
修复获取TopN的Broker指标时,会出现部分指标缺失的问题
This commit is contained in:
@@ -92,7 +92,7 @@ public class BrokerMetricESDAO extends BaseMetricESDAO {
|
|||||||
Table<String, Long, List<MetricPointVO>> table = HashBasedTable.create();
|
Table<String, Long, List<MetricPointVO>> table = HashBasedTable.create();
|
||||||
|
|
||||||
//2、查询指标
|
//2、查询指标
|
||||||
for(String metric : metricBrokerIds.keySet()){
|
for(String metric : metrics) {
|
||||||
table.putAll(
|
table.putAll(
|
||||||
this.listBrokerMetricsByBrokerIds(
|
this.listBrokerMetricsByBrokerIds(
|
||||||
clusterPhyId,
|
clusterPhyId,
|
||||||
|
|||||||
Reference in New Issue
Block a user