This is an automated email from the ASF dual-hosted git repository.
spricoder pushed a commit to branch feature/memory_zhy
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/feature/memory_zhy by this
push:
new 01e40ce450d add left from stage
01e40ce450d is described below
commit 01e40ce450d2936c66a092356733678774268191
Author: spricoder <[email protected]>
AuthorDate: Wed Sep 25 22:25:14 2024 +0800
add left from stage
---
.../apache/iotdb/db/schemaengine/metric/SchemaEngineMemMetric.java | 4 ++++
.../org/apache/iotdb/db/storageengine/rescon/memory/SystemInfo.java | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/metric/SchemaEngineMemMetric.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/metric/SchemaEngineMemMetric.java
index 37df62ff2b0..0dec23943dc 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/metric/SchemaEngineMemMetric.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/metric/SchemaEngineMemMetric.java
@@ -81,6 +81,8 @@ public class SchemaEngineMemMetric implements
ISchemaEngineMetric {
"SchemaEngine",
Tag.TYPE.toString(),
"actual",
+ Tag.FROM.toString(),
+ "other",
Tag.MODULE.toString(),
"schema");
metricService.createAutoGauge(
@@ -100,6 +102,8 @@ public class SchemaEngineMemMetric implements
ISchemaEngineMetric {
"SchemaEngine",
Tag.TYPE.toString(),
"threshold",
+ Tag.FROM.toString(),
+ "cache",
Tag.MODULE.toString(),
"schema");
metricService.createAutoGauge(
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/memory/SystemInfo.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/memory/SystemInfo.java
index b8feebe5a10..76d56aea7a4 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/memory/SystemInfo.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/memory/SystemInfo.java
@@ -485,7 +485,7 @@ public class SystemInfo {
Tag.FROM.toString(),
"compaction",
Tag.MODULE.toString(),
- "storage-compaction")
+ "storage")
.set(memorySizeForCompaction);
MetricService.getInstance()
.createAutoGauge(