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

[iotdb] branch rel/1.1 updated: [IOTDB-5762][Metric] add do nothing level(#9615) (#9632)

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

tanxinyu pushed a commit to branch rel/1.1
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/1.1 by this push:
     new e68572aec1 [IOTDB-5762][Metric] add do nothing level(#9615) (#9632)
e68572aec1 is described below

commit e68572aec11649c23c33f0d876af0a5aa522b48c
Author: ZhangHongYin <46...@users.noreply.github.com>
AuthorDate: Thu Apr 20 14:19:44 2023 +0800

    [IOTDB-5762][Metric] add do nothing level(#9615) (#9632)
    
    (cherry picked from commit 935b5106ed1dbbc0641eace92e499120b07a684a)
---
 .../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;