You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/11/27 16:40:36 UTC
[iotdb] branch master updated: [IOTDB-5062][Metric] Update Doc And Update Grafana Dashboard (#8210)
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 f3938bfdad [IOTDB-5062][Metric] Update Doc And Update Grafana Dashboard (#8210)
f3938bfdad is described below
commit f3938bfdadcf816676e577156c047cea9b0dabc9
Author: ZhangHongYin <46...@users.noreply.github.com>
AuthorDate: Mon Nov 28 00:40:29 2022 +0800
[IOTDB-5062][Metric] Update Doc And Update Grafana Dashboard (#8210)
---
docs/UserGuide/Monitor-Alert/Metric-Tool.md | 32 +-
docs/zh/UserGuide/Monitor-Alert/Metric-Tool.md | 58 +-
...json => Apache IoTDB ConfigNode Dashboard.json} | 1440 +++++++++---
...0.json => Apache IoTDB DataNode Dashboard.json} | 2375 +++++++++++++++-----
.../standalone/Apache IoTDB Dashboard v0.14.0.json | 1519 -------------
5 files changed, 2985 insertions(+), 2439 deletions(-)
diff --git a/docs/UserGuide/Monitor-Alert/Metric-Tool.md b/docs/UserGuide/Monitor-Alert/Metric-Tool.md
index 3a8a676ad6..49200d21c5 100644
--- a/docs/UserGuide/Monitor-Alert/Metric-Tool.md
+++ b/docs/UserGuide/Monitor-Alert/Metric-Tool.md
@@ -87,19 +87,19 @@ Core-level metrics are enabled by default during system operation. The addition
| data_node | name="total",status="Registered/Online/Unknown" | AutoGauge | The number of registered/online/unknown datanodes |
### 4.1.2. IoTDB process
-| Metric | Tags | Type | Description |
-| ----------------- | ------------- | --------- | ------------------------------------------------------ |
-| process_cpu_load | name="cpu" | AutoGauge | The current CPU usage of IoTDB process, Unit: % |
-| process_cpu_time | name="cpu" | AutoGauge | The total CPU time occupied of IoTDB process, Unit: ns |
-| process_max_mem | name="memory" | AutoGauge | The maximum available memory of IoTDB process |
-| process_total_mem | name="memory" | AutoGauge | The current requested memory for IoTDB process |
-| process_free_mem | name="memory" | AutoGauge | The free available memory of IoTDB process |
+| Metric | Tags | Type | Description |
+| ----------------- | -------------- | --------- | ------------------------------------------------------ |
+| process_cpu_load | name="process" | AutoGauge | The current CPU usage of IoTDB process, Unit: % |
+| process_cpu_time | name="process" | AutoGauge | The total CPU time occupied of IoTDB process, Unit: ns |
+| process_max_mem | name="memory" | AutoGauge | The maximum available memory of IoTDB process |
+| process_total_mem | name="memory" | AutoGauge | The current requested memory for IoTDB process |
+| process_free_mem | name="memory" | AutoGauge | The free available memory of IoTDB process |
### 4.1.3. System
| Metric | Tags | Type | Description |
| ------------------------------ | ------------- | --------- | ---------------------------------------------------------- |
-| sys_cpu_load | name="cpu" | AutoGauge | The current CPU usage of system, Unit: % |
-| sys_cpu_cores | name="cpu" | Gauge | The available number of CPU cores |
+| sys_cpu_load | name="system" | AutoGauge | The current CPU usage of system, Unit: % |
+| sys_cpu_cores | name="system" | Gauge | The available number of CPU cores |
| sys_total_physical_memory_size | name="memory" | Gauge | The maximum physical memory of system |
| sys_free_physical_memory_size | name="memory" | AutoGauge | The current available memory of system |
| sys_total_swap_space_size | name="memory" | AutoGauge | The maximum swap space of system |
@@ -134,13 +134,13 @@ Core-level metrics are enabled by default during system operation. The addition
| mutli_leader | name="logDispatcher-{{IP}}:{{Port}}", region="{{region}}", type="cachedRequestInMemoryQueue" | AutoGauge | The size of cache requests of synchronization thread in replica group |
| mutli_leader | name="IoTConsensusServerImpl", region="{{region}}", type="searchIndex" | AutoGauge | The write process of main process in replica group |
| mutli_leader | name="IoTConsensusServerImpl", region="{{region}}", type="safeIndex" | AutoGauge | The sync index of replica group |
-| stage | name="multi_leader", region="{{region}}", type="getStateMachineLock" | Histogram | The time consumed to get statemachine lock in main process |
-| stage | name="multi_leader", region="{{region}}", type="checkingBeforeWrite" | Histogram | The time consumed to precheck before write in main process |
-| stage | name="multi_leader", region="{{region}}", type="writeStateMachine" | Histogram | The time consumed to write statemachine in main process |
-| stage | name="multi_leader", region="{{region}}", type="offerRequestToQueue" | Histogram | The time consumed to try to offer request to queue in main process |
-| stage | name="multi_leader", region="{{region}}", type="consensusWrite" | Histogram | The time consumed to the whole write in main process |
-| stage | name="multi_leader", region="{{region}}", type="constructBatch" | Histogram | The time consumed to construct batch in synchronization thread |
-| stage | name="multi_leader", region="{{region}}", type="syncLogTimePerRequest" | Histogram | The time consumed to sync log in asynchronous callback process |
+| stage | name="iot_consensus", region="{{region}}", type="getStateMachineLock" | Histogram | The time consumed to get statemachine lock in main process |
+| stage | name="iot_consensus", region="{{region}}", type="checkingBeforeWrite" | Histogram | The time consumed to precheck before write in main process |
+| stage | name="iot_consensus", region="{{region}}", type="writeStateMachine" | Histogram | The time consumed to write statemachine in main process |
+| stage | name="iot_consensus", region="{{region}}", type="offerRequestToQueue" | Histogram | The time consumed to try to offer request to queue in main process |
+| stage | name="iot_consensus", region="{{region}}", type="consensusWrite" | Histogram | The time consumed to the whole write in main process |
+| stage | name="iot_consensus", region="{{region}}", type="constructBatch" | Histogram | The time consumed to construct batch in synchronization thread |
+| stage | name="iot_consensus", region="{{region}}", type="syncLogTimePerRequest" | Histogram | The time consumed to sync log in asynchronous callback process |
### 4.2.4. Cache
| Metric | Tags | Type | Description |
diff --git a/docs/zh/UserGuide/Monitor-Alert/Metric-Tool.md b/docs/zh/UserGuide/Monitor-Alert/Metric-Tool.md
index 8fcffba986..d6e2ed976c 100644
--- a/docs/zh/UserGuide/Monitor-Alert/Metric-Tool.md
+++ b/docs/zh/UserGuide/Monitor-Alert/Metric-Tool.md
@@ -88,19 +88,19 @@ Core 级别的监控指标在系统运行中默认开启,每一个 Core 级别
| data_node | name="total",status="Registered/Online/Unknown" | AutoGauge | 已注册/在线/离线 datanode 的节点数量 |
### 4.1.2. IoTDB 进程运行状态
-| Metric | Tags | Type | Description |
-| ----------------- | ------------- | --------- | ----------------------------------- |
-| process_cpu_load | name="cpu" | AutoGauge | IoTDB 进程的 CPU 占用率,单位为% |
-| process_cpu_time | name="cpu" | AutoGauge | IoTDB 进程占用的 CPU 时间,单位为ns |
-| process_max_mem | name="memory" | AutoGauge | IoTDB 进程最大可用内存 |
-| process_total_mem | name="memory" | AutoGauge | IoTDB 进程当前已申请内存 |
-| process_free_mem | name="memory" | AutoGauge | IoTDB 进程当前剩余可用内存 |
+| Metric | Tags | Type | Description |
+| ----------------- | -------------- | --------- | ----------------------------------- |
+| process_cpu_load | name="process" | AutoGauge | IoTDB 进程的 CPU 占用率,单位为% |
+| process_cpu_time | name="process" | AutoGauge | IoTDB 进程占用的 CPU 时间,单位为ns |
+| process_max_mem | name="memory" | AutoGauge | IoTDB 进程最大可用内存 |
+| process_total_mem | name="memory" | AutoGauge | IoTDB 进程当前已申请内存 |
+| process_free_mem | name="memory" | AutoGauge | IoTDB 进程当前剩余可用内存 |
### 4.1.3. 系统运行状态
| Metric | Tags | Type | Description |
| ------------------------------ | ------------- | --------- | ---------------------------------------- |
-| sys_cpu_load | name="cpu" | AutoGauge | 系统的 CPU 占用率,单位为% |
-| sys_cpu_cores | name="cpu" | Gauge | 系统的可用处理器数 |
+| sys_cpu_load | name="system" | AutoGauge | 系统的 CPU 占用率,单位为% |
+| sys_cpu_cores | name="system" | Gauge | 系统的可用处理器数 |
| sys_total_physical_memory_size | name="memory" | Gauge | 系统的最大物理内存 |
| sys_free_physical_memory_size | name="memory" | AutoGauge | 系统的剩余可用内存 |
| sys_total_swap_space_size | name="memory" | AutoGauge | 系统的交换区最大空间 |
@@ -120,30 +120,30 @@ Core 级别的监控指标在系统运行中默认开启,每一个 Core 级别
| cluster_node_status | name="{{ip}}:{{port}}",type="ConfigNode/DataNode" | Gauge | 节点的状态,0=Unkonwn 1=online |
### 4.2.2. 节点统计
-| Metric | Tags | Type | Description |
-| -------- | ------------------------------------------ | --------- | ---------------------------------- |
-| quantity | name="database" | AutoGauge | 系统数据库数量 |
-| quantity | name="timeSeries" | AutoGauge | 系统时间序列数量 |
-| quantity | name="pointsIn" | Counter | 系统累计写入点数 |
+| Metric | Tags | Type | Description |
+| -------- | ------------------------------------------ | --------- | ------------------------------------ |
+| quantity | name="database" | AutoGauge | 系统数据库数量 |
+| quantity | name="timeSeries" | AutoGauge | 系统时间序列数量 |
+| quantity | name="pointsIn" | Counter | 系统累计写入点数 |
| region | name="total",type="SchemaRegion" | AutoGauge | 分区表中 SchemaRegion 总数量 |
| region | name="total",type="DataRegion" | AutoGauge | 分区表中 DataRegion 总数量 |
| region | name="{{ip}}:{{port}}",type="SchemaRegion" | Gauge | 分区表中对应节点上 DataRegion 总数量 |
| region | name="{{ip}}:{{port}}",type="DataRegion" | Gauge | 分区表中对应节点上 DataRegion 总数量 |
### 4.2.3. IoT共识协议统计
-| Metric | Tags | Type | Description |
-| ------------ | -------------------------------------------------------------------------------------------- | --------- | -------------------------------- |
-| mutli_leader | name="logDispatcher-{{IP}}:{{Port}}", region="{{region}}", type="currentSyncIndex" | AutoGauge | 副本组同步线程的当前同步进度 |
-| mutli_leader | name="logDispatcher-{{IP}}:{{Port}}", region="{{region}}", type="cachedRequestInMemoryQueue" | AutoGauge | 副本组同步线程缓存队列请求总大小 |
-| mutli_leader | name="IoTConsensusServerImpl", region="{{region}}", type="searchIndex" | AutoGauge | 副本组主流程写入进度 |
-| mutli_leader | name="IoTConsensusServerImpl", region="{{region}}", type="safeIndex" | AutoGauge | 副本组同步进度 |
-| stage | name="multi_leader", region="{{region}}", type="getStateMachineLock" | Histogram | 主流程获取状态机锁耗时 |
-| stage | name="multi_leader", region="{{region}}", type="checkingBeforeWrite" | Histogram | 主流程写入状态机检查耗时 |
-| stage | name="multi_leader", region="{{region}}", type="writeStateMachine" | Histogram | 主流程写入状态机耗时 |
-| stage | name="multi_leader", region="{{region}}", type="offerRequestToQueue" | Histogram | 主流程尝试添加队列耗时 |
-| stage | name="multi_leader", region="{{region}}", type="consensusWrite" | Histogram | 主流程全写入耗时 |
-| stage | name="multi_leader", region="{{region}}", type="constructBatch" | Histogram | 同步线程构造 Batch 耗时 |
-| stage | name="multi_leader", region="{{region}}", type="syncLogTimePerRequest" | Histogram | 异步回调流程同步日志耗时 |
+| Metric | Tags | Type | Description |
+| ------------- | -------------------------------------------------------------------------------------------- | --------- | -------------------------------- |
+| iot_consensus | name="logDispatcher-{{IP}}:{{Port}}", region="{{region}}", type="currentSyncIndex" | AutoGauge | 副本组同步线程的当前同步进度 |
+| iot_consensus | name="logDispatcher-{{IP}}:{{Port}}", region="{{region}}", type="cachedRequestInMemoryQueue" | AutoGauge | 副本组同步线程缓存队列请求总大小 |
+| iot_consensus | name="IoTConsensusServerImpl", region="{{region}}", type="searchIndex" | AutoGauge | 副本组主流程写入进度 |
+| iot_consensus | name="IoTConsensusServerImpl", region="{{region}}", type="safeIndex" | AutoGauge | 副本组同步进度 |
+| stage | name="iot_consensus", region="{{region}}", type="getStateMachineLock" | Histogram | 主流程获取状态机锁耗时 |
+| stage | name="iot_consensus", region="{{region}}", type="checkingBeforeWrite" | Histogram | 主流程写入状态机检查耗时 |
+| stage | name="iot_consensus", region="{{region}}", type="writeStateMachine" | Histogram | 主流程写入状态机耗时 |
+| stage | name="iot_consensus", region="{{region}}", type="offerRequestToQueue" | Histogram | 主流程尝试添加队列耗时 |
+| stage | name="iot_consensus", region="{{region}}", type="consensusWrite" | Histogram | 主流程全写入耗时 |
+| stage | name="iot_consensus", region="{{region}}", type="constructBatch" | Histogram | 同步线程构造 Batch 耗时 |
+| stage | name="iot_consensus", region="{{region}}", type="syncLogTimePerRequest" | Histogram | 异步回调流程同步日志耗时 |
### 4.2.4. 缓存统计
| Metric | Tags | Type | Description |
@@ -178,7 +178,7 @@ Core 级别的监控指标在系统运行中默认开启,每一个 Core 级别
| ------ | ----------------------------- | --------- | ------------------------------------------------- |
| mem | name="database_{{name}}" | AutoGauge | DataNode内对应DataRegion的内存占用,单位为byte |
| mem | name="chunkMetaData_{{name}}" | AutoGauge | 写入TsFile时的ChunkMetaData的内存占用,单位为byte |
-| mem | name="IoTConsensus" | AutoGauge | IoT共识协议的内存占用,单位为byte |
+| mem | name="IoTConsensus" | AutoGauge | IoT共识协议的内存占用,单位为byte |
### 4.2.7. 任务统计
| Metric | Tags | Type | Description |
@@ -189,7 +189,6 @@ Core 级别的监控指标在系统运行中默认开启,每一个 Core 级别
| queue | name="flush",status="running/waiting" | AutoGauge | 刷盘任务数 |
| queue | name="Sub_RawQuery",status="running/waiting" | AutoGauge | Sub_RawQuery任务数 |
-
### 4.2.8. 合并统计
| Metric | Tags | Type | Description |
| --------------------- | --------------------------------------------------- | ------- | ------------------ |
@@ -222,7 +221,6 @@ Core 级别的监控指标在系统运行中默认开启,每一个 Core 级别
| -------------- | ----------------------------------- | ------- | ------------------ |
| logback_events | level="trace/debug/info/warn/error" | Counter | 不同类型的日志个数 |
-
### 4.2.12. JVM 线程统计
| Metric | Tags | Type | Description |
diff --git a/grafana-metrics-example/cluster/Apache IoTDB ConfigNode Dashboard v0.14.0.json b/grafana-metrics-example/cluster/Apache IoTDB ConfigNode Dashboard.json
similarity index 64%
rename from grafana-metrics-example/cluster/Apache IoTDB ConfigNode Dashboard v0.14.0.json
rename to grafana-metrics-example/cluster/Apache IoTDB ConfigNode Dashboard.json
index db081fc7ea..de3e48ad15 100644
--- a/grafana-metrics-example/cluster/Apache IoTDB ConfigNode Dashboard v0.14.0.json
+++ b/grafana-metrics-example/cluster/Apache IoTDB ConfigNode Dashboard.json
@@ -17,6 +17,12 @@
"name": "Grafana",
"version": "8.4.2"
},
+ {
+ "type": "panel",
+ "id": "piechart",
+ "name": "Pie chart",
+ "version": ""
+ },
{
"type": "datasource",
"id": "prometheus",
@@ -63,10 +69,23 @@
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
- "iteration": 1667383647381,
+ "iteration": 1669566467252,
"links": [],
"liveNow": false,
"panels": [
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 0
+ },
+ "id": 1,
+ "panels": [],
+ "title": "Overview",
+ "type": "row"
+ },
{
"datasource": {
"type": "prometheus",
@@ -84,6 +103,10 @@
{
"color": "green",
"value": null
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
}
@@ -91,12 +114,12 @@
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 24,
+ "h": 7,
+ "w": 9,
"x": 0,
- "y": 0
+ "y": 1
},
- "id": 47,
+ "id": 2,
"options": {
"colorMode": "value",
"graphMode": "area",
@@ -118,12 +141,11 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "config_node{instance=~\"$instance\"}",
- "format": "time_series",
- "instant": false,
- "interval": "",
- "legendFormat": "{{status}} ConfigNode",
+ "editorMode": "code",
+ "expr": "config_node{instance=~\"$instance\", status=\"Registered\"}",
+ "hide": false,
+ "legendFormat": "ConfigNode",
+ "range": true,
"refId": "A"
},
{
@@ -131,78 +153,150 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "data_node{instance=~\"$instance\"}",
+ "editorMode": "code",
+ "expr": "data_node{instance=~\"$instance\", status=\"Registered\"}",
"hide": false,
- "interval": "",
- "legendFormat": "{{status}} DataNode",
+ "legendFormat": "DataNode",
+ "range": true,
"refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ }
+ ],
+ "title": "Registered Node",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
},
- "exemplar": true,
- "expr": "storage_group{instance=~\"$instance\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "Database",
- "refId": "E"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "custom": {
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ }
},
- "exemplar": true,
- "expr": "sum(region{instance=~\"$instance\", name=\"total\"})",
- "hide": false,
- "interval": "",
- "legendFormat": "Total Region",
- "refId": "C"
+ "mappings": []
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 7,
+ "w": 3,
+ "x": 9,
+ "y": 1
+ },
+ "id": 3,
+ "options": {
+ "legend": {
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "pieType": "pie",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
},
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "9.2.0",
+ "targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "region{instance=~\"$instance\", name=\"total\"}",
- "hide": false,
+ "expr": "data_node{instance=~\"$instance\", status!=\"Registered\"}",
+ "format": "time_series",
+ "instant": false,
"interval": "",
- "legendFormat": "{{type}}",
- "refId": "D"
+ "legendFormat": "{{status}}",
+ "refId": "A"
}
],
- "title": "Overview",
- "type": "stat"
+ "title": "DataNode",
+ "type": "piechart"
},
{
- "collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ }
+ },
+ "mappings": []
+ },
+ "overrides": []
+ },
"gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 8
+ "h": 7,
+ "w": 3,
+ "x": 12,
+ "y": 1
},
- "id": 36,
- "panels": [],
+ "id": 4,
+ "options": {
+ "legend": {
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "pieType": "pie",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "9.2.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "config_node{instance=~\"$instance\", status!=\"Registered\"}",
+ "format": "time_series",
+ "instant": false,
+ "interval": "",
+ "legendFormat": "{{status}}",
"refId": "A"
}
],
- "title": "Node Info",
- "type": "row"
+ "title": "ConfigNode",
+ "type": "piechart"
},
{
"datasource": {
@@ -267,17 +361,18 @@
"value": null
}
]
- }
+ },
+ "unit": "bool_on_off"
},
"overrides": []
},
"gridPos": {
- "h": 10,
- "w": 12,
- "x": 0,
- "y": 9
+ "h": 7,
+ "w": 9,
+ "x": 15,
+ "y": 1
},
- "id": 30,
+ "id": 5,
"options": {
"legend": {
"calcs": [],
@@ -299,16 +394,46 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "cluster_node_status{}",
- "legendFormat": "{{instance}} {{type}} {{name}}",
+ "expr": "cluster_node_status{instance=~\"${instance}\"}",
+ "legendFormat": "{{type}} {{name}}",
"range": true,
"refId": "A"
}
],
- "title": "The status of cluster node",
+ "title": "The Status Of Node",
"type": "timeseries"
},
{
+ "collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 8
+ },
+ "id": 6,
+ "panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "Region",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -328,12 +453,12 @@
"overrides": []
},
"gridPos": {
- "h": 10,
+ "h": 7,
"w": 12,
- "x": 12,
+ "x": 0,
"y": 9
},
- "id": 26,
+ "id": 7,
"options": {
"colorMode": "value",
"graphMode": "area",
@@ -357,41 +482,30 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "max(cluster_node_leader_count{}) by (name) ",
+ "expr": "sum(region{instance=~\"$instance\", name=\"total\"})",
+ "hide": false,
"interval": "",
- "legendFormat": "Total leaders on {{name}} ",
+ "legendFormat": "Total Region",
"range": true,
- "refId": "A"
- }
- ],
- "title": "Leadership distribution",
- "type": "stat"
- },
- {
- "collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 19
- },
- "id": 24,
- "panels": [],
- "targets": [
+ "refId": "C"
+ },
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "refId": "A"
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "region{instance=~\"$instance\", name=\"total\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "{{type}}",
+ "range": true,
+ "refId": "D"
}
],
- "title": "Region",
- "type": "row"
+ "title": "Region Number",
+ "type": "stat"
},
{
"datasource": {
@@ -401,34 +515,97 @@
"fieldConfig": {
"defaults": {
"color": {
- "mode": "palette-classic"
+ "mode": "thresholds"
},
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 7,
+ "w": 12,
+ "x": 12,
+ "y": 9
+ },
+ "id": 8,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "textMode": "auto"
+ },
+ "pluginVersion": "8.4.2",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "max(cluster_node_leader_count{}) by (name) ",
+ "interval": "",
+ "legendFormat": "Total leaders on {{name}} ",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "title": "Leadership Distribution",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
}
},
"mappings": [],
@@ -445,12 +622,12 @@
"overrides": []
},
"gridPos": {
- "h": 8,
+ "h": 7,
"w": 12,
"x": 0,
- "y": 20
+ "y": 16
},
- "id": 22,
+ "id": 9,
"options": {
"legend": {
"calcs": [],
@@ -531,12 +708,12 @@
"overrides": []
},
"gridPos": {
- "h": 8,
+ "h": 7,
"w": 12,
"x": 12,
- "y": 20
+ "y": 16
},
- "id": 20,
+ "id": 10,
"options": {
"legend": {
"calcs": [],
@@ -555,14 +732,689 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "region{instance=~\"${instance}\", name=~\"EndPoint.*\"}",
- "interval": "",
- "legendFormat": "{{name}}-{{type}}",
- "refId": "A"
+ "exemplar": true,
+ "expr": "region{instance=~\"${instance}\", name=~\"EndPoint.*\"}",
+ "interval": "",
+ "legendFormat": "{{name}}-{{type}}",
+ "refId": "A"
+ }
+ ],
+ "title": "Region in Node",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 7,
+ "w": 12,
+ "x": 0,
+ "y": 23
+ },
+ "id": 11,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "region{instance=~\"${instance}\", name!=\"total\", name!~\"EndPoint.*\"}",
+ "interval": "",
+ "legendFormat": "{{name}}-{{type}}",
+ "refId": "A"
+ }
+ ],
+ "title": "Region in StorageGroup",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 7,
+ "w": 12,
+ "x": 12,
+ "y": 23
+ },
+ "id": 12,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "slot{instance=~\"$instance\"}",
+ "interval": "",
+ "legendFormat": "{{name}}-{{type}}",
+ "refId": "A"
+ }
+ ],
+ "title": "Slot In Storage Group",
+ "type": "timeseries"
+ },
+ {
+ "collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 30
+ },
+ "id": 13,
+ "panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "System",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "Core"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 0,
+ "y": 31
+ },
+ "id": 14,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "textMode": "auto"
+ },
+ "pluginVersion": "8.4.2",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sys_cpu_cores{instance=\"$instance\",name=\"system\"}",
+ "hide": false,
+ "legendFormat": "Process CPU Time",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "CPU Core",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "percent"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 8,
+ "y": 31
+ },
+ "id": 15,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_cpu_load{instance=\"$instance\",name=\"system\"}",
+ "interval": "",
+ "legendFormat": "System CPU Load",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "process_cpu_load{instance=\"$instance\",name=\"process\"}",
+ "hide": false,
+ "legendFormat": "Process CPU Load",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "CPU Load",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "ns"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 16,
+ "y": 31
+ },
+ "id": 16,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sum(rate(process_cpu_time{instance=\"$instance\",name=\"process\"}[1m]))*60",
+ "hide": false,
+ "legendFormat": "Process CPU Time",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "CPU Time Per Minute",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 0,
+ "y": 39
+ },
+ "id": 17,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}-sys_free_physical_memory_size{instance=\"$instance\", name=\"system\"}",
+ "interval": "",
+ "legendFormat": "Used physical memory",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Total physical memory",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sys_committed_vm_size{instance=\"$instance\"}",
+ "hide": false,
+ "legendFormat": "Committed vm size",
+ "range": true,
+ "refId": "C"
+ }
+ ],
+ "title": "System Memory",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 8,
+ "y": 39
+ },
+ "id": 18,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_total_swap_space_size{instance=\"$instance\", name=\"system\"} - sys_free_swap_space_size{instance=\"$instance\", name=\"system\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Used Swap Size",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sys_total_swap_space_size{instance=\"$instance\", name=\"system\"}",
+ "hide": false,
+ "legendFormat": "Total Swap Size",
+ "range": true,
+ "refId": "C"
}
],
- "title": "Region in Node",
+ "title": "System Swap Size",
"type": "timeseries"
},
{
@@ -610,17 +1462,22 @@
{
"color": "green",
"value": null
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
- }
+ },
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 28
+ "w": 8,
+ "x": 16,
+ "y": 39
},
"id": 19,
"options": {
@@ -641,14 +1498,38 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "region{instance=~\"${instance}\", name!=\"total\", name!~\"EndPoint.*\"}",
- "interval": "",
- "legendFormat": "{{name}}-{{type}}",
+ "editorMode": "code",
+ "expr": "process_max_mem{instance=~\"${instance}\"}",
+ "legendFormat": "Max Memory",
+ "range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "process_total_mem{instance=~\"${instance}\"}",
+ "hide": false,
+ "legendFormat": "Total Memory",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "process_total_mem{instance=~\"${instance}\"} - process_free_mem{instance=~\"${instance}\"}",
+ "hide": false,
+ "legendFormat": "Used Memory",
+ "range": true,
+ "refId": "C"
}
],
- "title": "Region in StorageGroup",
+ "title": "Process Memory",
"type": "timeseries"
},
{
@@ -704,11 +1585,11 @@
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 28
+ "w": 8,
+ "x": 0,
+ "y": 47
},
- "id": 18,
+ "id": 20,
"options": {
"legend": {
"calcs": [],
@@ -727,41 +1608,29 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "slot{instance=~\"$instance\"}",
+ "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{name}}-{{type}}",
+ "legendFormat": "Young GC number",
+ "range": true,
"refId": "A"
- }
- ],
- "title": "Slot In Database",
- "type": "timeseries"
- },
- {
- "collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 36
- },
- "id": 16,
- "panels": [],
- "targets": [
+ },
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "refId": "A"
+ "exemplar": true,
+ "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Full GC number",
+ "refId": "B"
}
],
- "title": "System",
- "type": "row"
+ "title": "The Number Of GC Per Minute",
+ "type": "timeseries"
},
{
"datasource": {
@@ -810,17 +1679,18 @@
"value": null
}
]
- }
+ },
+ "unit": "ns"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 37
+ "w": 8,
+ "x": 8,
+ "y": 47
},
- "id": 10,
+ "id": 21,
"options": {
"legend": {
"calcs": [],
@@ -840,9 +1710,9 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
+ "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
"interval": "",
- "legendFormat": "Young GC number",
+ "legendFormat": "The time of young GC",
"refId": "A"
},
{
@@ -851,14 +1721,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
+ "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
"hide": false,
"interval": "",
- "legendFormat": "Full GC number",
+ "legendFormat": "The time of full GC",
"refId": "B"
}
],
- "title": "The number of GC (per minute)",
+ "title": "The Time Consumed Of GC Per Minute",
"type": "timeseries"
},
{
@@ -908,18 +1778,17 @@
"value": null
}
]
- },
- "unit": "s"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 37
+ "w": 8,
+ "x": 16,
+ "y": 47
},
- "id": 8,
+ "id": 22,
"options": {
"legend": {
"calcs": [],
@@ -938,10 +1807,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
+ "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "The time of young GC",
+ "legendFormat": "Total Number",
+ "range": true,
"refId": "A"
},
{
@@ -950,14 +1821,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
+ "expr": "jvm_threads_states_threads{instance=~\"$instance\"}",
"hide": false,
"interval": "",
- "legendFormat": "The time of full GC",
+ "legendFormat": "{{state}}",
"refId": "B"
}
],
- "title": "The time consumed of GC(per minute)",
+ "title": "The Number Of Java Thread",
"type": "timeseries"
},
{
@@ -1014,11 +1885,11 @@
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
"x": 0,
- "y": 45
+ "y": 55
},
- "id": 6,
+ "id": 23,
"options": {
"legend": {
"calcs": [],
@@ -1048,11 +1919,13 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
"expr": "sum(jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\"})",
"hide": false,
"interval": "",
"legendFormat": "Used heap memory",
+ "range": true,
"refId": "B"
},
{
@@ -1149,11 +2022,11 @@
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 45
+ "w": 8,
+ "x": 8,
+ "y": 55
},
- "id": 4,
+ "id": 24,
"options": {
"legend": {
"calcs": [],
@@ -1172,21 +2045,19 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
"expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
"interval": "",
"legendFormat": "off-heap memory",
+ "range": true,
"refId": "A"
}
],
- "title": "Off-heap Memory",
+ "title": "Off Heap Memory",
"type": "timeseries"
},
{
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
"fieldConfig": {
"defaults": {
"color": {
@@ -1229,17 +2100,18 @@
"value": null
}
]
- }
+ },
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 53
+ "w": 8,
+ "x": 16,
+ "y": 55
},
- "id": 2,
+ "id": 25,
"options": {
"legend": {
"calcs": [],
@@ -1258,26 +2130,17 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
- "interval": "",
- "legendFormat": "The total number of jvm thread",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "jvm_threads_states_threads{instance=~\"$instance\"}",
+ "expr": "sum(rate(logback_events_total{instance=~\"${instance}\"}[1m])) by (level) * 60",
"hide": false,
"interval": "",
- "legendFormat": "{{state}}",
- "refId": "B"
+ "legendFormat": "{{level}}",
+ "range": true,
+ "refId": "C"
}
],
- "title": "The number of Java thread",
+ "title": "Log Number Per Minute",
"type": "timeseries"
},
{
@@ -1285,6 +2148,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -1328,106 +2192,17 @@
}
]
},
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 53
- },
- "id": 27,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "avg(rate(entry_seconds_sum{instance=\"$instance\"}[1m])/rate(entry_seconds_count{instance=\"$instance\"}[1m])) by (name,instance)",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
- }
- ],
- "title": "The time consumed of interface",
- "type": "timeseries"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "axisSoftMax": 0,
- "axisSoftMin": 0,
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "percentage",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "percent"
+ "unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
"x": 0,
- "y": 61
+ "y": 63
},
- "id": 42,
+ "id": 26,
"options": {
"legend": {
"calcs": [],
@@ -1446,14 +2221,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sys_cpu_load{instance=\"$instance\",name=\"system\"}",
+ "expr": "sum(rate(jvm_compilation_time_ms{instance=~\"${instance}\"}[1m]))*60",
"interval": "",
- "legendFormat": "System CPU Load",
+ "legendFormat": "compiler",
+ "range": true,
"refId": "A"
}
],
- "title": "CPU Load",
+ "title": "Time Time Consumed of Compilation Per Minute",
"type": "timeseries"
},
{
@@ -1503,18 +2280,17 @@
"value": null
}
]
- },
- "unit": "bytes"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 61
+ "w": 8,
+ "x": 8,
+ "y": 63
},
- "id": 44,
+ "id": 27,
"options": {
"legend": {
"calcs": [],
@@ -1533,10 +2309,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}-sys_free_physical_memory_size{instance=\"$instance\", name=\"system\"}",
+ "expr": "jvm_classes_unloaded_classes{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "Used physical memory",
+ "legendFormat": "Unloaded Number",
+ "range": true,
"refId": "A"
},
{
@@ -1544,19 +2322,21 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}",
+ "expr": "jvm_classes_loaded_classes{instance=~\"$instance\"}",
"hide": false,
"interval": "",
- "legendFormat": "Total physical memory",
+ "legendFormat": "Loaded Number",
+ "range": true,
"refId": "B"
}
],
- "title": "Memory",
+ "title": "The Number Of Class",
"type": "timeseries"
}
],
- "refresh": "15s",
+ "refresh": false,
"schemaVersion": 35,
"style": "dark",
"tags": [
@@ -1613,7 +2393,7 @@
]
},
"time": {
- "from": "now-7d",
+ "from": "now-30m",
"to": "now"
},
"timepicker": {
@@ -1629,6 +2409,6 @@
"timezone": "browser",
"title": "Apache IoTDB ConfigNode Dashboard",
"uid": "TbEVYRw7g",
- "version": 3,
+ "version": 1,
"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.json
similarity index 67%
rename from grafana-metrics-example/cluster/Apache IoTDB DataNode Dashboard v0.14.0.json
rename to grafana-metrics-example/cluster/Apache IoTDB DataNode Dashboard.json
index c6842e3da5..247057b1aa 100644
--- a/grafana-metrics-example/cluster/Apache IoTDB DataNode Dashboard v0.14.0.json
+++ b/grafana-metrics-example/cluster/Apache IoTDB DataNode Dashboard.json
@@ -23,6 +23,12 @@
"name": "Prometheus",
"version": "1.0.0"
},
+ {
+ "type": "panel",
+ "id": "stat",
+ "name": "Stat",
+ "version": ""
+ },
{
"type": "panel",
"id": "timeseries",
@@ -57,7 +63,7 @@
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
- "iteration": 1667383574315,
+ "iteration": 1669566440584,
"links": [],
"liveNow": false,
"panels": [
@@ -73,7 +79,7 @@
"x": 0,
"y": 0
},
- "id": 38,
+ "id": 1,
"panels": [],
"targets": [
{
@@ -140,11 +146,11 @@
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
"x": 0,
"y": 1
},
- "id": 36,
+ "id": 2,
"options": {
"legend": {
"calcs": [],
@@ -163,14 +169,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
"expr": "quantity{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "{{name}} number",
+ "legendFormat": "{{name}}",
+ "range": true,
"refId": "A"
}
],
- "title": "The number of entity",
+ "title": "The Number Of Entity",
"type": "timeseries"
},
{
@@ -222,11 +230,11 @@
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
+ "w": 8,
+ "x": 8,
"y": 1
},
- "id": 34,
+ "id": 3,
"options": {
"legend": {
"calcs": [],
@@ -245,14 +253,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
"expr": "rate(quantity_total{instance=~\"$instance\"}[1m])",
"interval": "1m",
- "legendFormat": "write point per second",
+ "legendFormat": "{{instance}} write point per second",
+ "range": true,
"refId": "A"
}
],
- "title": "write point per second",
+ "title": "Write Point Per Second",
"type": "timeseries"
},
{
@@ -309,11 +319,11 @@
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 9
+ "w": 8,
+ "x": 16,
+ "y": 1
},
- "id": 32,
+ "id": 4,
"options": {
"legend": {
"calcs": [],
@@ -341,9 +351,35 @@
"refId": "A"
}
],
- "title": "database used memory",
+ "title": "Database Used Memory",
"type": "timeseries"
},
+ {
+ "collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 9
+ },
+ "id": 5,
+ "panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "Interface",
+ "type": "row"
+ },
{
"datasource": {
"type": "prometheus",
@@ -392,17 +428,17 @@
}
]
},
- "unit": "bytes"
+ "unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 9
+ "w": 8,
+ "x": 0,
+ "y": 10
},
- "id": 44,
+ "id": 6,
"options": {
"legend": {
"calcs": [],
@@ -422,57 +458,16 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "exemplar": true,
- "expr": "sys_total_physical_memory_size{instance=~\"$instance\", name=\"system\"}-sys_free_physical_memory_size{instance=~\"$instance\", name=\"system\"}",
- "interval": "",
- "legendFormat": "Used physical memory",
- "range": true,
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "editorMode": "code",
- "exemplar": true,
- "expr": "sys_total_physical_memory_size{instance=~\"$instance\", name=\"system\"}",
+ "expr": "operation{instance=~\"$instance\", quantile=\"0.5\"}",
"hide": false,
- "interval": "",
- "legendFormat": "Total physical memory",
+ "legendFormat": "{{name}}",
"range": true,
"refId": "B"
}
],
- "title": "Memory",
+ "title": "The Time Consumed Of Operation (50%)",
"type": "timeseries"
},
- {
- "collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 17
- },
- "id": 30,
- "panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "Interface",
- "type": "row"
- },
{
"datasource": {
"type": "prometheus",
@@ -520,17 +515,18 @@
"value": null
}
]
- }
+ },
+ "unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 18
+ "w": 8,
+ "x": 8,
+ "y": 10
},
- "id": 24,
+ "id": 7,
"options": {
"legend": {
"calcs": [],
@@ -549,14 +545,15 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "rate(entry_seconds_count{instance=~\"$instance\"}[1m])",
- "interval": "",
+ "editorMode": "code",
+ "expr": "operation{instance=~\"$instance\", quantile=\"0.75\"}",
+ "hide": false,
"legendFormat": "{{name}}",
- "refId": "A"
+ "range": true,
+ "refId": "B"
}
],
- "title": "The QPS of interface",
+ "title": "The Time Consumed Of Operation (75%)",
"type": "timeseries"
},
{
@@ -607,17 +604,17 @@
}
]
},
- "unit": "s"
+ "unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 18
+ "w": 8,
+ "x": 16,
+ "y": 10
},
- "id": 26,
+ "id": 8,
"options": {
"legend": {
"calcs": [],
@@ -636,14 +633,15 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "avg(rate(entry_seconds_sum{instance=~\"$instance\"}[1m])/rate(entry_seconds_count{instance=~\"$instance\"}[1m])) by (name,instance)",
- "interval": "",
+ "editorMode": "code",
+ "expr": "operation{instance=~\"$instance\", quantile=\"1.0\"}",
+ "hide": false,
"legendFormat": "{{name}}",
- "refId": "A"
+ "range": true,
+ "refId": "B"
}
],
- "title": "The time consumed of interface",
+ "title": "The Time Consumed Of Operation (100%)",
"type": "timeseries"
},
{
@@ -685,8 +683,6 @@
}
},
"mappings": [],
- "max": 1,
- "min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
@@ -696,17 +692,17 @@
}
]
},
- "unit": "percentunit"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
"x": 0,
- "y": 26
+ "y": 18
},
- "id": 40,
+ "id": 9,
"options": {
"legend": {
"calcs": [],
@@ -716,65 +712,27 @@
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "desc"
}
},
- "pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "avg(cache_total{instance=~\"$instance\", type=\"hit\"}) by (name) / avg(cache_total{instance=~\"$instance\", type=\"all\"}) by (name)",
- "format": "time_series",
+ "expr": "rate(entry_seconds_count{instance=~\"$instance\"}[1m])",
"interval": "",
"legendFormat": "{{name}}",
+ "range": true,
"refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "cache_hit{instance=~\"$instance\"} / 100",
- "hide": false,
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "B"
}
],
- "title": "Cache hit rate",
+ "title": "The QPS Of Interface",
"type": "timeseries"
},
- {
- "collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 34
- },
- "id": 58,
- "panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "Engine",
- "type": "row"
- },
{
"datasource": {
"type": "prometheus",
@@ -822,17 +780,18 @@
"value": null
}
]
- }
+ },
+ "unit": "ns"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 35
+ "w": 8,
+ "x": 8,
+ "y": 18
},
- "id": 18,
+ "id": 10,
"options": {
"legend": {
"calcs": [],
@@ -842,7 +801,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "desc"
}
},
"targets": [
@@ -853,14 +812,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "queue{}",
+ "expr": "avg(rate(entry_seconds_sum{instance=~\"$instance\"}[1m])/rate(entry_seconds_count{instance=~\"$instance\"}[1m])) by (name,instance)",
"interval": "",
- "legendFormat": "{{instance}}-{{name}}-{{status}}",
+ "legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
- "title": "Task number(pending and active)",
+ "title": "The Time Consumed Of Interface",
"type": "timeseries"
},
{
@@ -902,6 +861,8 @@
}
},
"mappings": [],
+ "max": 1,
+ "min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
@@ -911,17 +872,17 @@
}
]
},
- "unit": "s"
+ "unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 35
+ "w": 8,
+ "x": 16,
+ "y": 18
},
- "id": 20,
+ "id": 11,
"options": {
"legend": {
"calcs": [],
@@ -931,52 +892,38 @@
},
"tooltip": {
"mode": "multi",
- "sort": "desc"
+ "sort": "none"
}
},
+ "pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "rate(cost_task_seconds_sum{}[1m])/rate(cost_task_seconds_count{}[1m])",
+ "expr": "avg(cache_total{instance=~\"$instance\", type=\"hit\"}) by (name) / avg(cache_total{instance=~\"$instance\", type=\"all\"}) by (name)",
+ "format": "time_series",
"interval": "",
- "legendFormat": "{{instance}}-{{name}}",
- "range": true,
+ "legendFormat": "{{name}}",
"refId": "A"
- }
- ],
- "title": "The time consumed of task(pending and active)",
- "type": "timeseries"
- },
- {
- "collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 43
- },
- "id": 22,
- "panels": [],
- "targets": [
+ },
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "refId": "A"
+ "exemplar": true,
+ "expr": "cache_hit{instance=~\"$instance\"} / 100",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "{{name}}",
+ "refId": "B"
}
],
- "title": "IoTConsensus",
- "type": "row"
+ "title": "Cache Hit Rate",
+ "type": "timeseries"
},
{
"datasource": {
@@ -1026,7 +973,7 @@
}
]
},
- "unit": "bytes"
+ "unit": "none"
},
"overrides": []
},
@@ -1034,9 +981,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 44
+ "y": 26
},
- "id": 47,
+ "id": 12,
"options": {
"legend": {
"calcs": [],
@@ -1057,18 +1004,21 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "mem{name=\"IoTConsensus\"}",
+ "expr": "thrift_connections{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "{{instance}}",
+ "legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
- "title": "IoTConsensus Used Memory",
+ "title": "Thrift Connection",
"type": "timeseries"
},
{
- "description": "",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -1109,13 +1059,10 @@
{
"color": "green",
"value": null
- },
- {
- "color": "red",
- "value": 80
}
]
- }
+ },
+ "unit": "none"
},
"overrides": []
},
@@ -1123,9 +1070,9 @@
"h": 8,
"w": 8,
"x": 8,
- "y": 44
+ "y": 26
},
- "id": 56,
+ "id": 13,
"options": {
"legend": {
"calcs": [],
@@ -1146,36 +1093,47 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}",
+ "expr": "thrift_active_threads{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "{{region}}-safeIndex",
+ "legendFormat": "{{name}}",
"range": true,
"refId": "A"
- },
+ }
+ ],
+ "title": "Thrift Active Thread",
+ "type": "timeseries"
+ },
+ {
+ "collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 34
+ },
+ "id": 14,
+ "panels": [],
+ "targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
- "exemplar": true,
- "expr": "iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "{{region}}-searchIndex",
- "range": true,
- "refId": "B"
+ "refId": "A"
}
],
- "title": "IoTConsensus Sync Index",
- "type": "timeseries"
+ "title": "Engine",
+ "type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -1218,18 +1176,17 @@
"value": null
}
]
- },
- "unit": "none"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 8,
- "x": 16,
- "y": 44
+ "w": 12,
+ "x": 0,
+ "y": 35
},
- "id": 52,
+ "id": 15,
"options": {
"legend": {
"calcs": [],
@@ -1239,7 +1196,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "desc"
+ "sort": "none"
}
},
"targets": [
@@ -1250,29 +1207,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(iot_consensus{name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}) by (instance) - sum(iot_consensus{name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}) by (instance)",
- "hide": false,
+ "expr": "queue{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "{{instance}} Total Sync Lag",
+ "legendFormat": "{{name}}-{{status}}",
"range": true,
"refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "editorMode": "code",
- "exemplar": true,
- "expr": "sum(iot_consensus{type=~\"cachedRequestInMemoryQueue\"}) by (instance)",
- "hide": false,
- "interval": "",
- "legendFormat": "{{instance}} Cached Request",
- "range": true,
- "refId": "B"
}
],
- "title": "IoTConsensus Overview",
+ "title": "Task Number",
"type": "timeseries"
},
{
@@ -1280,7 +1222,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -1324,17 +1265,17 @@
}
]
},
- "unit": "ms"
+ "unit": "ns"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 8,
- "x": 0,
- "y": 52
+ "w": 12,
+ "x": 12,
+ "y": 35
},
- "id": 64,
+ "id": 16,
"options": {
"legend": {
"calcs": [],
@@ -1355,14 +1296,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "avg(stage{quantile=\"0.5\"}) by (instance, type)",
+ "expr": "rate(cost_task_seconds_sum{}[1m])/rate(cost_task_seconds_count{}[1m])",
"interval": "",
- "legendFormat": "{{instance}}-{{type}}",
+ "legendFormat": "{{instance}}-{{name}}",
"range": true,
"refId": "A"
}
],
- "title": "The time consumed of different stages(50%)",
+ "title": "The Time Consumed of Task",
"type": "timeseries"
},
{
@@ -1370,7 +1311,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -1414,17 +1354,17 @@
}
]
},
- "unit": "ms"
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 8,
- "y": 52
+ "x": 0,
+ "y": 43
},
- "id": 65,
+ "id": 17,
"options": {
"legend": {
"calcs": [],
@@ -1445,14 +1385,26 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "avg(stage{quantile=\"0.75\"}) by (instance, type)",
+ "expr": "sum(rate(data_written_total{instance=~\"$instance\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{instance}}-{{type}}",
+ "legendFormat": "Write",
"range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sum(rate(data_read_total{instance=~\"$instance\"}[1m]))*60",
+ "hide": false,
+ "legendFormat": "Read",
+ "range": true,
+ "refId": "B"
}
],
- "title": "The time consumed of different stages(75%)",
+ "title": "Compaction Read And Write Per Minute",
"type": "timeseries"
},
{
@@ -1460,7 +1412,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -1504,17 +1455,17 @@
}
]
},
- "unit": "ms"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 16,
- "y": 52
+ "x": 8,
+ "y": 43
},
- "id": 66,
+ "id": 18,
"options": {
"legend": {
"calcs": [],
@@ -1535,14 +1486,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "avg(stage{quantile=\"1.0\"}) by (instance, type)",
+ "expr": "sum(rate(data_read_total{instance=~\"$instance\"}[1m]))*60 / sum(rate(data_written_total{instance=~\"$instance\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{instance}}-{{type}}",
+ "legendFormat": "Write",
"range": true,
"refId": "A"
}
],
- "title": "The time consumed of different stages(100%)",
+ "title": "Compaction R/W Ratio Per Minute",
"type": "timeseries"
},
{
@@ -1550,7 +1501,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -1591,23 +1541,20 @@
{
"color": "green",
"value": null
- },
- {
- "color": "red",
- "value": 80
}
]
- }
+ },
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 0,
- "y": 60
+ "x": 16,
+ "y": 43
},
- "id": 55,
+ "id": 19,
"options": {
"legend": {
"calcs": [],
@@ -1626,22 +1573,73 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}[1m])",
+ "expr": "sum(rate(compaction_task_count_total{instance=\"$instance\", name = \"inner_compaction\", type=\"sequence\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{region}}",
+ "legendFormat": "sequence",
+ "range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sum(rate(compaction_task_count_total{instance=\"$instance\", name = \"inner_compaction\", type=\"unsequence\"}[1m]))*60",
+ "hide": false,
+ "legendFormat": "unsequence",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sum(rate(compaction_task_count_total{instance=\"$instance\", name = \"cross_compaction\", type=\"cross\"}[1m]))*60",
+ "hide": false,
+ "legendFormat": "cross",
+ "range": true,
+ "refId": "C"
}
],
- "title": "IoTConsensus Search Index Rate",
+ "title": "Compaction Number Per Minute",
"type": "timeseries"
},
+ {
+ "collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 51
+ },
+ "id": 20,
+ "panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "IoT Consensus",
+ "type": "row"
+ },
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -1682,23 +1680,20 @@
{
"color": "green",
"value": null
- },
- {
- "color": "red",
- "value": 80
}
]
- }
+ },
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 8,
- "y": 60
+ "x": 0,
+ "y": 52
},
- "id": 67,
+ "id": 21,
"options": {
"legend": {
"calcs": [],
@@ -1719,14 +1714,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}[1m])",
+ "expr": "mem{name=\"IoTConsensus\"}",
"interval": "",
- "legendFormat": "{{region}}",
+ "legendFormat": "{{instance}}",
"range": true,
"refId": "A"
}
],
- "title": "IoTConsensus Safe Index Rate",
+ "title": "IoTConsensus Used Memory",
"type": "timeseries"
},
{
@@ -1734,6 +1729,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -1774,20 +1770,23 @@
{
"color": "green",
"value": null
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
- },
- "unit": "none"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 16,
- "y": 60
+ "x": 8,
+ "y": 52
},
- "id": 51,
+ "id": 22,
"options": {
"legend": {
"calcs": [],
@@ -1806,14 +1805,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(iot_consensus{instance=~\"$instance\", type=~\"cachedRequestInMemoryQueue\"}) by (region, name)",
+ "expr": "iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}",
"interval": "",
- "legendFormat": "{{region}} {{name}}",
+ "legendFormat": "{{region}}",
+ "range": true,
"refId": "A"
}
],
- "title": "IoTConsensus LogDispatcher Request Size",
+ "title": "IoTConsensus Sync Index",
"type": "timeseries"
},
{
@@ -1821,7 +1822,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "Total Sync Gap of region",
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -1872,10 +1873,10 @@
"gridPos": {
"h": 8,
"w": 8,
- "x": 0,
- "y": 68
+ "x": 16,
+ "y": 52
},
- "id": 48,
+ "id": 23,
"options": {
"legend": {
"calcs": [],
@@ -1894,16 +1895,31 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}) by (region) - sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}) by (region)",
+ "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}) by (instance) - sum(iot_consensus{name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}) by (instance)",
"hide": false,
"interval": "",
- "legendFormat": "{{region}}",
+ "legendFormat": "Total Sync Lag",
+ "range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sum(iot_consensus{instance=~\"$instance\", type=~\"cachedRequestInMemoryQueue\"}) by (instance)",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Cached Request",
+ "range": true,
+ "refId": "B"
}
],
- "title": "Sync Lag",
- "transformations": [],
+ "title": "IoTConsensus Overview",
"type": "timeseries"
},
{
@@ -1911,7 +1927,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "Gap between write and fastest LogDispatcherThread in one region",
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -1955,17 +1971,17 @@
}
]
},
- "unit": "none"
+ "unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 8,
- "y": 68
+ "x": 0,
+ "y": 60
},
- "id": 49,
+ "id": 24,
"options": {
"legend": {
"calcs": [],
@@ -1984,18 +2000,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}) by (region) - max(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region)",
- "format": "time_series",
- "instant": false,
+ "expr": "avg(stage{quantile=\"0.5\", instance=~\"${instance}\"}) by (instance, type)",
"interval": "",
- "intervalFactor": 1,
- "legendFormat": "{{region}}",
+ "legendFormat": "{{type}}",
+ "range": true,
"refId": "A"
}
],
- "title": "Min Peer Sync Lag",
- "transformations": [],
+ "title": "The Time Consumed Of Different Stages (50%)",
"type": "timeseries"
},
{
@@ -2003,7 +2017,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "Gap between fastest LogDispatcherThread and slowest LogDispatcherThread in one region",
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -2047,17 +2061,17 @@
}
]
},
- "unit": "none"
+ "unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 16,
- "y": 68
+ "x": 8,
+ "y": 60
},
- "id": 53,
+ "id": 25,
"options": {
"legend": {
"calcs": [],
@@ -2076,51 +2090,114 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "max(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region) - min(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region)",
- "format": "time_series",
- "instant": false,
+ "expr": "avg(stage{quantile=\"0.75\", instance=~\"${instance}\"}) by (instance, type)",
"interval": "",
- "intervalFactor": 1,
- "legendFormat": "{{region}}",
+ "legendFormat": "{{type}}",
+ "range": true,
"refId": "A"
}
],
- "title": "Sync speed diff of Peers",
- "transformations": [],
+ "title": "The Time Consumed Of Different Stages (75%)",
"type": "timeseries"
},
{
- "collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "ms"
+ },
+ "overrides": []
+ },
"gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 76
+ "h": 8,
+ "w": 8,
+ "x": 16,
+ "y": 60
+ },
+ "id": 26,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
},
- "id": 16,
- "panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "avg(stage{quantile=\"1.0\", instance=~\"${instance}\"}) by (instance, type)",
+ "interval": "",
+ "legendFormat": "{{type}}",
+ "range": true,
"refId": "A"
}
],
- "title": "CPU",
- "type": "row"
+ "title": "The Time Consumed Of Different Stages (100%)",
+ "type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -2129,8 +2206,6 @@
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMax": 0,
- "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -2158,25 +2233,28 @@
},
"mappings": [],
"thresholds": {
- "mode": "percentage",
+ "mode": "absolute",
"steps": [
{
"color": "green",
"value": null
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
- },
- "unit": "percent"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
"x": 0,
- "y": 77
+ "y": 68
},
- "id": 42,
+ "id": 27,
"options": {
"legend": {
"calcs": [],
@@ -2186,7 +2264,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "desc"
}
},
"targets": [
@@ -2197,14 +2275,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sys_cpu_load{instance=~\"$instance\",name=\"system\"}",
+ "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}[1m])",
"interval": "",
- "legendFormat": "System CPU Load",
+ "legendFormat": "{{region}}",
"range": true,
"refId": "A"
}
],
- "title": "CPU Load",
+ "title": "IoTConsensus Search Index Rate",
"type": "timeseries"
},
{
@@ -2212,6 +2290,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -2220,8 +2299,6 @@
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMax": 0,
- "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -2249,25 +2326,28 @@
},
"mappings": [],
"thresholds": {
- "mode": "percentage",
+ "mode": "absolute",
"steps": [
{
"color": "green",
"value": null
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
- },
- "unit": "percent"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 77
+ "w": 8,
+ "x": 8,
+ "y": 68
},
- "id": 63,
+ "id": 28,
"options": {
"legend": {
"calcs": [],
@@ -2277,7 +2357,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "desc"
}
},
"targets": [
@@ -2288,47 +2368,111 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "process_cpu_load{instance=~\"$instance\", name=\"process\"}",
+ "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}[1m])",
"interval": "",
- "legendFormat": "Process CPU Load",
+ "legendFormat": "{{region}}",
"range": true,
"refId": "A"
}
],
- "title": "Process CPU Load",
+ "title": "IoTConsensus Safe Index Rate",
"type": "timeseries"
},
{
- "collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
"gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 85
+ "h": 8,
+ "w": 8,
+ "x": 16,
+ "y": 68
+ },
+ "id": 29,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
},
- "id": 60,
- "panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sum(iot_consensus{instance=~\"$instance\", type=~\"cachedRequestInMemoryQueue\"}) by (region, name)",
+ "interval": "",
+ "legendFormat": "{{region}} {{name}}",
+ "range": true,
"refId": "A"
}
],
- "title": "File System",
- "type": "row"
+ "title": "IoTConsensus LogDispatcher Request Size",
+ "type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "Total Sync Gap of region",
"fieldConfig": {
"defaults": {
"color": {
@@ -2372,17 +2516,1211 @@
}
]
},
- "unit": "bytes"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
+ "x": 0,
+ "y": 76
+ },
+ "id": 30,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}) by (region) - sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}) by (region)",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "{{region}}",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "title": "Sync Lag",
+ "transformations": [],
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "Gap between write and fastest LogDispatcherThread in one region",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 8,
+ "y": 76
+ },
+ "id": 31,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}) by (region) - max(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region)",
+ "format": "time_series",
+ "instant": false,
+ "interval": "",
+ "intervalFactor": 1,
+ "legendFormat": "{{region}}",
+ "refId": "A"
+ }
+ ],
+ "title": "Min Peer Sync Lag",
+ "transformations": [],
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "Gap between fastest LogDispatcherThread and slowest LogDispatcherThread in one region",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 16,
+ "y": 76
+ },
+ "id": 32,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "max(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region) - min(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region)",
+ "format": "time_series",
+ "instant": false,
+ "interval": "",
+ "intervalFactor": 1,
+ "legendFormat": "{{region}}",
+ "refId": "A"
+ }
+ ],
+ "title": "Sync Speed Diff Of Peers",
+ "transformations": [],
+ "type": "timeseries"
+ },
+ {
+ "collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 84
+ },
+ "id": 33,
+ "panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "System",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "Core"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 0,
+ "y": 85
+ },
+ "id": 34,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "textMode": "auto"
+ },
+ "pluginVersion": "8.4.2",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_cpu_cores{instance=\"$instance\",name=\"system\"}",
+ "interval": "",
+ "legendFormat": "__auto",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "title": "CPU Core",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "percent"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 8,
+ "y": 85
+ },
+ "id": 35,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_cpu_load{instance=\"$instance\",name=\"system\"}",
+ "interval": "",
+ "legendFormat": "System CPU Load",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "process_cpu_load{instance=\"$instance\",name=\"process\"}",
+ "hide": false,
+ "legendFormat": "Process CPU Load",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "CPU Load",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "ns"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 16,
+ "y": 85
+ },
+ "id": 40,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sum(rate(process_cpu_time{instance=\"$instance\",name=\"process\"}[1m]))*60",
+ "interval": "",
+ "legendFormat": "System CPU Load",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "title": "CPU Time(per minute)",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 0,
+ "y": 93
+ },
+ "id": 41,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}-sys_free_physical_memory_size{instance=\"$instance\", name=\"system\"}",
+ "interval": "",
+ "legendFormat": "Used physical memory",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}",
+ "hide": false,
+ "legendFormat": "Total physical memory",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sys_committed_vm_size{instance=\"$instance\"}",
+ "hide": false,
+ "legendFormat": "Committed vm size",
+ "range": true,
+ "refId": "C"
+ }
+ ],
+ "title": "System Memory",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 8,
+ "y": 93
+ },
+ "id": 42,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_total_swap_space_size{instance=\"$instance\", name=\"system\"} - sys_free_swap_space_size{instance=\"$instance\", name=\"system\"}",
+ "interval": "",
+ "legendFormat": "Used Swap Size",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sys_total_swap_space_size{instance=\"$instance\", name=\"system\"}",
+ "hide": false,
+ "legendFormat": "Total Swap Size",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "System Swap Size",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 16,
+ "y": 93
+ },
+ "id": 43,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "process_max_mem{instance=~\"${instance}\"}",
+ "interval": "",
+ "legendFormat": "Max Memory",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "process_total_mem{instance=~\"${instance}\"}",
+ "hide": false,
+ "legendFormat": "Total Memory",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "process_total_mem{instance=~\"${instance}\"} - process_free_mem{instance=~\"${instance}\"}",
+ "hide": false,
+ "legendFormat": "Used Memory",
+ "range": true,
+ "refId": "C"
+ }
+ ],
+ "title": "Process Memory",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 0,
+ "y": 101
+ },
+ "id": 44,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "file_size{instance=~\"$instance\"}",
+ "interval": "",
+ "legendFormat": "{{name}}",
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "sum(file_size{instance=~\"$instance\"})",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "total size of file",
+ "refId": "B"
+ }
+ ],
+ "title": "The Size Of File",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 8,
+ "y": 101
+ },
+ "id": 45,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "file_count{instance=~\"$instance\"}",
+ "interval": "",
+ "legendFormat": "{{name}}",
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "sum(file_count{instance=~\"$instance\"})",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "total number of file",
+ "refId": "B"
+ }
+ ],
+ "title": "The Number Of File",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "axisSoftMin": -5,
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ },
+ "unit": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 16,
+ "y": 101
+ },
+ "id": 46,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_disk_total_space{instance=~\"$instance\", name=\"system\"}-sys_disk_free_space{instance=\"$instance\", name=\"system\"}",
+ "interval": "",
+ "legendFormat": "Used disk space",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_disk_total_space{instance=~\"$instance\", name=\"system\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Total disk space",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "The Space of Disk",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 7,
+ "w": 8,
"x": 0,
- "y": 86
+ "y": 109
},
- "id": 12,
+ "id": 47,
"options": {
"legend": {
"calcs": [],
@@ -2392,7 +3730,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "desc"
+ "sort": "none"
}
},
"targets": [
@@ -2401,10 +3739,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "file_size{instance=~\"$instance\"}",
+ "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "Young GC number",
+ "range": true,
"refId": "A"
},
{
@@ -2413,14 +3753,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(file_size{instance=~\"$instance\"})",
+ "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
"hide": false,
"interval": "",
- "legendFormat": "total size of file",
+ "legendFormat": "Full GC number",
"refId": "B"
}
],
- "title": "The size of file",
+ "title": "The Number of GC Per Minute",
"type": "timeseries"
},
{
@@ -2470,17 +3810,18 @@
"value": null
}
]
- }
+ },
+ "unit": "ns"
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 86
+ "h": 7,
+ "w": 8,
+ "x": 8,
+ "y": 109
},
- "id": 14,
+ "id": 48,
"options": {
"legend": {
"calcs": [],
@@ -2500,9 +3841,9 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "file_count{instance=~\"$instance\"}",
+ "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "The time of young GC",
"refId": "A"
},
{
@@ -2511,14 +3852,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(file_count{instance=~\"$instance\"})",
+ "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
"hide": false,
"interval": "",
- "legendFormat": "total number of file",
+ "legendFormat": "The time of full GC",
"refId": "B"
}
],
- "title": "The number of file",
+ "title": "The Time Consumed Of GC Per Minute",
"type": "timeseries"
},
{
@@ -2534,7 +3875,6 @@
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMin": -5,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -2569,18 +3909,17 @@
"value": null
}
]
- },
- "unit": "bytes"
+ }
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 94
+ "h": 7,
+ "w": 8,
+ "x": 16,
+ "y": 109
},
- "id": 46,
+ "id": 49,
"options": {
"legend": {
"calcs": [],
@@ -2590,7 +3929,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "desc"
+ "sort": "none"
}
},
"targets": [
@@ -2599,12 +3938,10 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "sys_disk_total_space{instance=~\"$instance\", name=\"system\"}-sys_disk_free_space{instance=\"$instance\", name=\"system\"}",
+ "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "Used disk space",
- "range": true,
+ "legendFormat": "The total number of jvm thread",
"refId": "A"
},
{
@@ -2612,45 +3949,17 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "sys_disk_total_space{instance=~\"$instance\", name=\"system\"}",
+ "expr": "jvm_threads_states_threads{instance=~\"$instance\"}",
"hide": false,
"interval": "",
- "legendFormat": "Total disk space",
- "range": true,
+ "legendFormat": "{{state}}",
"refId": "B"
}
],
- "title": "Disk Space",
+ "title": "The Number Of Java Thread",
"type": "timeseries"
},
- {
- "collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 102
- },
- "id": 62,
- "panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "JVM",
- "type": "row"
- },
{
"datasource": {
"type": "prometheus",
@@ -2698,17 +4007,18 @@
"value": null
}
]
- }
+ },
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
"x": 0,
- "y": 103
+ "y": 116
},
- "id": 10,
+ "id": 50,
"options": {
"legend": {
"calcs": [],
@@ -2728,9 +4038,9 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
+ "expr": "sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})",
"interval": "",
- "legendFormat": "Young GC number",
+ "legendFormat": "Maximum heap memory",
"refId": "A"
},
{
@@ -2739,21 +4049,53 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
+ "expr": "sum(jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\"})",
"hide": false,
"interval": "",
- "legendFormat": "Full GC number",
+ "legendFormat": "Used heap memory",
"refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Old Gen\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Old area",
+ "refId": "C"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Eden Space\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Eden area",
+ "refId": "D"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Survivor Space\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Survivor area",
+ "refId": "E"
}
],
- "title": "The number of GC (per minute)",
+ "title": "Heap Memory",
"type": "timeseries"
},
{
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
"fieldConfig": {
"defaults": {
"color": {
@@ -2797,17 +4139,17 @@
}
]
},
- "unit": "s"
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 103
+ "w": 8,
+ "x": 8,
+ "y": 116
},
- "id": 8,
+ "id": 51,
"options": {
"legend": {
"calcs": [],
@@ -2827,32 +4169,16 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
+ "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
"interval": "",
- "legendFormat": "The time of young GC",
+ "legendFormat": "off heap memory",
"refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
- "hide": false,
- "interval": "",
- "legendFormat": "The time of full GC",
- "refId": "B"
}
],
- "title": "The time consumed of GC(per minute)",
+ "title": "Off Heap Memory",
"type": "timeseries"
},
{
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
"fieldConfig": {
"defaults": {
"color": {
@@ -2896,17 +4222,17 @@
}
]
},
- "unit": "bytes"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 111
+ "w": 8,
+ "x": 16,
+ "y": 116
},
- "id": 6,
+ "id": 52,
"options": {
"legend": {
"calcs": [],
@@ -2916,7 +4242,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "desc"
}
},
"targets": [
@@ -2925,62 +4251,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})",
+ "expr": "sum(rate(logback_events_total{instance=~\"${instance}\"}[1m])) by (level) * 60",
"interval": "",
- "legendFormat": "Maximum heap memory",
+ "legendFormat": "{{level}}",
+ "range": true,
"refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\"})",
- "hide": false,
- "interval": "",
- "legendFormat": "Used heap memory",
- "refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Old Gen\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "Old area",
- "refId": "C"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Eden Space\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "Eden area",
- "refId": "D"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Survivor Space\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "Survivor area",
- "refId": "E"
}
],
- "title": "Heap Memory",
+ "title": "Log Number Per Minute",
"type": "timeseries"
},
{
@@ -2988,6 +4268,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -3031,17 +4312,17 @@
}
]
},
- "unit": "bytes"
+ "unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 111
+ "w": 8,
+ "x": 0,
+ "y": 124
},
- "id": 4,
+ "id": 53,
"options": {
"legend": {
"calcs": [],
@@ -3060,14 +4341,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
+ "expr": "sum(rate(jvm_compilation_time_ms{instance=~\"${instance}\"}[1m]))*60",
"interval": "",
- "legendFormat": "off-heap memory",
+ "legendFormat": "compiler",
+ "range": true,
"refId": "A"
}
],
- "title": "Off-heap Memory",
+ "title": "The Time Consumed Of Compilation Per Minute",
"type": "timeseries"
},
{
@@ -3075,6 +4358,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -3117,17 +4401,18 @@
"value": null
}
]
- }
+ },
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 119
+ "w": 8,
+ "x": 8,
+ "y": 124
},
- "id": 2,
+ "id": 54,
"options": {
"legend": {
"calcs": [],
@@ -3137,7 +4422,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "desc"
}
},
"targets": [
@@ -3146,10 +4431,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
+ "expr": "jvm_classes_unloaded_classes{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "The total number of jvm thread",
+ "legendFormat": "Unloaded Number",
+ "range": true,
"refId": "A"
},
{
@@ -3157,19 +4444,19 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "jvm_threads_states_threads{instance=~\"$instance\"}",
+ "editorMode": "code",
+ "expr": "jvm_classes_loaded_classes{instance=~\"$instance\"}",
"hide": false,
- "interval": "",
- "legendFormat": "{{state}}",
+ "legendFormat": "Loaded Number",
+ "range": true,
"refId": "B"
}
],
- "title": "The number of Java thread",
+ "title": "The Number Of Class",
"type": "timeseries"
}
],
- "refresh": false,
+ "refresh": "15s",
"schemaVersion": 35,
"style": "dark",
"tags": [
@@ -3226,7 +4513,7 @@
]
},
"time": {
- "from": "now-3h",
+ "from": "now-30m",
"to": "now"
},
"timepicker": {
@@ -3242,6 +4529,6 @@
"timezone": "browser",
"title": "Apache IoTDB DataNode Dashboard",
"uid": "TbEVYRw7m",
- "version": 3,
+ "version": 1,
"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
deleted file mode 100644
index bc135d5722..0000000000
--- a/grafana-metrics-example/standalone/Apache IoTDB Dashboard v0.14.0.json
+++ /dev/null
@@ -1,1519 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_PROMETHEUS",
- "label": "Prometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__elements": [],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "8.4.2"
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "timeseries",
- "name": "Time series",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "target": {
- "limit": 100,
- "matchAny": false,
- "tags": [],
- "type": "dashboard"
- },
- "type": "dashboard"
- }
- ]
- },
- "description": "",
- "editable": true,
- "fiscalYearStartMonth": 0,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1664934999432,
- "links": [],
- "liveNow": false,
- "panels": [
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 38,
- "panels": [],
- "title": "Overview",
- "type": "row"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 1
- },
- "id": 36,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "quantity{instance=~\"$instance\"}",
- "interval": "",
- "legendFormat": "{{name}} number",
- "refId": "A"
- }
- ],
- "title": "The number of entity",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 1
- },
- "id": 34,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(quantity_total{instance=~\"$instance\"}[1m])",
- "interval": "",
- "legendFormat": "write point per minute",
- "refId": "A"
- }
- ],
- "title": "write point per minute",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 9
- },
- "id": 32,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "mem{instance=~\"$instance\"}",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
- }
- ],
- "title": "database used memory",
- "type": "timeseries"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 17
- },
- "id": 30,
- "panels": [],
- "title": "Interface",
- "type": "row"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 18
- },
- "id": 24,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(entry_seconds_count{instance=~\"$instance\"}[1m])",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
- }
- ],
- "title": "The QPS of interface",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 18
- },
- "id": 26,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "avg(rate(entry_seconds_sum{instance=~\"$instance\"}[1m])/rate(entry_seconds_count{instance=~\"$instance\"}[1m])) by (name,instance)",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
- }
- ],
- "title": "The time consumed of interface",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 26
- },
- "id": 28,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "cache_hit{instance=~\"$instance\"}",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
- }
- ],
- "title": "Cache hit rate",
- "type": "timeseries"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 34
- },
- "id": 22,
- "panels": [],
- "title": "Engine",
- "type": "row"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 35
- },
- "id": 18,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "queue{instance=~\"$instance\"}",
- "interval": "",
- "legendFormat": "{{name}}-{{status}}",
- "refId": "A"
- }
- ],
- "title": "Task number(pending and active)",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 35
- },
- "id": 20,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(cost_task_seconds_sum{instance=~\"$instance\"}[10m])/rate(cost_task_seconds_count{instance=~\"$instance\"}[10m])",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
- }
- ],
- "title": "The time consumed of task(pending and active)",
- "type": "timeseries"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 43
- },
- "id": 16,
- "panels": [],
- "title": "System",
- "type": "row"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 44
- },
- "id": 12,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "file_size{instance=~\"$instance\"}",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(file_size{instance=~\"$instance\"})",
- "hide": false,
- "interval": "",
- "legendFormat": "total size of file",
- "refId": "B"
- }
- ],
- "title": "The size of file",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 44
- },
- "id": 14,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "file_count{instance=~\"$instance\"}",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(file_count{instance=~\"$instance\"})",
- "hide": false,
- "interval": "",
- "legendFormat": "total number of file",
- "refId": "B"
- }
- ],
- "title": "The number of file",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 52
- },
- "id": 10,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
- "interval": "",
- "legendFormat": "Young GC number",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
- "hide": false,
- "interval": "",
- "legendFormat": "Full GC number",
- "refId": "B"
- }
- ],
- "title": "The number of GC (per minute)",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 52
- },
- "id": 8,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
- "interval": "1m",
- "legendFormat": "The time of young GC",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
- "hide": false,
- "interval": "1m",
- "legendFormat": "The time of full GC",
- "refId": "B"
- }
- ],
- "title": "The time consumed of GC(per minute)",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 60
- },
- "id": 6,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})",
- "interval": "1m",
- "legendFormat": "Maximum heap memory",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\"})",
- "hide": false,
- "interval": "1m",
- "legendFormat": "Used heap memory",
- "refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Old Gen\"}",
- "hide": false,
- "interval": "1m",
- "legendFormat": "Old area",
- "refId": "C"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Eden Space\"}",
- "hide": false,
- "interval": "1m",
- "legendFormat": "Eden area",
- "refId": "D"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Survivor Space\"}",
- "hide": false,
- "interval": "1m",
- "legendFormat": "Survivor area",
- "refId": "E"
- }
- ],
- "title": "Heap Memory",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 60
- },
- "id": 4,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
- "interval": "",
- "legendFormat": "off-heap memory",
- "refId": "A"
- }
- ],
- "title": "Off-heap Memory",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 68
- },
- "id": 2,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single",
- "sort": "none"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
- "interval": "",
- "legendFormat": "The total number of jvm thread",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "jvm_threads_states_threads{instance=~\"$instance\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "{{state}}",
- "refId": "B"
- }
- ],
- "title": "The number of Java thread",
- "type": "timeseries"
- }
- ],
- "refresh": false,
- "schemaVersion": 35,
- "style": "dark",
- "tags": [
- "Apache-IoTDB",
- "v0.14.0"
- ],
- "templating": {
- "list": [
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "definition": "label_values(job)",
- "hide": 0,
- "includeAll": false,
- "multi": false,
- "name": "job",
- "options": [],
- "query": {
- "query": "label_values(job)",
- "refId": "StandardVariableQuery"
- },
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "type": "query"
- },
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "definition": "label_values(up{job=~\"$job\"},instance)",
- "hide": 0,
- "includeAll": false,
- "multi": false,
- "name": "instance",
- "options": [],
- "query": {
- "query": "label_values(up{job=~\"$job\"},instance)",
- "refId": "StandardVariableQuery"
- },
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "type": "query"
- }
- ]
- },
- "time": {
- "from": "now-30m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "15s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m"
- ]
- },
- "timezone": "browser",
- "title": "Apache IoTDB Dashboard",
- "uid": "TbEVYRw7k",
- "version": 4,
- "weekStart": ""
-}
\ No newline at end of file