This is an automated email from the ASF dual-hosted git repository.
hui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new e42478c9b9 Fix typo in query metric (#8684)
e42478c9b9 is described below
commit e42478c9b99e77aefc17d8fb77b00c3deff9085b
Author: liuminghui233 <[email protected]>
AuthorDate: Tue Jan 3 16:45:51 2023 +0800
Fix typo in query metric (#8684)
---
.../java/org/apache/iotdb/db/mpp/metric/DataExchangeMetricSet.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/server/src/main/java/org/apache/iotdb/db/mpp/metric/DataExchangeMetricSet.java
b/server/src/main/java/org/apache/iotdb/db/mpp/metric/DataExchangeMetricSet.java
index 20340b3ada..004b640d71 100644
---
a/server/src/main/java/org/apache/iotdb/db/mpp/metric/DataExchangeMetricSet.java
+++
b/server/src/main/java/org/apache/iotdb/db/mpp/metric/DataExchangeMetricSet.java
@@ -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);
}
}