Skip to content

Commit 1b9a446

Browse files
authored
Pipe: Delete the extra tags created by the PipeWALInsertNodeCacheMetrics (apache#15761)
1 parent ecdf0d7 commit 1b9a446

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/metric/overview/PipeWALInsertNodeCacheMetrics.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
package org.apache.iotdb.db.pipe.metric.overview;
2121

2222
import org.apache.iotdb.commons.service.metric.enums.Metric;
23-
import org.apache.iotdb.commons.service.metric.enums.Tag;
2423
import org.apache.iotdb.db.storageengine.dataregion.wal.utils.WALInsertNodeCache;
2524
import org.apache.iotdb.metrics.AbstractMetricService;
2625
import org.apache.iotdb.metrics.metricsets.IMetricSet;
@@ -52,8 +51,7 @@ public void bindTo(AbstractMetricService metricService) {
5251
Metric.PIPE_WAL_INSERT_NODE_CACHE_REQUEST_COUNT.toString(),
5352
MetricLevel.IMPORTANT,
5453
WALInsertNodeCache.getInstance(),
55-
WALInsertNodeCache::getCacheRequestCount,
56-
Tag.REGION.toString());
54+
WALInsertNodeCache::getCacheRequestCount);
5755
}
5856

5957
@Override

0 commit comments

Comments
 (0)