未验证 提交 e42478c9 编写于 作者: L liuminghui233 提交者: GitHub

Fix typo in query metric (#8684)

上级 a18cc5cb
......@@ -178,7 +178,7 @@ public class DataExchangeMetricSet implements IMetricSet {
metricService.getOrCreateTimer(
metricInfo.getName(), MetricLevel.IMPORTANT, metricInfo.getTagsInArray());
}
metricService.getOrCreateRate(
metricService.getOrCreateHistogram(
Metric.DATA_EXCHANGE_COUNT.toString(),
MetricLevel.IMPORTANT,
Tag.NAME.toString(),
......@@ -190,6 +190,6 @@ public class DataExchangeMetricSet implements IMetricSet {
for (MetricInfo metricInfo : metricInfoMap.values()) {
metricService.remove(MetricType.TIMER, metric, metricInfo.getTagsInArray());
}
metricService.remove(MetricType.RATE, metric, Tag.NAME.toString(), GET_DATA_BLOCK_NUM);
metricService.remove(MetricType.HISTOGRAM, metric, Tag.NAME.toString(), GET_DATA_BLOCK_NUM);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册