You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by sp...@apache.org on 2023/04/17 06:38:58 UTC

[iotdb] branch master updated: [IOTDB-5762][Metric] add do nothing level(#9615)

This is an automated email from the ASF dual-hosted git repository.

spricoder 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 935b5106ed [IOTDB-5762][Metric] add do nothing level(#9615)
935b5106ed is described below

commit 935b5106ed1dbbc0641eace92e499120b07a684a
Author: ZhangHongYin <46...@users.noreply.github.com>
AuthorDate: Mon Apr 17 14:38:52 2023 +0800

    [IOTDB-5762][Metric] add do nothing level(#9615)
---
 .../src/main/java/org/apache/iotdb/metrics/utils/MetricLevel.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/metrics/interface/src/main/java/org/apache/iotdb/metrics/utils/MetricLevel.java b/metrics/interface/src/main/java/org/apache/iotdb/metrics/utils/MetricLevel.java
index 428eb866d9..70bd3aca4a 100644
--- a/metrics/interface/src/main/java/org/apache/iotdb/metrics/utils/MetricLevel.java
+++ b/metrics/interface/src/main/java/org/apache/iotdb/metrics/utils/MetricLevel.java
@@ -23,7 +23,8 @@ public enum MetricLevel {
   ALL(0),
   NORMAL(1),
   IMPORTANT(2),
-  CORE(3);
+  CORE(3),
+  DO_NOTHING(4);
 
   /** Level of metric service. */
   final int level;