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

qiaojialin 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 823bddf1d0 [IOTDB-3532][metric] Fix some problem in grafana dashboard 
and add doc. (#6467)
823bddf1d0 is described below

commit 823bddf1d021d8aaf2a62d85e05a55ec01807da1
Author: ZhangHongYin <[email protected]>
AuthorDate: Mon Jun 27 22:58:07 2022 +0800

    [IOTDB-3532][metric] Fix some problem in grafana dashboard and add doc. 
(#6467)
---
 docs/UserGuide/Maintenance-Tools/Metric-Tool.md    | 73 +++++++++++++++++-
 docs/zh/UserGuide/Maintenance-Tools/Metric-Tool.md | 72 ++++++++++++++++-
 .../Apache IoTDB ConfigNode Dashboard v0.14.0.json | 89 +++++++++++-----------
 .../Apache IoTDB DataNode Dashboard v0.14.0.json   | 52 ++++++-------
 .../standalone/Apache IoTDB Dashboard v0.14.0.json | 48 +++++-------
 5 files changed, 226 insertions(+), 108 deletions(-)

diff --git a/docs/UserGuide/Maintenance-Tools/Metric-Tool.md 
b/docs/UserGuide/Maintenance-Tools/Metric-Tool.md
index 8a8385aa37..31247c3a35 100644
--- a/docs/UserGuide/Maintenance-Tools/Metric-Tool.md
+++ b/docs/UserGuide/Maintenance-Tools/Metric-Tool.md
@@ -361,9 +361,78 @@ We provide the Apache IoTDB Dashboard, and the rendering 
shown in Grafana is as
 
 ![Apache IoTDB 
Dashboard](https://github.com/apache/iotdb-bin-resources/blob/main/docs/UserGuide/System%20Tools/Metrics/dashboard.png)
 
-How to get Apache IoTDB Dashboard:
+#### 5.3.1. How to get Apache IoTDB Dashboard
 
 1. You can obtain the json files of Dashboards corresponding to different 
iotdb versions in the grafana-metrics-example folder.
 2. You can visit [Grafana Dashboard official 
website](https://grafana.com/grafana/dashboards/), search for `Apache IoTDB 
Dashboard` and use
 
-When creating Grafana, you can select the json file you just downloaded to 
`Import` and select the corresponding target data source for Apache IoTDB 
Dashboard.
\ No newline at end of file
+When creating Grafana, you can select the json file you just downloaded to 
`Import` and select the corresponding target data source for Apache IoTDB 
Dashboard.
+
+#### 5.3.2. Apache IoTDB StandaAlone Dashboard Instructions
+> Except for the metrics specified specially, the following metrics are 
guaranteed to be available in the monitoring framework at the Important levels.
+
+1. `Overview`:
+   1. `The number of entity`: The number of entities, currently including the 
number of timeseries.
+   2. `write point per minute`: the cumulative number of write points per 
minute.
+   3. `storage group used memory`: The memory size used by each storage group.
+2. `Interface`:
+   1. `The QPS of Interface`: The number of times the system interface is 
accessed per second
+   2. `The time consumed of Interface`: The average time consumed by the 
system interface
+   3. `Cache hit rate`: Cache hit rate.
+3. `Engine`:
+   1. `Task number (pending and active)`: The number of tasks in different 
states in the system.
+   2. `The time consumed of tasking (pending and active)`: The time 
consumption of tasks in different states in the system.
+4. `System`:
+   1. `The size of file`: The size of files related to the IoTDB system, 
including the total file size under wal, the total size of tsfile files under 
seq, and the total size of tsfile files under unseq.
+   2. `The number of file`: The number of files related to the IoTDB system, 
including the number of files under wal, the number of tsfile files under seq, 
and the number of tsfile files under unseq.
+   3. `The number of GC (per minute)`: The number of GC per minute of IoTDB, 
including Young GC and Full GC.
+   4. `The time consumed of GC (per minute)`: IoTDB's average GC time per 
minute, including Young GC and Full GC.
+   5. `Heap Memory`: The heap memory of IoTDB.
+   6. `Off-heap Memory`: The off-heap memory of IoTDB.
+   7. `The number of Java Thread`: The number of threads in different states 
of IoTDB.
+
+#### 5.3.3. Apache IoTDB ConfigNode Dashboard Instructions
+> Except for the metrics specified specially, the following metrics are 
guaranteed to be available in the monitoring framework at the Important levels.
+
+1. `Overview`:
+   1. `Online ConfigNode`: the number of online ConfigNodes
+   2. `Online DataNode`: the number of online DataNodes
+   3. `Storage Group`: the number of storage groups
+   4. `TotalRegion`: The total number of Regions
+   5. `DataRegion`: The total number of DataRegions
+   6. `SchemaRegion`: The total number of SchemaRegions
+2. `Region`:
+   1. `Total Region in Node`: The total number of Regions in different Nodes
+   2. `Region in Node`: The number of Regions in different Nodes, including 
SchemaRegion, DataRegion
+   3. `Region in Storage Group` (Normal level): The number of Regions in 
different storage groups, including SchemaRegion, DataRegion
+   4. `Slot in Storage Group` (Normal level): The number of Slots in different 
storage groups, including the number of DataSlots and the number of SchemaSlots
+3. `System`:
+   1. `The number of GC(per minute)`: The number of GCs per minute of IoTDB, 
including Young GC and Full GC.
+   2. `The time consumed of GC (per minute)`: IoTDB's average GC time per 
minute, including Young GC and Full GC.
+   3. `Heap Memory`: The heap memory of IoTDB.
+   4. `Off-heap Memory`: The off-heap memory of IoTDB.
+   5. `The number of Java Thread`: The number of threads in different states 
of IoTDB.
+   6. `The time consumed of Interface`: The average time consumed by the 
system interface
+
+#### 5.3.4. Apache IoTDB DataNode Dashboard Instructions
+> Except for the metrics specified specially, the following metrics are 
guaranteed to be available in the monitoring framework at the Important levels.
+
+1. `Overview`:
+   1. `The number of entity`: The number of entities, currently including the 
number of timeseries.
+   2. `write point per minute`: the cumulative number of write points per 
minute.
+   3. `storage group used memory`: The memory size used by each storage group.
+2. `Interface`:
+   1. `The QPS of Interface`: The number of times the system interface is 
accessed per second
+   2. `The time consumed of Interface`: The average time consumed by the 
system interface
+3. `Engine`:
+   1. `Task number (pending and active)`: The number of tasks in different 
states in the system.
+   2. `The time consumed of tasking (pending and active)`: The time 
consumption of tasks in different states in the system.
+   3. `Cache hit rate`: Cache hit rate
+4. `System`:
+   1. `The size of file`: The size of files related to the IoTDB system, 
including the total file size under wal, the total size of tsfile files under 
seq, and the total size of tsfile files under unseq.
+   2. `The number of file`: The number of files related to the IoTDB system, 
including the number of files under wal, the number of tsfile files under seq, 
and the number of tsfile files under unseq.
+   3. `The number of GC (per minute)`: The number of GC per minute of IoTDB, 
including Young GC and Full GC.
+   4. `The time consumed of GC (per minute)`: IoTDB's average GC time per 
minute, including Young GC and Full GC.
+   5. `Heap Memory`: The heap memory of IoTDB.
+   6. `Off-heap Memory`: The off-heap memory of IoTDB.
+   7. `The number of Java Thread`: The number of threads in different states 
of IoTDB.
\ No newline at end of file
diff --git a/docs/zh/UserGuide/Maintenance-Tools/Metric-Tool.md 
b/docs/zh/UserGuide/Maintenance-Tools/Metric-Tool.md
index fbb8cf2d37..065e2179fa 100644
--- a/docs/zh/UserGuide/Maintenance-Tools/Metric-Tool.md
+++ b/docs/zh/UserGuide/Maintenance-Tools/Metric-Tool.md
@@ -361,9 +361,77 @@ static_configs:
 
 ![Apache IoTDB 
Dashboard](https://github.com/apache/iotdb-bin-resources/blob/main/docs/UserGuide/System%20Tools/Metrics/dashboard.png)
 
-Apache IoTDB Dashboard的获取方式:
-
+#### 5.3.1. 获取方式
 1. 您可以在grafana-metrics-example文件夹下获取到对应不同iotdb版本的Dashboard的json文件。
 2. 您可以访问[Grafana 
Dashboard官网](https://grafana.com/grafana/dashboards/)搜索`Apache IoTDB 
Dashboard`并使用
 
 在创建Grafana时,您可以选择Import刚刚下载的json文件,并为Apache IoTDB Dashboard选择对应目标数据源。
+
+#### 5.3.2. Apache IoTDB StandAlone Dashboard 说明
+> 除特殊说明的监控项以外,以下监控项均保证在Important级别的监控框架中可用。
+
+1. `Overview`:系统概述
+   1. `The number of entity`:实体数量,目前包含时间序列的数量。
+   2. `write point per minute`:每分钟系统累计写入点数。
+   3. `storage group used memory`:每个存储组使用的内存大小。
+2. `Interface`:接口
+   1. `The QPS of Interface`:系统接口每秒钟访问次数
+   2. `The time consumed of Interface`:系统接口的平均耗时
+   3. `Cache hit rate`:缓存命中率。
+3. `Engine`:引擎
+   1. `Task number(pending and active)`:系统中不同状态的任务个数。
+   2. `The time consumed of tasking(pending and active)`:系统中不同状态的任务的耗时。
+4. `System`:系统
+   1. `The size of 
file`:IoTDB系统相关的文件大小,包括wal下的文件总大小、seq下的tsfile文件总大小、unseq下的tsfile文件总大小。
+   2. `The number of 
file`:IoTDB系统相关的文件个数,包括wal下的文件个数、seq下的tsfile文件个数、unseq下的tsfile文件个数。
+   3. `The number of GC(per minute)`:IoTDB每分钟的GC数量,包括Young GC和Full GC。
+   4. `The time consumed of GC(per minute)`:IoTDB的每分钟平均GC耗时,包括Young GC和Full GC。
+   5. `Heap Memory`:IoTDB的堆内存。
+   6. `Off-heap Memory`:IoTDB的堆外内存。
+   7. `The number of Java Thread`:IoTDB的不同状态线程数。
+
+#### 5.3.3. Apache IoTDB ConfigNode Dashboard 说明
+> 除特殊说明的监控项以外,以下监控项均保证在Important级别的监控框架中可用。
+
+1. `Overview`:系统概述
+   1. `Online ConfigNode`:线上ConfigNode个数
+   2. `Online DataNode`:线上DataNode个数
+   3. `Storage Group`:存储组数量
+   4. `TotalRegion`:Region总数量
+   5. `DataRegion`:DataRegion总数量
+   6. `SchemaRegion`:SchemaRegion总数量
+2. `Region`:Region分布情况
+   1. `Total Region in Node`:不同Node的Region总数量
+   2. `Region in Node`:不同Node的Region数量,包括SchemaRegion、DataRegion
+   3. `Region in Storage 
Group`(Normal级别):不同存储组的Region数量,包括SchemaRegion、DataRegion
+   4. `Slot in Storage Group`(Normal级别):不同存储组的Slot数量,包括DataSlot数量和SchemaSlot数量
+3. `System`:系统
+   1. `The number of GC(per minute)`:IoTDB每分钟的GC数量,包括Young GC和Full GC。
+   2. `The time consumed of GC(per minute)`:IoTDB的每分钟平均GC耗时,包括Young GC和Full GC。
+   3. `Heap Memory`:IoTDB的堆内存。
+   4. `Off-heap Memory`:IoTDB的堆外内存。
+   5. `The number of Java Thread`:IoTDB的不同状态线程数。
+   6. `The time consumed of Interface`:系统接口的平均耗时
+
+#### 5.3.4. Apache IoTDB DataNode Dashboard 说明
+> 除特殊说明的监控项以外,以下监控项均保证在Important级别的监控框架中可用。
+
+1. `Overview`:系统概述
+   1. `The number of entity`:实体数量,目前包含时间序列的数量。
+   2. `write point per minute`:每分钟系统累计写入点数。
+   3. `storage group used memory`:每个存储组使用的内存大小。
+2. `Interface`:接口
+   1. `The QPS of Interface`:系统接口每秒钟访问次数
+   2. `The time consumed of Interface`:系统接口的平均耗时
+3. `Engine`:引擎
+   1. `Task number(pending and active)`:系统中不同状态的任务个数。
+   2. `The time consumed of tasking(pending and active)`:系统中不同状态的任务的耗时。
+   3. `Cache hit rate`:缓存命中率。
+4. `System`:系统
+   1. `The size of 
file`:IoTDB系统相关的文件大小,包括wal下的文件总大小、seq下的tsfile文件总大小、unseq下的tsfile文件总大小。
+   2. `The number of 
file`:IoTDB系统相关的文件个数,包括wal下的文件个数、seq下的tsfile文件个数、unseq下的tsfile文件个数。
+   3. `The number of GC(per minute)`:IoTDB每分钟的GC数量,包括Young GC和Full GC。
+   4. `The time consumed of GC(per minute)`:IoTDB的每分钟平均GC耗时,包括Young GC和Full GC。
+   5. `Heap Memory`:IoTDB的堆内存。
+   6. `Off-heap Memory`:IoTDB的堆外内存。
+   7. `The number of Java Thread`:IoTDB的不同状态线程数。
diff --git a/grafana-metrics-example/cluster/Apache IoTDB ConfigNode Dashboard 
v0.14.0.json b/grafana-metrics-example/cluster/Apache IoTDB ConfigNode 
Dashboard v0.14.0.json
index 484fb19b8a..12f25442bc 100644
--- a/grafana-metrics-example/cluster/Apache IoTDB ConfigNode Dashboard 
v0.14.0.json    
+++ b/grafana-metrics-example/cluster/Apache IoTDB ConfigNode Dashboard 
v0.14.0.json    
@@ -60,7 +60,7 @@
   "fiscalYearStartMonth": 0,
   "graphTooltip": 0,
   "id": null,
-  "iteration": 1655363164080,
+  "iteration": 1656333428851,
   "links": [],
   "liveNow": false,
   "panels": [
@@ -169,6 +169,19 @@
       "title": "Overview",
       "type": "stat"
     },
+    {
+      "collapsed": false,
+      "gridPos": {
+        "h": 1,
+        "w": 24,
+        "x": 0,
+        "y": 8
+      },
+      "id": 40,
+      "panels": [],
+      "title": "Region",
+      "type": "row"
+    },
     {
       "fieldConfig": {
         "defaults": {
@@ -210,10 +223,6 @@
               {
                 "color": "green",
                 "value": null
-              },
-              {
-                "color": "red",
-                "value": 80
               }
             ]
           }
@@ -224,7 +233,7 @@
         "h": 8,
         "w": 12,
         "x": 0,
-        "y": 8
+        "y": 9
       },
       "id": 38,
       "options": {
@@ -251,7 +260,7 @@
           "refId": "A"
         }
       ],
-      "title": "Total Region on Node",
+      "title": "Total Region in Node",
       "type": "timeseries"
     },
     {
@@ -295,10 +304,6 @@
               {
                 "color": "green",
                 "value": null
-              },
-              {
-                "color": "red",
-                "value": 80
               }
             ]
           }
@@ -309,7 +314,7 @@
         "h": 8,
         "w": 12,
         "x": 12,
-        "y": 8
+        "y": 9
       },
       "id": 32,
       "options": {
@@ -336,7 +341,7 @@
           "refId": "A"
         }
       ],
-      "title": "Region on Node",
+      "title": "Region in Node",
       "type": "timeseries"
     },
     {
@@ -390,7 +395,7 @@
         "h": 8,
         "w": 12,
         "x": 0,
-        "y": 16
+        "y": 17
       },
       "id": 35,
       "options": {
@@ -417,7 +422,7 @@
           "refId": "A"
         }
       ],
-      "title": "Region on StorageGroup",
+      "title": "Region in StorageGroup",
       "type": "timeseries"
     },
     {
@@ -461,10 +466,6 @@
               {
                 "color": "green",
                 "value": null
-              },
-              {
-                "color": "red",
-                "value": 80
               }
             ]
           }
@@ -475,7 +476,7 @@
         "h": 8,
         "w": 12,
         "x": 12,
-        "y": 16
+        "y": 17
       },
       "id": 37,
       "options": {
@@ -511,7 +512,7 @@
         "h": 1,
         "w": 24,
         "x": 0,
-        "y": 24
+        "y": 25
       },
       "id": 16,
       "panels": [],
@@ -569,7 +570,7 @@
         "h": 8,
         "w": 12,
         "x": 0,
-        "y": 25
+        "y": 26
       },
       "id": 10,
       "options": {
@@ -591,7 +592,7 @@
           },
           "exemplar": true,
           "expr": 
"sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of 
minor GC\"}[1m]))*60",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Young GC number",
           "refId": "A"
         },
@@ -603,7 +604,7 @@
           "exemplar": true,
           "expr": 
"sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of 
major GC\"}[1m]))*60",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Full GC number",
           "refId": "B"
         }
@@ -663,7 +664,7 @@
         "h": 8,
         "w": 12,
         "x": 12,
-        "y": 25
+        "y": 26
       },
       "id": 8,
       "options": {
@@ -685,7 +686,7 @@
           },
           "exemplar": true,
           "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", 
action=\"end of minor GC\"}[1m]))*60",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "The time of young GC",
           "refId": "A"
         },
@@ -697,7 +698,7 @@
           "exemplar": true,
           "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", 
action=\"end of major GC\"}[1m]))*60",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "The time of full GC",
           "refId": "B"
         }
@@ -757,7 +758,7 @@
         "h": 8,
         "w": 12,
         "x": 0,
-        "y": 33
+        "y": 34
       },
       "id": 6,
       "options": {
@@ -779,7 +780,7 @@
           },
           "exemplar": true,
           "expr": 
"sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Maximum heap memory",
           "refId": "A"
         },
@@ -791,7 +792,7 @@
           "exemplar": true,
           "expr": 
"sum(jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\"})",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Used heap memory",
           "refId": "B"
         },
@@ -803,7 +804,7 @@
           "exemplar": true,
           "expr": 
"jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Old 
Gen\"}",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Old area",
           "refId": "C"
         },
@@ -815,7 +816,7 @@
           "exemplar": true,
           "expr": 
"jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Eden 
Space\"}",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Eden area",
           "refId": "D"
         },
@@ -827,7 +828,7 @@
           "exemplar": true,
           "expr": 
"jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Survivor 
Space\"}",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Survivor area",
           "refId": "E"
         }
@@ -887,7 +888,7 @@
         "h": 8,
         "w": 12,
         "x": 12,
-        "y": 33
+        "y": 34
       },
       "id": 4,
       "options": {
@@ -909,7 +910,7 @@
           },
           "exemplar": true,
           "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "off-heap memory",
           "refId": "A"
         }
@@ -968,7 +969,7 @@
         "h": 8,
         "w": 12,
         "x": 0,
-        "y": 41
+        "y": 42
       },
       "id": 2,
       "options": {
@@ -990,7 +991,7 @@
           },
           "exemplar": true,
           "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "The total number of jvm thread",
           "refId": "A"
         },
@@ -1002,7 +1003,7 @@
           "exemplar": true,
           "expr": "jvm_threads_states_threads{instance=~\"$instance\"}",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{state}}",
           "refId": "B"
         }
@@ -1051,10 +1052,6 @@
               {
                 "color": "green",
                 "value": null
-              },
-              {
-                "color": "red",
-                "value": 80
               }
             ]
           },
@@ -1066,7 +1063,7 @@
         "h": 8,
         "w": 12,
         "x": 12,
-        "y": 41
+        "y": 42
       },
       "id": 26,
       "options": {
@@ -1088,7 +1085,7 @@
           },
           "exemplar": true,
           "expr": 
"avg(rate(entry_seconds_sum{}[1m])/rate(entry_seconds_count{}[1m])) by 
(name,instance)",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{instance}}-{{name}}",
           "refId": "A"
         }
@@ -1154,7 +1151,7 @@
     ]
   },
   "time": {
-    "from": "now-6h",
+    "from": "now-30m",
     "to": "now"
   },
   "timepicker": {
@@ -1170,6 +1167,6 @@
   "timezone": "browser",
   "title": "Apache IoTDB ConfigNode Dashboard",
   "uid": "TbEVYRw7g",
-  "version": 16,
+  "version": 19,
   "weekStart": ""
 }
\ No newline at end of file
diff --git a/grafana-metrics-example/cluster/Apache IoTDB DataNode Dashboard 
v0.14.0.json b/grafana-metrics-example/cluster/Apache IoTDB DataNode Dashboard 
v0.14.0.json
index e64d0376c3..bae0ead596 100644
--- a/grafana-metrics-example/cluster/Apache IoTDB DataNode Dashboard 
v0.14.0.json      
+++ b/grafana-metrics-example/cluster/Apache IoTDB DataNode Dashboard 
v0.14.0.json      
@@ -54,7 +54,7 @@
   "fiscalYearStartMonth": 0,
   "graphTooltip": 0,
   "id": null,
-  "iteration": 1655343436644,
+  "iteration": 1656334292304,
   "links": [],
   "liveNow": false,
   "panels": [
@@ -307,7 +307,7 @@
           },
           "exemplar": true,
           "expr": "mem{instance=~\"$instance\"}",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{name}}",
           "refId": "A"
         }
@@ -401,7 +401,7 @@
           },
           "exemplar": true,
           "expr": "rate(entry_seconds_count{instance=~\"$instance\"}[1m])",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{instance}}-{{name}}",
           "refId": "A"
         }
@@ -450,10 +450,6 @@
               {
                 "color": "green",
                 "value": null
-              },
-              {
-                "color": "red",
-                "value": 80
               }
             ]
           },
@@ -487,7 +483,7 @@
           },
           "exemplar": true,
           "expr": 
"avg(rate(entry_seconds_sum{}[1m])/rate(entry_seconds_count{}[1m])) by 
(name,instance)",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{instance}}-{{name}}",
           "refId": "A"
         }
@@ -549,10 +545,6 @@
               {
                 "color": "green",
                 "value": null
-              },
-              {
-                "color": "red",
-                "value": 80
               }
             ]
           }
@@ -585,7 +577,7 @@
           },
           "exemplar": true,
           "expr": "queue{instance=~\"$instance\"}",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{name}}-{{status}}",
           "refId": "A"
         }
@@ -667,7 +659,7 @@
           },
           "exemplar": true,
           "expr": 
"rate(cost_task_seconds_sum{instance=~\"$instance\"}[10m])/rate(cost_task_seconds_count{instance=~\"$instance\"}[10m])",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{instance}}-{{name}}",
           "refId": "A"
         }
@@ -860,7 +852,7 @@
           },
           "exemplar": true,
           "expr": "file_size{instance=~\"$instance\"}",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{instance}}-{{name}}",
           "refId": "A"
         },
@@ -872,7 +864,7 @@
           "exemplar": true,
           "expr": "sum(file_size{instance=~\"$instance\"})",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "total size of file",
           "refId": "B"
         }
@@ -1046,7 +1038,7 @@
           },
           "exemplar": true,
           "expr": 
"sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of 
minor GC\"}[1m]))*60",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Young GC number",
           "refId": "A"
         },
@@ -1058,7 +1050,7 @@
           "exemplar": true,
           "expr": 
"sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of 
major GC\"}[1m]))*60",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Full GC number",
           "refId": "B"
         }
@@ -1140,7 +1132,7 @@
           },
           "exemplar": true,
           "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", 
action=\"end of minor GC\"}[1m]))*60",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "The time of young GC",
           "refId": "A"
         },
@@ -1152,7 +1144,7 @@
           "exemplar": true,
           "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", 
action=\"end of major GC\"}[1m]))*60",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "The time of full GC",
           "refId": "B"
         }
@@ -1234,7 +1226,7 @@
           },
           "exemplar": true,
           "expr": 
"sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Maximum heap memory",
           "refId": "A"
         },
@@ -1246,7 +1238,7 @@
           "exemplar": true,
           "expr": 
"sum(jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\"})",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Used heap memory",
           "refId": "B"
         },
@@ -1258,7 +1250,7 @@
           "exemplar": true,
           "expr": 
"jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Old 
Gen\"}",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Old area",
           "refId": "C"
         },
@@ -1270,7 +1262,7 @@
           "exemplar": true,
           "expr": 
"jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Eden 
Space\"}",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Eden area",
           "refId": "D"
         },
@@ -1282,7 +1274,7 @@
           "exemplar": true,
           "expr": 
"jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Survivor 
Space\"}",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Survivor area",
           "refId": "E"
         }
@@ -1364,7 +1356,7 @@
           },
           "exemplar": true,
           "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "off-heap memory",
           "refId": "A"
         }
@@ -1445,7 +1437,7 @@
           },
           "exemplar": true,
           "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "The total number of jvm thread",
           "refId": "A"
         },
@@ -1457,7 +1449,7 @@
           "exemplar": true,
           "expr": "jvm_threads_states_threads{instance=~\"$instance\"}",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{state}}",
           "refId": "B"
         }
@@ -1523,7 +1515,7 @@
     ]
   },
   "time": {
-    "from": "now-6h",
+    "from": "now-30m",
     "to": "now"
   },
   "timepicker": {
@@ -1539,6 +1531,6 @@
   "timezone": "browser",
   "title": "Apache IoTDB DataNode Dashboard",
   "uid": "TbEVYRw7m",
-  "version": 13,
+  "version": 15,
   "weekStart": ""
 }
\ No newline at end of file
diff --git a/grafana-metrics-example/standalone/Apache IoTDB Dashboard 
v0.14.0.json b/grafana-metrics-example/standalone/Apache IoTDB Dashboard 
v0.14.0.json
index bd0025c983..a88370a648 100644
--- a/grafana-metrics-example/standalone/Apache IoTDB Dashboard v0.14.0.json    
+++ b/grafana-metrics-example/standalone/Apache IoTDB Dashboard v0.14.0.json    
@@ -54,7 +54,7 @@
   "fiscalYearStartMonth": 0,
   "graphTooltip": 0,
   "id": null,
-  "iteration": 1650335659044,
+  "iteration": 1656326628391,
   "links": [],
   "liveNow": false,
   "panels": [
@@ -225,7 +225,7 @@
           },
           "exemplar": true,
           "expr": "rate(quantity_total{instance=~\"$instance\"}[1m])",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "write point per minute",
           "refId": "A"
         }
@@ -307,7 +307,7 @@
           },
           "exemplar": true,
           "expr": "mem{instance=~\"$instance\"}",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{name}}",
           "refId": "A"
         }
@@ -401,8 +401,8 @@
           },
           "exemplar": true,
           "expr": "rate(entry_seconds_count{instance=~\"$instance\"}[1m])",
-          "interval": "1m",
-          "legendFormat": "{{instance}}-{{name}}",
+          "interval": "",
+          "legendFormat": "{{name}}",
           "refId": "A"
         }
       ],
@@ -450,10 +450,6 @@
               {
                 "color": "green",
                 "value": null
-              },
-              {
-                "color": "red",
-                "value": 80
               }
             ]
           },
@@ -486,9 +482,9 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": true,
-          "expr": 
"avg(rate(entry_seconds_sum{}[1m])/rate(entry_seconds_count{}[1m])) by 
(name,instance)",
-          "interval": "1m",
-          "legendFormat": "{{instance}}-{{name}}",
+          "expr": 
"avg(rate(entry_seconds_sum{instance=~\"$instance\"}[1m])/rate(entry_seconds_count{instance=~\"$instance\"}[1m]))
 by (name,instance)",
+          "interval": "",
+          "legendFormat": "{{name}}",
           "refId": "A"
         }
       ],
@@ -568,7 +564,7 @@
             "uid": "${DS_PROMETHEUS}"
           },
           "exemplar": true,
-          "expr": "cache_hit",
+          "expr": "cache_hit{instance=~\"$instance\"}",
           "interval": "",
           "legendFormat": "{{name}}",
           "refId": "A"
@@ -631,10 +627,6 @@
               {
                 "color": "green",
                 "value": null
-              },
-              {
-                "color": "red",
-                "value": 80
               }
             ]
           }
@@ -667,7 +659,7 @@
           },
           "exemplar": true,
           "expr": "queue{instance=~\"$instance\"}",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{name}}-{{status}}",
           "refId": "A"
         }
@@ -749,7 +741,7 @@
           },
           "exemplar": true,
           "expr": 
"rate(cost_task_seconds_sum{instance=~\"$instance\"}[10m])/rate(cost_task_seconds_count{instance=~\"$instance\"}[10m])",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{instance}}-{{name}}",
           "refId": "A"
         }
@@ -844,7 +836,7 @@
           },
           "exemplar": true,
           "expr": "file_size{instance=~\"$instance\"}",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{instance}}-{{name}}",
           "refId": "A"
         },
@@ -856,7 +848,7 @@
           "exemplar": true,
           "expr": "sum(file_size{instance=~\"$instance\"})",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "total size of file",
           "refId": "B"
         }
@@ -1030,7 +1022,7 @@
           },
           "exemplar": true,
           "expr": 
"sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of 
minor GC\"}[1m]))*60",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Young GC number",
           "refId": "A"
         },
@@ -1042,7 +1034,7 @@
           "exemplar": true,
           "expr": 
"sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of 
major GC\"}[1m]))*60",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "Full GC number",
           "refId": "B"
         }
@@ -1348,7 +1340,7 @@
           },
           "exemplar": true,
           "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "off-heap memory",
           "refId": "A"
         }
@@ -1429,7 +1421,7 @@
           },
           "exemplar": true,
           "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "The total number of jvm thread",
           "refId": "A"
         },
@@ -1441,7 +1433,7 @@
           "exemplar": true,
           "expr": "jvm_threads_states_threads{instance=~\"$instance\"}",
           "hide": false,
-          "interval": "1m",
+          "interval": "",
           "legendFormat": "{{state}}",
           "refId": "B"
         }
@@ -1506,7 +1498,7 @@
     ]
   },
   "time": {
-    "from": "now-2d",
+    "from": "now-30m",
     "to": "now"
   },
   "timepicker": {
@@ -1522,6 +1514,6 @@
   "timezone": "browser",
   "title": "Apache IoTDB Dashboard",
   "uid": "TbEVYRw7k",
-  "version": 2,
+  "version": 3,
   "weekStart": ""
 }
\ No newline at end of file

Reply via email to