You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ta...@apache.org on 2023/03/17 09:25:57 UTC
[iotdb] branch master updated: Seperate IO Dashboard apart (#9357)
This is an automated email from the ASF dual-hosted git repository.
tanxinyu 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 94178d766e Seperate IO Dashboard apart (#9357)
94178d766e is described below
commit 94178d766e8d138584d9deb1731c3a4d7c7d5781
Author: Liu Xuxin <37...@users.noreply.github.com>
AuthorDate: Fri Mar 17 17:25:49 2023 +0800
Seperate IO Dashboard apart (#9357)
Co-authored-by: William Song <48...@users.noreply.github.com>
---
.../Apache-IoTDB-ConfigNode-Dashboard.json | 2584 ++++++++------------
.../Apache-IoTDB-DataNode-Dashboard.json | 2486 +++++++------------
...rd.json => Apache-IoTDB-Disk-IO-Dashboard.json} | 486 +++-
.../Apache-IoTDB-Network-Dashboard.json | 7 +-
.../iotdb/metrics/metricsets/disk/DiskMetrics.java | 30 +-
5 files changed, 2314 insertions(+), 3279 deletions(-)
diff --git a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-ConfigNode-Dashboard.json b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-ConfigNode-Dashboard.json
index 7016071f59..00ef40739a 100644
--- a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-ConfigNode-Dashboard.json
+++ b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-ConfigNode-Dashboard.json
@@ -9,7 +9,7 @@
"pluginName": "Prometheus"
}
],
- "__elements": [],
+ "__elements": {},
"__requires": [
{
"type": "panel",
@@ -21,7 +21,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
- "version": "8.4.2"
+ "version": "9.3.6"
},
{
"type": "panel",
@@ -75,12 +75,15 @@
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
- "iteration": 1678983654736,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -90,6 +93,10 @@
"id": 57,
"panels": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The current status of cluster ConfigNodes",
"fieldConfig": {
"defaults": {
@@ -276,6 +283,10 @@
"type": "piechart"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of cluster Databases",
"fieldConfig": {
"defaults": {
@@ -287,8 +298,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
}
@@ -336,6 +346,10 @@
"type": "stat"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of cluster DataRegions",
"fieldConfig": {
"defaults": {
@@ -347,8 +361,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
}
@@ -396,6 +409,10 @@
"type": "stat"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of cluster SchemaRegions",
"fieldConfig": {
"defaults": {
@@ -407,8 +424,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
}
@@ -471,8 +487,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
},
@@ -522,6 +537,10 @@
"type": "stat"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The total disk space of current ConfigNode",
"fieldConfig": {
"defaults": {
@@ -533,8 +552,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
},
@@ -583,6 +601,10 @@
"type": "stat"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The current status of cluster DataNodes",
"fieldConfig": {
"defaults": {
@@ -709,6 +731,10 @@
"type": "piechart"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "Bar of current ConfigNode",
"fieldConfig": {
"defaults": {
@@ -722,8 +748,7 @@
"mode": "percentage",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "#EAB839",
@@ -820,6 +845,10 @@
"type": "bargauge"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The current status of cluster DataRegions",
"fieldConfig": {
"defaults": {
@@ -947,6 +976,10 @@
"type": "piechart"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The current status of cluster SchemaRegions",
"fieldConfig": {
"defaults": {
@@ -1088,8 +1121,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
},
@@ -1151,8 +1183,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
},
@@ -1200,11 +1231,24 @@
"type": "stat"
}
],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Overview",
"type": "row"
},
{
"collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -1214,6 +1258,10 @@
"id": 49,
"panels": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of cluster ConfigNodes",
"fieldConfig": {
"defaults": {
@@ -1273,7 +1321,8 @@
"lastNotNull"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "single",
@@ -1300,6 +1349,10 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The status history of cluster ConfigNodes",
"fieldConfig": {
"defaults": {
@@ -1447,6 +1500,10 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The status history of cluster DataNodes",
"fieldConfig": {
"defaults": {
@@ -1594,6 +1651,10 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of SchemaRegions in each DataNode",
"fieldConfig": {
"defaults": {
@@ -1680,6 +1741,10 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of SchemaRegionGroup leadere in each DataNodes",
"fieldConfig": {
"defaults": {
@@ -1766,6 +1831,10 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of DataRegions in each DataNode",
"fieldConfig": {
"defaults": {
@@ -1852,6 +1921,10 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of DataRegionGroup leaders in each DataNode",
"fieldConfig": {
"defaults": {
@@ -1938,11 +2011,24 @@
"type": "timeseries"
}
],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
"title": "NodeInfo",
"type": "row"
},
{
"collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -1952,6 +2038,10 @@
"id": 53,
"panels": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of SchemaRegionGroups in each Database",
"fieldConfig": {
"defaults": {
@@ -2038,6 +2128,10 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of DataRegionGroups in each DataNode",
"fieldConfig": {
"defaults": {
@@ -2124,6 +2218,10 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The number of SeriesSlots in each Database",
"fieldConfig": {
"defaults": {
@@ -2210,11 +2308,24 @@
"type": "timeseries"
}
],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Database",
"type": "row"
},
{
"collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -2224,6 +2335,10 @@
"id": 81,
"panels": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The status history of cluster DataRegions",
"fieldConfig": {
"defaults": {
@@ -2371,6 +2486,10 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"description": "The status history of cluster SchemaRegions",
"fieldConfig": {
"defaults": {
@@ -2522,11 +2641,24 @@
"type": "timeseries"
}
],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Region",
"type": "row"
},
{
- "collapsed": false,
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -2534,1124 +2666,129 @@
"y": 4
},
"id": 109,
- "panels": [],
- "title": "ConfigRegion Ratis Consensus",
- "type": "row"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
+ "panels": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [
+ {
+ "options": {
+ "match": "empty",
+ "result": {
+ "index": 0,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ },
+ {
+ "options": {
+ "match": "null+nan",
+ "result": {
+ "index": 1,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "s"
},
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 12,
+ "x": 0,
+ "y": 5
+ },
+ "id": 111,
+ "options": {
+ "legend": {
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
},
- "thresholdsStyle": {
- "mode": "off"
+ "tooltip": {
+ "mode": "multi",
+ "sort": "desc"
}
},
- "mappings": [
+ "targets": [
{
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
},
- "type": "special"
+ "exemplar": true,
+ "expr": "rate(ConfigRegion_ratis_log_worker_appendEntryLatency_seconds_sum{instance=\"$instance\"}[1m])/rate(ConfigRegion_ratis_log_worker_appendEntryLatency_seconds_count{instance=\"$instance\"}[1m])",
+ "interval": "",
+ "legendFormat": "appendEntryLatency",
+ "refId": "A"
},
{
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
},
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 5
- },
- "id": 111,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_log_worker_appendEntryLatency_seconds_sum{instance=\"$instance\"}[1m])/rate(ConfigRegion_ratis_log_worker_appendEntryLatency_seconds_count{instance=\"$instance\"}[1m])",
- "interval": "",
- "legendFormat": "appendEntryLatency",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_server_follower_append_entry_latency_seconds_sum{instance=\"$instance\"}[1m])/rate(ConfigRegion_ratis_server_follower_append_entry_latency_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "followerAppendEntryLatency",
- "refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeStateMachine\"}[1m]) / rate(ConfigRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeStateMachine\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "writeStateMachine",
- "refId": "C"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_server_clientWriteRequest_seconds_sum{instance=\"$instance\"}[1m])/rate(ConfigRegion_ratis_server_clientWriteRequest_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "clientWriteRequest",
- "refId": "D"
- }
- ],
- "title": "Ratis Stage Time",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 5
- },
- "id": 112,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_log_worker_queueingDelay_seconds_sum{instance=\"$instance\"}[1m]) / rate(ConfigRegion_ratis_log_worker_queueingDelay_seconds_count{instance=\"$instance\"}[1m])",
- "interval": "",
- "legendFormat": "queueingDelay",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_log_worker_enqueuedTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(ConfigRegion_ratis_log_worker_enqueuedTime_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "enqueuedTime",
- "refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_log_worker_writelogExecutionTime_seconds_sum {instance=\"$instance\"}[1m]) / rate(ConfigRegion_ratis_log_worker_writelogExecutionTime_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "writelogExecutionTime",
- "refId": "C"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_log_worker_flushTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(ConfigRegion_ratis_log_worker_flushTime_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "flushTime",
- "refId": "D"
- }
- ],
- "title": "Write Log Entry",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "s"
- },
- "overrides": [
- {
- "__systemRef": "hideSeriesFrom",
- "matcher": {
- "id": "byNames",
- "options": {
- "mode": "exclude",
- "names": [
- "writeLocally"
- ],
- "prefix": "All except:",
- "readOnly": true
- }
- },
- "properties": [
- {
- "id": "custom.hideFrom",
- "value": {
- "legend": false,
- "tooltip": false,
- "viz": true
- }
- }
- ]
- }
- ]
- },
- "gridPos": {
- "h": 9,
- "w": 8,
- "x": 0,
- "y": 14
- },
- "id": 113,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeLocally\"}[1m]) / rate(ConfigRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
- "interval": "",
- "legendFormat": "{{stage}}",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeRemotely\"}[1m]) / rate(ConfigRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "{{stage}}",
- "refId": "B"
- }
- ],
- "title": "Remote / Local Write Time",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "reqps"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 8,
- "x": 8,
- "y": 14
- },
- "id": 114,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
- "interval": "",
- "legendFormat": "{{stage}}",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(ConfigRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "{{stage}}",
- "refId": "B"
- }
- ],
- "title": "Remote / Local Write QPS",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 8,
- "x": 16,
- "y": 14
- },
- "id": 115,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "ConfigRegion_ratis_log_worker_closedSegmentsSizeInBytes {instance=\"$instance\"}",
- "interval": "",
- "legendFormat": "closedSegmentsSizeInBytes",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "ConfigRegion_ratis_log_worker_openSegmentSizeInBytes {instance=\"$instance\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "openSegmentSizeInBytes",
- "refId": "B"
- }
- ],
- "title": "RatisConsensus Memory",
- "type": "timeseries"
- },
- {
- "collapsed": true,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 23
- },
- "id": 13,
- "panels": [
- {
- "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": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "percentage",
- "steps": [
- {
- "color": "green"
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 0,
- "y": 5
- },
- "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": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "percentage",
- "steps": [
- {
- "color": "green"
- }
- ]
- },
- "unit": "ns"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 8,
- "y": 5
- },
- "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": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- }
- ]
- },
- "unit": "none"
- },
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "warn"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "orange",
- "mode": "fixed"
- }
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "trace"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "purple",
- "mode": "fixed"
- }
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "error"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "red",
- "mode": "fixed"
- }
- }
- ]
- }
- ]
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 16,
- "y": 5
- },
- "id": 25,
- "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(rate(logback_events_total{instance=~\"${instance}\"}[1m])) by (level) * 60",
- "hide": false,
- "interval": "",
- "legendFormat": "{{level}}",
- "range": true,
- "refId": "C"
- }
- ],
- "title": "Log Number 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": 5,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 0,
- "y": 13
- },
- "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\"}",
+ "expr": "rate(ConfigRegion_ratis_server_follower_append_entry_latency_seconds_sum{instance=\"$instance\"}[1m])/rate(ConfigRegion_ratis_server_follower_append_entry_latency_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
"interval": "",
- "legendFormat": "Total physical memory",
- "range": true,
+ "legendFormat": "followerAppendEntryLatency",
"refId": "B"
},
{
@@ -3659,147 +2796,27 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
- "expr": "sys_committed_vm_size{instance=\"$instance\"}",
+ "exemplar": true,
+ "expr": "rate(ConfigRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeStateMachine\"}[1m]) / rate(ConfigRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeStateMachine\"}[1m])",
"hide": false,
- "legendFormat": "Committed vm size",
- "range": true,
+ "interval": "",
+ "legendFormat": "writeStateMachine",
"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": 5,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "Total Swap Size"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "green",
- "mode": "fixed"
- }
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "Used Swap Size"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "yellow",
- "mode": "fixed"
- }
- }
- ]
- }
- ]
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 8,
- "y": 13
- },
- "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\"}",
+ "expr": "rate(ConfigRegion_ratis_server_clientWriteRequest_seconds_sum{instance=\"$instance\"}[1m])/rate(ConfigRegion_ratis_server_clientWriteRequest_seconds_count{instance=\"$instance\"}[1m])",
"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"
+ "legendFormat": "clientWriteRequest",
+ "refId": "D"
}
],
- "title": "System Swap Size",
+ "title": "Ratis Stage Time",
"type": "timeseries"
},
{
@@ -3813,11 +2830,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -3840,12 +2859,34 @@
"mode": "off"
}
},
- "mappings": [],
+ "mappings": [
+ {
+ "options": {
+ "match": "empty",
+ "result": {
+ "index": 0,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ },
+ {
+ "options": {
+ "match": "null+nan",
+ "result": {
+ "index": 1,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ }
+ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
},
{
"color": "red",
@@ -3853,22 +2894,24 @@
}
]
},
- "unit": "bytes"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 8,
- "x": 16,
- "y": 13
+ "h": 9,
+ "w": 12,
+ "x": 12,
+ "y": 5
},
- "id": 19,
+ "id": 112,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -3882,10 +2925,10 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
- "expr": "process_max_mem{instance=~\"${instance}\"}",
- "legendFormat": "Max Memory",
- "range": true,
+ "exemplar": true,
+ "expr": "rate(ConfigRegion_ratis_log_worker_queueingDelay_seconds_sum{instance=\"$instance\"}[1m]) / rate(ConfigRegion_ratis_log_worker_queueingDelay_seconds_count{instance=\"$instance\"}[1m])",
+ "interval": "",
+ "legendFormat": "queueingDelay",
"refId": "A"
},
{
@@ -3893,11 +2936,11 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
- "expr": "process_total_mem{instance=~\"${instance}\"}",
+ "exemplar": true,
+ "expr": "rate(ConfigRegion_ratis_log_worker_enqueuedTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(ConfigRegion_ratis_log_worker_enqueuedTime_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
- "legendFormat": "Total Memory",
- "range": true,
+ "interval": "",
+ "legendFormat": "enqueuedTime",
"refId": "B"
},
{
@@ -3905,15 +2948,27 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
- "expr": "process_total_mem{instance=~\"${instance}\"} - process_free_mem{instance=~\"${instance}\"}",
+ "exemplar": true,
+ "expr": "rate(ConfigRegion_ratis_log_worker_writelogExecutionTime_seconds_sum {instance=\"$instance\"}[1m]) / rate(ConfigRegion_ratis_log_worker_writelogExecutionTime_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
- "legendFormat": "Used Memory",
- "range": true,
+ "interval": "",
+ "legendFormat": "writelogExecutionTime",
"refId": "C"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "rate(ConfigRegion_ratis_log_worker_flushTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(ConfigRegion_ratis_log_worker_flushTime_seconds_count{instance=\"$instance\"}[1m])",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "flushTime",
+ "refId": "D"
}
],
- "title": "Process Memory",
+ "title": "Write Log Entry",
"type": "timeseries"
},
{
@@ -3927,11 +2982,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -3954,30 +3011,84 @@
"mode": "off"
}
},
- "mappings": [],
+ "mappings": [
+ {
+ "options": {
+ "match": "empty",
+ "result": {
+ "index": 0,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ },
+ {
+ "options": {
+ "match": "null+nan",
+ "result": {
+ "index": 1,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ }
+ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "s"
+ },
+ "overrides": [
+ {
+ "__systemRef": "hideSeriesFrom",
+ "matcher": {
+ "id": "byNames",
+ "options": {
+ "mode": "exclude",
+ "names": [
+ "writeLocally"
+ ],
+ "prefix": "All except:",
+ "readOnly": true
+ }
+ },
+ "properties": [
+ {
+ "id": "custom.hideFrom",
+ "value": {
+ "legend": false,
+ "tooltip": false,
+ "viz": true
+ }
}
]
}
- },
- "overrides": []
+ ]
},
"gridPos": {
- "h": 8,
+ "h": 9,
"w": 8,
"x": 0,
- "y": 21
+ "y": 14
},
- "id": 20,
+ "id": 113,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -3991,12 +3102,10 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
+ "expr": "rate(ConfigRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeLocally\"}[1m]) / rate(ConfigRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
"interval": "",
- "legendFormat": "Young GC number",
- "range": true,
+ "legendFormat": "{{stage}}",
"refId": "A"
},
{
@@ -4005,14 +3114,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
+ "expr": "rate(ConfigRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeRemotely\"}[1m]) / rate(ConfigRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
"hide": false,
"interval": "",
- "legendFormat": "Full GC number",
+ "legendFormat": "{{stage}}",
"refId": "B"
}
],
- "title": "The Number Of GC Per Minute",
+ "title": "Remote / Local Write Time",
"type": "timeseries"
},
{
@@ -4026,6 +3135,8 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -4053,31 +3164,59 @@
"mode": "off"
}
},
- "mappings": [],
+ "mappings": [
+ {
+ "options": {
+ "match": "empty",
+ "result": {
+ "index": 0,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ },
+ {
+ "options": {
+ "match": "null+nan",
+ "result": {
+ "index": 1,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ }
+ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
},
- "unit": "s"
+ "unit": "reqps"
},
"overrides": []
},
"gridPos": {
- "h": 8,
+ "h": 9,
"w": 8,
"x": 8,
- "y": 21
+ "y": 14
},
- "id": 21,
+ "id": 114,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -4092,9 +3231,9 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
+ "expr": "rate(ConfigRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
"interval": "",
- "legendFormat": "The time of young GC",
+ "legendFormat": "{{stage}}",
"refId": "A"
},
{
@@ -4103,14 +3242,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
+ "expr": "rate(ConfigRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
"hide": false,
"interval": "",
- "legendFormat": "The time of full GC",
+ "legendFormat": "{{stage}}",
"refId": "B"
}
],
- "title": "The Time Consumed Of GC Per Minute",
+ "title": "Remote / Local Write QPS",
"type": "timeseries"
},
{
@@ -4124,11 +3263,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -4151,30 +3292,59 @@
"mode": "off"
}
},
- "mappings": [],
+ "mappings": [
+ {
+ "options": {
+ "match": "empty",
+ "result": {
+ "index": 0,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ },
+ {
+ "options": {
+ "match": "null+nan",
+ "result": {
+ "index": 1,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ }
+ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
- }
+ },
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
- "h": 8,
+ "h": 9,
"w": 8,
"x": 16,
- "y": 21
+ "y": 14
},
- "id": 22,
+ "id": 115,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -4188,12 +3358,10 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
+ "expr": "ConfigRegion_ratis_log_worker_closedSegmentsSizeInBytes {instance=\"$instance\"}",
"interval": "",
- "legendFormat": "Total Number",
- "range": true,
+ "legendFormat": "closedSegmentsSizeInBytes",
"refId": "A"
},
{
@@ -4202,16 +3370,43 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "jvm_threads_states_threads{instance=~\"$instance\"}",
+ "expr": "ConfigRegion_ratis_log_worker_openSegmentSizeInBytes {instance=\"$instance\"}",
"hide": false,
"interval": "",
- "legendFormat": "{{state}}",
+ "legendFormat": "openSegmentSizeInBytes",
"refId": "B"
}
],
- "title": "The Number Of Java Thread",
+ "title": "RatisConsensus Memory",
"type": "timeseries"
- },
+ }
+ ],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "ConfigRegion Ratis Consensus",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 5
+ },
+ "id": 13,
+ "panels": [
{
"datasource": {
"type": "prometheus",
@@ -4225,6 +3420,8 @@
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
@@ -4252,14 +3449,14 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
}
]
},
- "unit": "bytes"
+ "unit": "percent"
},
"overrides": []
},
@@ -4267,9 +3464,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 29
+ "y": 5
},
- "id": 23,
+ "id": 15,
"options": {
"legend": {
"calcs": [],
@@ -4288,10 +3485,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})",
+ "expr": "sys_cpu_load{instance=\"$instance\",name=\"system\"}",
"interval": "",
- "legendFormat": "Maximum heap memory",
+ "legendFormat": "System CPU Load",
+ "range": true,
"refId": "A"
},
{
@@ -4300,52 +3499,14 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "exemplar": true,
- "expr": "sum(jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\"})",
+ "expr": "process_cpu_load{instance=\"$instance\",name=\"process\"}",
"hide": false,
- "interval": "",
- "legendFormat": "Used heap memory",
+ "legendFormat": "Process CPU Load",
"range": true,
"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": "CPU Load",
"type": "timeseries"
},
{
@@ -4361,6 +3522,8 @@
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
@@ -4388,14 +3551,14 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
}
]
},
- "unit": "bytes"
+ "unit": "ns"
},
"overrides": []
},
@@ -4403,9 +3566,9 @@
"h": 8,
"w": 8,
"x": 8,
- "y": 29
+ "y": 5
},
- "id": 24,
+ "id": 16,
"options": {
"legend": {
"calcs": [],
@@ -4425,15 +3588,14 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "exemplar": true,
- "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
- "interval": "",
- "legendFormat": "off-heap memory",
+ "expr": "sum(rate(process_cpu_time{instance=\"$instance\",name=\"process\"}[1m]))*60",
+ "hide": false,
+ "legendFormat": "Process CPU Time",
"range": true,
- "refId": "A"
+ "refId": "B"
}
],
- "title": "Off Heap Memory",
+ "title": "CPU Time Per Minute",
"type": "timeseries"
},
{
@@ -4459,9 +3621,6 @@
"viz": false
},
"lineInterpolation": "linear",
- "lineStyle": {
- "fill": "solid"
- },
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
@@ -4485,17 +3644,64 @@
"color": "green"
}
]
+ },
+ "unit": "none"
+ },
+ "overrides": [
+ {
+ "matcher": {
+ "id": "byName",
+ "options": "warn"
+ },
+ "properties": [
+ {
+ "id": "color",
+ "value": {
+ "fixedColor": "orange",
+ "mode": "fixed"
+ }
+ }
+ ]
+ },
+ {
+ "matcher": {
+ "id": "byName",
+ "options": "trace"
+ },
+ "properties": [
+ {
+ "id": "color",
+ "value": {
+ "fixedColor": "purple",
+ "mode": "fixed"
+ }
+ }
+ ]
+ },
+ {
+ "matcher": {
+ "id": "byName",
+ "options": "error"
+ },
+ "properties": [
+ {
+ "id": "color",
+ "value": {
+ "fixedColor": "red",
+ "mode": "fixed"
+ }
+ }
+ ]
}
- },
- "overrides": []
+ ]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
- "y": 29
+ "y": 5
},
- "id": 27,
+ "id": 25,
"options": {
"legend": {
"calcs": [],
@@ -4516,28 +3722,15 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "jvm_classes_unloaded_classes{instance=~\"$instance\"}",
- "interval": "",
- "legendFormat": "Unloaded Number",
- "range": true,
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "editorMode": "code",
- "exemplar": true,
- "expr": "jvm_classes_loaded_classes{instance=~\"$instance\"}",
+ "expr": "sum(rate(logback_events_total{instance=~\"${instance}\"}[1m])) by (level) * 60",
"hide": false,
"interval": "",
- "legendFormat": "Loaded Number",
+ "legendFormat": "{{level}}",
"range": true,
- "refId": "B"
+ "refId": "C"
}
],
- "title": "The Number Of Class",
+ "title": "Log Number Per Minute",
"type": "timeseries"
},
{
@@ -4545,7 +3738,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -4556,7 +3748,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 10,
+ "fillOpacity": 5,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -4588,7 +3780,7 @@
}
]
},
- "unit": "ms"
+ "unit": "bytes"
},
"overrides": []
},
@@ -4596,9 +3788,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 37
+ "y": 13
},
- "id": 26,
+ "id": 17,
"options": {
"legend": {
"calcs": [],
@@ -4619,43 +3811,42 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(jvm_compilation_time_ms{instance=~\"${instance}\"}[1m]))*60",
+ "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}-sys_free_physical_memory_size{instance=\"$instance\", name=\"system\"}",
"interval": "",
- "legendFormat": "compiler",
+ "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": "The Time Consumed of Compilation Per Minute",
+ "title": "System Memory",
"type": "timeseries"
- }
- ],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "System",
- "type": "row"
- },
- {
- "collapsed": true,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 24
- },
- "id": 29,
- "panels": [
+ },
{
"datasource": {
"type": "prometheus",
@@ -4669,7 +3860,6 @@
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMax": 1,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 5,
@@ -4685,59 +3875,77 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
- "mode": "line+area"
+ "mode": "off"
}
},
"mappings": [],
- "max": 1,
"thresholds": {
- "mode": "percentage",
+ "mode": "absolute",
"steps": [
{
"color": "green"
- },
- {
- "color": "#EAB839",
- "value": 80
- },
- {
- "color": "dark-red",
- "value": 90
}
]
},
- "unit": "percentunit"
+ "unit": "bytes"
},
- "overrides": []
+ "overrides": [
+ {
+ "matcher": {
+ "id": "byName",
+ "options": "Total Swap Size"
+ },
+ "properties": [
+ {
+ "id": "color",
+ "value": {
+ "fixedColor": "green",
+ "mode": "fixed"
+ }
+ }
+ ]
+ },
+ {
+ "matcher": {
+ "id": "byName",
+ "options": "Used Swap Size"
+ },
+ "properties": [
+ {
+ "id": "color",
+ "value": {
+ "fixedColor": "yellow",
+ "mode": "fixed"
+ }
+ }
+ ]
+ }
+ ]
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 6
+ "w": 8,
+ "x": 8,
+ "y": 13
},
- "id": 31,
+ "id": 18,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Mean",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -4748,14 +3956,27 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "disk_io_busy_percentage{instance=~\"$instance\"}",
- "instant": false,
+ "expr": "sys_total_swap_space_size{instance=\"$instance\", name=\"system\"} - sys_free_swap_space_size{instance=\"$instance\", name=\"system\"}",
+ "hide": false,
"interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
+ "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": "Disk I/O Busy Rate",
+ "title": "System Swap Size",
"type": "timeseries"
},
{
@@ -4786,7 +4007,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -4802,35 +4023,34 @@
"steps": [
{
"color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
},
- "unit": "KBs"
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 6
+ "w": 8,
+ "x": 16,
+ "y": 13
},
- "id": 33,
+ "id": 19,
"options": {
"legend": {
- "calcs": [
- "mean",
- "last"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Last",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -4839,15 +4059,38 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "rate(disk_io_size{instance=~\"$instance\"}[1m])",
- "hide": false,
- "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": "Disk I/O Throughput",
+ "title": "Process Memory",
"type": "timeseries"
},
{
@@ -4878,7 +4121,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -4896,33 +4139,27 @@
"color": "green"
}
]
- },
- "unit": "iops"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
"x": 0,
- "y": 14
+ "y": 21
},
- "id": 35,
+ "id": 20,
"options": {
"legend": {
- "calcs": [
- "mean",
- "max"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Max",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -4931,14 +4168,28 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "rate(disk_io_ops{instance=~\"$instance\"}[1m])",
+ "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"
+ },
+ {
+ "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": "Disk I/O Ops",
+ "title": "The Number Of GC Per Minute",
"type": "timeseries"
},
{
@@ -4956,7 +4207,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -4969,7 +4220,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -4988,27 +4239,27 @@
}
]
},
- "unit": "ms"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 14
+ "w": 8,
+ "x": 8,
+ "y": 21
},
- "id": 37,
+ "id": 21,
"options": {
"legend": {
"calcs": [],
- "displayMode": "table",
- "placement": "right",
+ "displayMode": "list",
+ "placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -5018,13 +4269,25 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(disk_io_time{instance=~\"$instance\"}[1m])",
+ "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{name}}-{{type}}",
+ "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": "",
+ "legendFormat": "The time of full GC",
+ "refId": "B"
}
],
- "title": "Disk I/O Time",
+ "title": "The Time Consumed Of GC Per Minute",
"type": "timeseries"
},
{
@@ -5032,7 +4295,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -5056,7 +4318,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -5074,33 +4336,27 @@
"color": "green"
}
]
- },
- "unit": "ms"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 0,
- "y": 22
+ "x": 16,
+ "y": 21
},
- "id": 39,
+ "id": 22,
"options": {
"legend": {
- "calcs": [
- "mean",
- "max"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Max",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -5111,14 +4367,26 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "disk_io_avg_time{instance=~\"$instance\"}",
+ "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "{{name}}-{{type}}",
+ "legendFormat": "Total Number",
"range": true,
"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": "Disk Per I/O Avg Time",
+ "title": "The Number Of Java Thread",
"type": "timeseries"
},
{
@@ -5136,7 +4404,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -5149,7 +4417,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -5175,24 +4443,20 @@
"gridPos": {
"h": 8,
"w": 8,
- "x": 8,
- "y": 22
+ "x": 0,
+ "y": 29
},
- "id": 41,
+ "id": 23,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Mean",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -5202,13 +4466,63 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "disk_io_avg_size{instance=~\"$instance\"}",
+ "expr": "sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})",
"interval": "",
- "legendFormat": "{{name}}-{{type}}",
+ "legendFormat": "Maximum heap memory",
"refId": "A"
+ },
+ {
+ "datasource": {
+ "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"
+ },
+ {
+ "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": "Disk I/O Avg Size",
+ "title": "Heap Memory",
"type": "timeseries"
},
{
@@ -5226,7 +4540,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -5239,7 +4553,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -5257,31 +4571,28 @@
"color": "green"
}
]
- }
+ },
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 16,
- "y": 22
+ "x": 8,
+ "y": 29
},
- "id": 43,
+ "id": 24,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Mean",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -5292,14 +4603,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "disk_io_avg_queue_size{instance=~\"$instance\"}",
+ "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "off-heap memory",
"range": true,
"refId": "A"
}
],
- "title": "Disk I/O Avg Queue Size",
+ "title": "Off Heap Memory",
"type": "timeseries"
},
{
@@ -5317,7 +4628,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -5325,12 +4636,15 @@
"viz": false
},
"lineInterpolation": "linear",
+ "lineStyle": {
+ "fill": "solid"
+ },
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -5348,30 +4662,27 @@
"color": "green"
}
]
- },
- "unit": "KBs"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 30
+ "w": 8,
+ "x": 16,
+ "y": 29
},
- "id": 47,
+ "id": 27,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right",
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -5380,14 +4691,30 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "rate(process_io_size{instance=~\"$instance\"}[1m])",
+ "expr": "jvm_classes_unloaded_classes{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "{{from}}-{{name}}",
+ "legendFormat": "Unloaded Number",
+ "range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "jvm_classes_loaded_classes{instance=~\"$instance\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Loaded Number",
+ "range": true,
+ "refId": "B"
}
],
- "title": "Process I/O Throughput",
+ "title": "The Number Of Class",
"type": "timeseries"
},
{
@@ -5395,6 +4722,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -5405,7 +4733,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -5418,7 +4746,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -5437,31 +4765,27 @@
}
]
},
- "unit": "ops"
+ "unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 30
+ "w": 8,
+ "x": 0,
+ "y": 37
},
- "id": 45,
+ "id": 26,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Mean",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -5470,14 +4794,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "rate(process_io_ops{instance=~\"$instance\"}[1m])",
+ "expr": "sum(rate(jvm_compilation_time_ms{instance=~\"${instance}\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{from}}-{{name}}",
+ "legendFormat": "compiler",
+ "range": true,
"refId": "A"
}
],
- "title": "I/O System Call Rate",
+ "title": "The Time Consumed of Compilation Per Minute",
"type": "timeseries"
}
],
@@ -5485,17 +4811,17 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"refId": "A"
}
],
- "title": "Disk I/O",
+ "title": "System",
"type": "row"
}
],
"refresh": false,
- "schemaVersion": 35,
+ "schemaVersion": 37,
"style": "dark",
"tags": [
"Apache-IoTDB",
@@ -5567,6 +4893,6 @@
"timezone": "browser",
"title": "Apache IoTDB ConfigNode Dashboard",
"uid": "4WkTYkx4z",
- "version": 15,
+ "version": 2,
"weekStart": ""
}
\ No newline at end of file
diff --git a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-DataNode-Dashboard.json b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-DataNode-Dashboard.json
index 13faae9d4a..3fe91a438a 100644
--- a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-DataNode-Dashboard.json
+++ b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-DataNode-Dashboard.json
@@ -9,13 +9,13 @@
"pluginName": "Prometheus"
}
],
- "__elements": [],
+ "__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
- "version": "8.4.2"
+ "version": "9.3.6"
},
{
"type": "datasource",
@@ -63,7 +63,6 @@
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
- "iteration": 1678983382526,
"links": [],
"liveNow": false,
"panels": [
@@ -71,7 +70,7 @@
"collapsed": true,
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"gridPos": {
"h": 1,
@@ -348,7 +347,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"refId": "A"
}
@@ -360,7 +359,7 @@
"collapsed": true,
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"gridPos": {
"h": 1,
@@ -1090,7 +1089,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"refId": "A"
}
@@ -1102,7 +1101,7 @@
"collapsed": true,
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"gridPos": {
"h": 1,
@@ -1816,7 +1815,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"refId": "A"
}
@@ -1828,7 +1827,7 @@
"collapsed": true,
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"gridPos": {
"h": 1,
@@ -5285,7 +5284,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"refId": "A"
}
@@ -5297,7 +5296,7 @@
"collapsed": true,
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"gridPos": {
"h": 1,
@@ -9173,7 +9172,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"refId": "A"
}
@@ -9185,7 +9184,7 @@
"collapsed": true,
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"gridPos": {
"h": 1,
@@ -10960,7 +10959,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"refId": "A"
}
@@ -10972,7 +10971,7 @@
"collapsed": true,
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"gridPos": {
"h": 1,
@@ -12332,7 +12331,7 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"refId": "A"
}
@@ -12341,7 +12340,11 @@
"type": "row"
},
{
- "collapsed": false,
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -12349,662 +12352,20 @@
"y": 7
},
"id": 283,
- "panels": [],
- "title": "DataRegion Ratis Consensus",
- "type": "row"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 8
- },
- "id": 288,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_log_worker_appendEntryLatency_seconds_sum{instance=\"$instance\"}[1m])/rate(DataRegion_ratis_log_worker_appendEntryLatency_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "appendEntryLatency",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_server_follower_append_entry_latency_seconds_sum{instance=\"$instance\"}[1m])/rate(DataRegion_ratis_server_follower_append_entry_latency_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "followerAppendEntryLatency",
- "refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeStateMachine\"}[1m]) / rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeStateMachine\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "writeStateMachine",
- "refId": "C"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_server_clientWriteRequest_seconds_sum{instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_server_clientWriteRequest_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "clientWriteRequest",
- "refId": "D"
- }
- ],
- "title": "Ratis Stage Time",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 8
- },
- "id": 285,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_log_worker_queueingDelay_seconds_sum{instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_log_worker_queueingDelay_seconds_count{instance=\"$instance\"}[1m])",
- "interval": "",
- "legendFormat": "queueingDelay",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_log_worker_enqueuedTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_log_worker_enqueuedTime_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "enqueuedTime",
- "refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_log_worker_writelogExecutionTime_seconds_sum {instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_log_worker_writelogExecutionTime_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "writelogExecutionTime",
- "refId": "C"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_log_worker_flushTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_log_worker_flushTime_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "flushTime",
- "refId": "D"
- }
- ],
- "title": "Write Log Entry",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "s"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 8,
- "x": 0,
- "y": 17
- },
- "id": 291,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeLocally\"}[1m]) / rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "{{stage}}",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeRemotely\"}[1m]) / rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "{{stage}}",
- "refId": "B"
- }
- ],
- "title": "Remote / Local Write Time",
- "type": "timeseries"
- },
- {
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 10,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "never",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "reqps"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 8,
- "x": 8,
- "y": 17
- },
- "id": 292,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "{{stage}}",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
- "hide": false,
- "interval": "",
- "legendFormat": "{{stage}}",
- "refId": "B"
- }
- ],
- "title": "Remote / Local Write QPS",
- "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
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 8,
- "x": 16,
- "y": 17
- },
- "id": 290,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "list",
- "placement": "right"
- },
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "DataRegion_ratis_log_worker_closedSegmentsSizeInBytes {instance=\"$instance\"}",
- "interval": "",
- "legendFormat": "closedSegmentsSizeInBytes",
- "refId": "A"
- },
+ "panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "DataRegion_ratis_log_worker_openSegmentSizeInBytes {instance=\"$instance\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "openSegmentSizeInBytes",
- "refId": "C"
- }
- ],
- "title": "RatisConsensus Memory",
- "type": "timeseries"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 26
- },
- "id": 294,
- "panels": [
- {
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -13075,16 +12436,17 @@
"h": 9,
"w": 12,
"x": 0,
- "y": 9
+ "y": 8
},
- "id": 295,
+ "id": 288,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -13098,7 +12460,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_log_worker_appendEntryLatency_seconds_sum{instance=\"$instance\"}[1m])/rate(SchemaRegion_ratis_log_worker_appendEntryLatency_seconds_count{instance=\"$instance\"}[1m])",
+ "expr": "rate(DataRegion_ratis_log_worker_appendEntryLatency_seconds_sum{instance=\"$instance\"}[1m])/rate(DataRegion_ratis_log_worker_appendEntryLatency_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "appendEntryLatency",
@@ -13110,7 +12472,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_server_follower_append_entry_latency_seconds_sum{instance=\"$instance\"}[1m])/rate(SchemaRegion_ratis_server_follower_append_entry_latency_seconds_count{instance=\"$instance\"}[1m])",
+ "expr": "rate(DataRegion_ratis_server_follower_append_entry_latency_seconds_sum{instance=\"$instance\"}[1m])/rate(DataRegion_ratis_server_follower_append_entry_latency_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "followerAppendEntryLatency",
@@ -13122,7 +12484,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeStateMachine\"}[1m]) / rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeStateMachine\"}[1m])",
+ "expr": "rate(DataRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeStateMachine\"}[1m]) / rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeStateMachine\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "writeStateMachine",
@@ -13134,7 +12496,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_server_clientWriteRequest_seconds_sum{instance=\"$instance\"}[1m])/rate(SchemaRegion_ratis_server_clientWriteRequest_seconds_count{instance=\"$instance\"}[1m])",
+ "expr": "rate(DataRegion_ratis_server_clientWriteRequest_seconds_sum{instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_server_clientWriteRequest_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "clientWriteRequest",
@@ -13145,12 +12507,18 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -13221,16 +12589,17 @@
"h": 9,
"w": 12,
"x": 12,
- "y": 9
+ "y": 8
},
- "id": 296,
+ "id": 285,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -13244,7 +12613,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_log_worker_queueingDelay_seconds_sum{instance=\"$instance\"}[1m]) / rate(SchemaRegion_ratis_log_worker_queueingDelay_seconds_count{instance=\"$instance\"}[1m])",
+ "expr": "rate(DataRegion_ratis_log_worker_queueingDelay_seconds_sum{instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_log_worker_queueingDelay_seconds_count{instance=\"$instance\"}[1m])",
"interval": "",
"legendFormat": "queueingDelay",
"refId": "A"
@@ -13255,7 +12624,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_log_worker_enqueuedTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(SchemaRegion_ratis_log_worker_enqueuedTime_seconds_count{instance=\"$instance\"}[1m])",
+ "expr": "rate(DataRegion_ratis_log_worker_enqueuedTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_log_worker_enqueuedTime_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "enqueuedTime",
@@ -13267,7 +12636,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_log_worker_writelogExecutionTime_seconds_sum {instance=\"$instance\"}[1m]) / rate(SchemaRegion_ratis_log_worker_writelogExecutionTime_seconds_count{instance=\"$instance\"}[1m])",
+ "expr": "rate(DataRegion_ratis_log_worker_writelogExecutionTime_seconds_sum {instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_log_worker_writelogExecutionTime_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "writelogExecutionTime",
@@ -13279,7 +12648,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_log_worker_flushTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(SchemaRegion_ratis_log_worker_flushTime_seconds_count{instance=\"$instance\"}[1m])",
+ "expr": "rate(DataRegion_ratis_log_worker_flushTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_log_worker_flushTime_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "flushTime",
@@ -13290,12 +12659,18 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -13366,16 +12741,17 @@
"h": 9,
"w": 8,
"x": 0,
- "y": 18
+ "y": 17
},
- "id": 297,
+ "id": 291,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -13389,7 +12765,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeLocally\"}[1m]) / rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
+ "expr": "rate(DataRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeLocally\"}[1m]) / rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "{{stage}}",
@@ -13401,7 +12777,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeRemotely\"}[1m]) / rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
+ "expr": "rate(DataRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeRemotely\"}[1m]) / rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "{{stage}}",
@@ -13412,12 +12788,18 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -13488,16 +12870,17 @@
"h": 9,
"w": 8,
"x": 8,
- "y": 18
+ "y": 17
},
- "id": 300,
+ "id": 292,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -13511,7 +12894,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
+ "expr": "rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "{{stage}}",
@@ -13523,7 +12906,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
+ "expr": "rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
"hide": false,
"interval": "",
"legendFormat": "{{stage}}",
@@ -13534,12 +12917,18 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -13589,14 +12978,17 @@
"h": 9,
"w": 8,
"x": 16,
- "y": 18
+ "y": 17
},
- "id": 299,
+ "id": 290,
"options": {
"legend": {
- "calcs": [],
+ "calcs": [
+ "mean"
+ ],
"displayMode": "list",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -13610,7 +13002,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "SchemaRegion_ratis_log_worker_closedSegmentsSizeInBytes {instance=\"$instance\"}",
+ "expr": "DataRegion_ratis_log_worker_closedSegmentsSizeInBytes {instance=\"$instance\"}",
"interval": "",
"legendFormat": "closedSegmentsSizeInBytes",
"refId": "A"
@@ -13621,97 +13013,43 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "SchemaRegion_ratis_log_worker_openSegmentSizeInBytes{instance=\"$instance\"}",
+ "expr": "DataRegion_ratis_log_worker_openSegmentSizeInBytes {instance=\"$instance\"}",
"hide": false,
"interval": "",
"legendFormat": "openSegmentSizeInBytes",
- "refId": "B"
+ "refId": "C"
}
],
"title": "RatisConsensus Memory",
"type": "timeseries"
}
],
- "title": "SchemaRegion Ratis Consensus",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "DataRegion Ratis Consensus",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
- "y": 27
+ "y": 8
},
- "id": 33,
+ "id": 294,
"panels": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "percentage",
- "steps": [
- {
- "color": "green"
- }
- ]
- },
- "unit": "Core"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 0,
- "y": 17
- },
- "id": 34,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "9.3.6",
- "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",
@@ -13723,15 +13061,11 @@
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMax": 0,
- "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 0,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -13744,7 +13078,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -13754,31 +13088,58 @@
"mode": "off"
}
},
- "mappings": [],
+ "mappings": [
+ {
+ "options": {
+ "match": "empty",
+ "result": {
+ "index": 0,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ },
+ {
+ "options": {
+ "match": "null+nan",
+ "result": {
+ "index": 1,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ }
+ ],
"thresholds": {
- "mode": "percentage",
+ "mode": "absolute",
"steps": [
{
"color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
},
- "unit": "percent"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 8,
- "x": 8,
- "y": 17
+ "h": 9,
+ "w": 12,
+ "x": 0,
+ "y": 9
},
- "id": 35,
+ "id": 295,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -13792,12 +13153,11 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "sys_cpu_load{instance=\"$instance\",name=\"system\"}",
+ "expr": "rate(SchemaRegion_ratis_log_worker_appendEntryLatency_seconds_sum{instance=\"$instance\"}[1m])/rate(SchemaRegion_ratis_log_worker_appendEntryLatency_seconds_count{instance=\"$instance\"}[1m])",
+ "hide": false,
"interval": "",
- "legendFormat": "System CPU Load",
- "range": true,
+ "legendFormat": "appendEntryLatency",
"refId": "A"
},
{
@@ -13805,15 +13165,39 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
- "expr": "process_cpu_load{instance=\"$instance\",name=\"process\"}",
+ "exemplar": true,
+ "expr": "rate(SchemaRegion_ratis_server_follower_append_entry_latency_seconds_sum{instance=\"$instance\"}[1m])/rate(SchemaRegion_ratis_server_follower_append_entry_latency_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
- "legendFormat": "Process CPU Load",
- "range": true,
+ "interval": "",
+ "legendFormat": "followerAppendEntryLatency",
"refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeStateMachine\"}[1m]) / rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeStateMachine\"}[1m])",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "writeStateMachine",
+ "refId": "C"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "rate(SchemaRegion_ratis_server_clientWriteRequest_seconds_sum{instance=\"$instance\"}[1m])/rate(SchemaRegion_ratis_server_clientWriteRequest_seconds_count{instance=\"$instance\"}[1m])",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "clientWriteRequest",
+ "refId": "D"
}
],
- "title": "CPU Load",
+ "title": "Ratis Stage Time",
"type": "timeseries"
},
{
@@ -13827,15 +13211,11 @@
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMax": 0,
- "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 0,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -13848,7 +13228,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -13858,123 +13238,58 @@
"mode": "off"
}
},
- "mappings": [],
- "thresholds": {
- "mode": "percentage",
- "steps": [
- {
- "color": "green"
- }
- ]
- },
- "unit": "ns"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 16,
- "y": 17
- },
- "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": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "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"
+ "mappings": [
+ {
+ "options": {
+ "match": "empty",
+ "result": {
+ "index": 0,
+ "text": "0"
+ }
+ },
+ "type": "special"
},
- "thresholdsStyle": {
- "mode": "off"
+ {
+ "options": {
+ "match": "null+nan",
+ "result": {
+ "index": 1,
+ "text": "0"
+ }
+ },
+ "type": "special"
}
- },
- "mappings": [],
+ ],
"thresholds": {
- "mode": "percentage",
+ "mode": "absolute",
"steps": [
{
"color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
},
- "unit": "bytes"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 8,
- "x": 0,
- "y": 25
+ "h": 9,
+ "w": 12,
+ "x": 12,
+ "y": 9
},
- "id": 41,
+ "id": 296,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -13988,12 +13303,10 @@
"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": "rate(SchemaRegion_ratis_log_worker_queueingDelay_seconds_sum{instance=\"$instance\"}[1m]) / rate(SchemaRegion_ratis_log_worker_queueingDelay_seconds_count{instance=\"$instance\"}[1m])",
"interval": "",
- "legendFormat": "Used physical memory",
- "range": true,
+ "legendFormat": "queueingDelay",
"refId": "A"
},
{
@@ -14001,11 +13314,11 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
- "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}",
+ "exemplar": true,
+ "expr": "rate(SchemaRegion_ratis_log_worker_enqueuedTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(SchemaRegion_ratis_log_worker_enqueuedTime_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
- "legendFormat": "Total physical memory",
- "range": true,
+ "interval": "",
+ "legendFormat": "enqueuedTime",
"refId": "B"
},
{
@@ -14013,119 +13326,27 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
- "expr": "sys_committed_vm_size{instance=\"$instance\"}",
+ "exemplar": true,
+ "expr": "rate(SchemaRegion_ratis_log_worker_writelogExecutionTime_seconds_sum {instance=\"$instance\"}[1m]) / rate(SchemaRegion_ratis_log_worker_writelogExecutionTime_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
- "legendFormat": "Committed vm size",
- "range": true,
+ "interval": "",
+ "legendFormat": "writelogExecutionTime",
"refId": "C"
- }
- ],
- "title": "System Memory",
- "type": "timeseries"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "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"
- }
- ]
- },
- "unit": "bytes"
},
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 8,
- "y": 25
- },
- "id": 42,
- "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\"}",
- "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\"}",
+ "expr": "rate(SchemaRegion_ratis_log_worker_flushTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(SchemaRegion_ratis_log_worker_flushTime_seconds_count{instance=\"$instance\"}[1m])",
"hide": false,
- "legendFormat": "Total Swap Size",
- "range": true,
- "refId": "B"
+ "interval": "",
+ "legendFormat": "flushTime",
+ "refId": "D"
}
],
- "title": "System Swap Size",
+ "title": "Write Log Entry",
"type": "timeseries"
},
{
@@ -14139,15 +13360,11 @@
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMax": 0,
- "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 0,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -14160,7 +13377,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -14170,145 +13387,58 @@
"mode": "off"
}
},
- "mappings": [],
- "thresholds": {
- "mode": "percentage",
- "steps": [
- {
- "color": "green"
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 16,
- "y": 25
- },
- "id": 43,
- "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": "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": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "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"
+ "mappings": [
+ {
+ "options": {
+ "match": "empty",
+ "result": {
+ "index": 0,
+ "text": "0"
+ }
+ },
+ "type": "special"
},
- "thresholdsStyle": {
- "mode": "off"
+ {
+ "options": {
+ "match": "null+nan",
+ "result": {
+ "index": 1,
+ "text": "0"
+ }
+ },
+ "type": "special"
}
- },
- "mappings": [],
+ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
},
- "unit": "bytes"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
- "h": 8,
+ "h": 9,
"w": 8,
"x": 0,
- "y": 33
+ "y": 18
},
- "id": 44,
+ "id": 297,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -14323,9 +13453,10 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "file_size{instance=~\"$instance\"}",
+ "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeLocally\"}[1m]) / rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
+ "hide": false,
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "{{stage}}",
"refId": "A"
},
{
@@ -14334,14 +13465,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(file_size{instance=~\"$instance\"})",
+ "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_sum{instance=\"$instance\", stage=\"writeRemotely\"}[1m]) / rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
"hide": false,
"interval": "",
- "legendFormat": "total size of file",
+ "legendFormat": "{{stage}}",
"refId": "B"
}
],
- "title": "The Size Of File",
+ "title": "Remote / Local Write Time",
"type": "timeseries"
},
{
@@ -14355,13 +13486,11 @@
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 0,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -14374,7 +13503,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -14384,55 +13513,58 @@
"mode": "off"
}
},
- "mappings": [],
+ "mappings": [
+ {
+ "options": {
+ "match": "empty",
+ "result": {
+ "index": 0,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ },
+ {
+ "options": {
+ "match": "null+nan",
+ "result": {
+ "index": 1,
+ "text": "0"
+ }
+ },
+ "type": "special"
+ }
+ ],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
- }
- ]
- }
- },
- "overrides": [
- {
- "__systemRef": "hideSeriesFrom",
- "matcher": {
- "id": "byNames",
- "options": {
- "mode": "exclude",
- "names": [
- "inner-seq-temp-num"
- ],
- "prefix": "All except:",
- "readOnly": true
- }
- },
- "properties": [
+ },
{
- "id": "custom.hideFrom",
- "value": {
- "legend": false,
- "tooltip": false,
- "viz": true
- }
+ "color": "red",
+ "value": 80
}
]
- }
- ]
+ },
+ "unit": "reqps"
+ },
+ "overrides": []
},
"gridPos": {
- "h": 8,
+ "h": 9,
"w": 8,
"x": 8,
- "y": 33
+ "y": 18
},
- "id": 45,
+ "id": 300,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -14447,9 +13579,10 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "file_count{instance=~\"$instance\"}",
+ "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
+ "hide": false,
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "{{stage}}",
"refId": "A"
},
{
@@ -14458,14 +13591,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(file_count{instance=~\"$instance\"})",
+ "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
"hide": false,
"interval": "",
- "legendFormat": "total number of file",
+ "legendFormat": "{{stage}}",
"refId": "B"
}
],
- "title": "The Number Of File",
+ "title": "Remote / Local Write QPS",
"type": "timeseries"
},
{
@@ -14479,11 +13612,8 @@
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMin": -5,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -14515,6 +13645,10 @@
"steps": [
{
"color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
},
@@ -14523,17 +13657,17 @@
"overrides": []
},
"gridPos": {
- "h": 8,
+ "h": 9,
"w": 8,
"x": 16,
- "y": 33
+ "y": 18
},
- "id": 46,
+ "id": 299,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -14547,12 +13681,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": "SchemaRegion_ratis_log_worker_closedSegmentsSizeInBytes {instance=\"$instance\"}",
"interval": "",
- "legendFormat": "Used disk space",
- "range": true,
+ "legendFormat": "closedSegmentsSizeInBytes",
"refId": "A"
},
{
@@ -14560,18 +13692,106 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "sys_disk_total_space{instance=~\"$instance\", name=\"system\"}",
+ "expr": "SchemaRegion_ratis_log_worker_openSegmentSizeInBytes{instance=\"$instance\"}",
"hide": false,
"interval": "",
- "legendFormat": "Total disk space",
- "range": true,
+ "legendFormat": "openSegmentSizeInBytes",
"refId": "B"
}
],
- "title": "The Space of Disk",
+ "title": "RatisConsensus Memory",
"type": "timeseries"
+ }
+ ],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "SchemaRegion Ratis Consensus",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 9
+ },
+ "id": 33,
+ "panels": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green"
+ }
+ ]
+ },
+ "unit": "Core"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 0,
+ "y": 17
+ },
+ "id": 34,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "textMode": "auto"
+ },
+ "pluginVersion": "9.3.6",
+ "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": {
@@ -14588,6 +13808,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -14615,23 +13837,24 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
}
]
- }
+ },
+ "unit": "percent"
},
"overrides": []
},
"gridPos": {
- "h": 7,
+ "h": 8,
"w": 8,
- "x": 0,
- "y": 41
+ "x": 8,
+ "y": 17
},
- "id": 47,
+ "id": 35,
"options": {
"legend": {
"calcs": [],
@@ -14641,7 +13864,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "desc"
}
},
"targets": [
@@ -14652,9 +13875,9 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
+ "expr": "sys_cpu_load{instance=\"$instance\",name=\"system\"}",
"interval": "",
- "legendFormat": "Young GC number",
+ "legendFormat": "System CPU Load",
"range": true,
"refId": "A"
},
@@ -14663,15 +13886,15 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
+ "editorMode": "code",
+ "expr": "process_cpu_load{instance=\"$instance\",name=\"process\"}",
"hide": false,
- "interval": "",
- "legendFormat": "Full GC number",
+ "legendFormat": "Process CPU Load",
+ "range": true,
"refId": "B"
}
],
- "title": "The Number of GC Per Minute",
+ "title": "CPU Load",
"type": "timeseries"
},
{
@@ -14689,6 +13912,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -14716,24 +13941,24 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
}
]
},
- "unit": "s"
+ "unit": "ns"
},
"overrides": []
},
"gridPos": {
- "h": 7,
+ "h": 8,
"w": 8,
- "x": 8,
- "y": 41
+ "x": 16,
+ "y": 17
},
- "id": 48,
+ "id": 40,
"options": {
"legend": {
"calcs": [],
@@ -14743,7 +13968,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "desc"
+ "sort": "none"
}
},
"targets": [
@@ -14752,26 +13977,16 @@
"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": "sum(rate(process_cpu_time{instance=\"$instance\",name=\"process\"}[1m]))*60",
"interval": "",
- "legendFormat": "The time of young GC",
+ "legendFormat": "System CPU Load",
+ "range": true,
"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": "CPU Time(per minute)",
"type": "timeseries"
},
{
@@ -14789,6 +14004,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -14816,23 +14033,24 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
}
]
- }
+ },
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
- "h": 7,
+ "h": 8,
"w": 8,
- "x": 16,
- "y": 41
+ "x": 0,
+ "y": 25
},
- "id": 49,
+ "id": 41,
"options": {
"legend": {
"calcs": [],
@@ -14842,7 +14060,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "desc"
}
},
"targets": [
@@ -14851,10 +14069,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
+ "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}-sys_free_physical_memory_size{instance=\"$instance\", name=\"system\"}",
"interval": "",
- "legendFormat": "The total number of jvm thread",
+ "legendFormat": "Used physical memory",
+ "range": true,
"refId": "A"
},
{
@@ -14862,15 +14082,27 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "jvm_threads_states_threads{instance=~\"$instance\"}",
+ "editorMode": "code",
+ "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}",
"hide": false,
- "interval": "",
- "legendFormat": "{{state}}",
+ "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": "The Number Of Java Thread",
+ "title": "System Memory",
"type": "timeseries"
},
{
@@ -14888,6 +14120,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -14915,7 +14149,7 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
@@ -14929,10 +14163,10 @@
"gridPos": {
"h": 8,
"w": 8,
- "x": 0,
- "y": 48
+ "x": 8,
+ "y": 25
},
- "id": 50,
+ "id": 42,
"options": {
"legend": {
"calcs": [],
@@ -14942,7 +14176,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "desc"
}
},
"targets": [
@@ -14951,10 +14185,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})",
+ "expr": "sys_total_swap_space_size{instance=\"$instance\", name=\"system\"} - sys_free_swap_space_size{instance=\"$instance\", name=\"system\"}",
"interval": "",
- "legendFormat": "Maximum heap memory",
+ "legendFormat": "Used Swap Size",
+ "range": true,
"refId": "A"
},
{
@@ -14962,51 +14198,15 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "sum(jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\"})",
+ "editorMode": "code",
+ "expr": "sys_total_swap_space_size{instance=\"$instance\", name=\"system\"}",
"hide": false,
- "interval": "",
- "legendFormat": "Used heap memory",
+ "legendFormat": "Total Swap Size",
+ "range": true,
"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": "System Swap Size",
"type": "timeseries"
},
{
@@ -15024,6 +14224,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -15051,7 +14253,7 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
@@ -15065,10 +14267,10 @@
"gridPos": {
"h": 8,
"w": 8,
- "x": 8,
- "y": 48
+ "x": 16,
+ "y": 25
},
- "id": 51,
+ "id": 43,
"options": {
"legend": {
"calcs": [],
@@ -15087,14 +14289,40 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
+ "expr": "process_max_mem{instance=~\"${instance}\"}",
"interval": "",
- "legendFormat": "off heap memory",
+ "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": "Off Heap Memory",
+ "title": "Process Memory",
"type": "timeseries"
},
{
@@ -15146,63 +14374,17 @@
}
]
},
- "unit": "none"
+ "unit": "bytes"
},
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "warn"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "orange",
- "mode": "fixed"
- }
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "trace"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "purple",
- "mode": "fixed"
- }
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "error"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "fixedColor": "red",
- "mode": "fixed"
- }
- }
- ]
- }
- ]
+ "overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 16,
- "y": 48
+ "x": 0,
+ "y": 33
},
- "id": 52,
+ "id": 44,
"options": {
"legend": {
"calcs": [],
@@ -15221,16 +14403,26 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(logback_events_total{instance=~\"${instance}\"}[1m])) by (level) * 60",
+ "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": "{{level}}",
- "range": true,
- "refId": "A"
+ "legendFormat": "total size of file",
+ "refId": "B"
}
],
- "title": "Log Number Per Minute",
+ "title": "The Size Of File",
"type": "timeseries"
},
{
@@ -15238,7 +14430,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -15282,18 +14473,42 @@
"color": "green"
}
]
- },
- "unit": "ms"
+ }
},
- "overrides": []
+ "overrides": [
+ {
+ "__systemRef": "hideSeriesFrom",
+ "matcher": {
+ "id": "byNames",
+ "options": {
+ "mode": "exclude",
+ "names": [
+ "inner-seq-temp-num"
+ ],
+ "prefix": "All except:",
+ "readOnly": true
+ }
+ },
+ "properties": [
+ {
+ "id": "custom.hideFrom",
+ "value": {
+ "legend": false,
+ "tooltip": false,
+ "viz": true
+ }
+ }
+ ]
+ }
+ ]
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 0,
- "y": 56
+ "x": 8,
+ "y": 33
},
- "id": 53,
+ "id": 45,
"options": {
"legend": {
"calcs": [],
@@ -15312,16 +14527,26 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(jvm_compilation_time_ms{instance=~\"${instance}\"}[1m]))*60",
+ "expr": "file_count{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "compiler",
- "range": true,
+ "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 Time Consumed Of Compilation Per Minute",
+ "title": "The Number Of File",
"type": "timeseries"
},
{
@@ -15329,7 +14554,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -15340,6 +14564,7 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMin": -5,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -15374,17 +14599,17 @@
}
]
},
- "unit": "none"
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 8,
- "y": 56
+ "x": 16,
+ "y": 33
},
- "id": 54,
+ "id": 46,
"options": {
"legend": {
"calcs": [],
@@ -15405,9 +14630,9 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "jvm_classes_unloaded_classes{instance=~\"$instance\"}",
+ "expr": "sys_disk_total_space{instance=~\"$instance\", name=\"system\"}-sys_disk_free_space{instance=\"$instance\", name=\"system\"}",
"interval": "",
- "legendFormat": "Unloaded Number",
+ "legendFormat": "Used disk space",
"range": true,
"refId": "A"
},
@@ -15417,43 +14642,18 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "expr": "jvm_classes_loaded_classes{instance=~\"$instance\"}",
+ "exemplar": true,
+ "expr": "sys_disk_total_space{instance=~\"$instance\", name=\"system\"}",
"hide": false,
- "legendFormat": "Loaded Number",
+ "interval": "",
+ "legendFormat": "Total disk space",
"range": true,
"refId": "B"
}
],
- "title": "The Number Of Class",
+ "title": "The Space of Disk",
"type": "timeseries"
- }
- ],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "System",
- "type": "row"
- },
- {
- "collapsed": true,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 28
- },
- "id": 177,
- "panels": [
+ },
{
"datasource": {
"type": "prometheus",
@@ -15465,13 +14665,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMax": 1,
- "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 10,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15491,50 +14691,38 @@
"mode": "none"
},
"thresholdsStyle": {
- "mode": "line+area"
+ "mode": "off"
}
},
"mappings": [],
"thresholds": {
- "mode": "percentage",
+ "mode": "absolute",
"steps": [
{
"color": "green"
- },
- {
- "color": "#EAB839",
- "value": 80
- },
- {
- "color": "red",
- "value": 90
}
]
- },
- "unit": "percentunit"
+ }
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 12,
+ "h": 7,
+ "w": 8,
"x": 0,
- "y": 9
+ "y": 41
},
- "id": 179,
+ "id": 47,
"options": {
"legend": {
- "calcs": [
- "mean",
- "last"
- ],
- "displayMode": "table",
- "placement": "right",
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "none"
}
},
"targets": [
@@ -15545,14 +14733,26 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "disk_io_busy_percentage{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"
+ },
+ {
+ "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": "Disk I/O Busy Rate",
+ "title": "The Number of GC Per Minute",
"type": "timeseries"
},
{
@@ -15566,11 +14766,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15602,30 +14804,27 @@
}
]
},
- "unit": "KBs"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 9
+ "h": 7,
+ "w": 8,
+ "x": 8,
+ "y": 41
},
- "id": 181,
+ "id": 48,
"options": {
"legend": {
- "calcs": [
- "mean",
- "last"
- ],
- "displayMode": "table",
- "placement": "right",
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
"showLegend": true
},
"tooltip": {
- "mode": "none",
- "sort": "none"
+ "mode": "multi",
+ "sort": "desc"
}
},
"targets": [
@@ -15635,13 +14834,25 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(disk_io_size{instance=~\"$instance\"}[1m])",
+ "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{name}}-{{type}}",
+ "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": "",
+ "legendFormat": "The time of full GC",
+ "refId": "B"
}
],
- "title": "Disk I/O Throughput",
+ "title": "The Time Consumed Of GC Per Minute",
"type": "timeseries"
},
{
@@ -15655,11 +14866,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15690,33 +14903,27 @@
"color": "green"
}
]
- },
- "unit": "iops"
+ }
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 17
+ "h": 7,
+ "w": 8,
+ "x": 16,
+ "y": 41
},
- "id": 183,
+ "id": 49,
"options": {
"legend": {
- "calcs": [
- "mean",
- "max"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Mean",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "none"
}
},
"targets": [
@@ -15726,13 +14933,25 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(disk_io_ops{instance=~\"$instance\"}[1m])",
+ "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "{{name}}-{{type}}",
+ "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": "Disk I/O Ops",
+ "title": "The Number Of Java Thread",
"type": "timeseries"
},
{
@@ -15746,11 +14965,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15781,31 +15002,28 @@
"color": "green"
}
]
- }
+ },
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 17
+ "w": 8,
+ "x": 0,
+ "y": 48
},
- "id": 193,
+ "id": 50,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Mean",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "none"
}
},
"targets": [
@@ -15814,16 +15032,62 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "disk_io_avg_queue_size{instance=~\"$instance\"}",
+ "expr": "sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})",
"interval": "",
- "legendFormat": "{{name}}",
- "range": true,
+ "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": "",
+ "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": "Disk I/O Avg Queue Size",
+ "title": "Heap Memory",
"type": "timeseries"
},
{
@@ -15837,11 +15101,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15864,7 +15130,6 @@
"mode": "off"
}
},
- "decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
@@ -15874,32 +15139,27 @@
}
]
},
- "unit": "ms"
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 25
+ "w": 8,
+ "x": 8,
+ "y": 48
},
- "id": 187,
+ "id": 51,
"options": {
"legend": {
- "calcs": [
- "mean",
- "max"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Mean",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -15908,16 +15168,14 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "disk_io_avg_time{instance=~\"$instance\"}",
+ "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
"interval": "",
- "legendFormat": "{{name}}-{{type}}",
- "range": true,
+ "legendFormat": "off heap memory",
"refId": "A"
}
],
- "title": "Disk Per I/O Avg Time",
+ "title": "Off Heap Memory",
"type": "timeseries"
},
{
@@ -15931,11 +15189,13 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15967,31 +15227,73 @@
}
]
},
- "unit": "bytes"
+ "unit": "none"
},
- "overrides": []
+ "overrides": [
+ {
+ "matcher": {
+ "id": "byName",
+ "options": "warn"
+ },
+ "properties": [
+ {
+ "id": "color",
+ "value": {
+ "fixedColor": "orange",
+ "mode": "fixed"
+ }
+ }
+ ]
+ },
+ {
+ "matcher": {
+ "id": "byName",
+ "options": "trace"
+ },
+ "properties": [
+ {
+ "id": "color",
+ "value": {
+ "fixedColor": "purple",
+ "mode": "fixed"
+ }
+ }
+ ]
+ },
+ {
+ "matcher": {
+ "id": "byName",
+ "options": "error"
+ },
+ "properties": [
+ {
+ "id": "color",
+ "value": {
+ "fixedColor": "red",
+ "mode": "fixed"
+ }
+ }
+ ]
+ }
+ ]
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 25
+ "w": 8,
+ "x": 16,
+ "y": 48
},
- "id": 189,
+ "id": 52,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right",
- "showLegend": true,
- "sortBy": "Mean",
- "sortDesc": true
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -16000,14 +15302,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "disk_io_avg_size{instance=~\"$instance\"}",
+ "expr": "sum(rate(logback_events_total{instance=~\"${instance}\"}[1m])) by (level) * 60",
"interval": "",
- "legendFormat": "{{name}}-{{type}}",
+ "legendFormat": "{{level}}",
+ "range": true,
"refId": "A"
}
],
- "title": "Disk I/O Avg Size",
+ "title": "Log Number Per Minute",
"type": "timeseries"
},
{
@@ -16015,17 +15319,20 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -16057,29 +15364,27 @@
}
]
},
- "unit": "ops"
+ "unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
"x": 0,
- "y": 33
+ "y": 56
},
- "id": 191,
+ "id": 53,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right",
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -16088,14 +15393,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "rate(process_io_ops{instance=~\"$instance\"}[1m])",
+ "expr": "sum(rate(jvm_compilation_time_ms{instance=~\"${instance}\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{from}}-{{name}}",
+ "legendFormat": "compiler",
+ "range": true,
"refId": "A"
}
],
- "title": "I/O System Call Rate",
+ "title": "The Time Consumed Of Compilation Per Minute",
"type": "timeseries"
},
{
@@ -16103,17 +15410,20 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -16145,29 +15455,27 @@
}
]
},
- "unit": "KBs"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 33
+ "w": 8,
+ "x": 8,
+ "y": 56
},
- "id": 195,
+ "id": 54,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right",
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -16176,14 +15484,28 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "rate(process_io_size{instance=~\"$instance\"}[1m])",
+ "expr": "jvm_classes_unloaded_classes{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "{{from}}-{{name}}",
+ "legendFormat": "Unloaded Number",
+ "range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "jvm_classes_loaded_classes{instance=~\"$instance\"}",
+ "hide": false,
+ "legendFormat": "Loaded Number",
+ "range": true,
+ "refId": "B"
}
],
- "title": "Process I/O Throughput",
+ "title": "The Number Of Class",
"type": "timeseries"
}
],
@@ -16191,21 +15513,25 @@
{
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"refId": "A"
}
],
- "title": "Disk Status",
+ "title": "System",
"type": "row"
},
{
"collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
- "y": 29
+ "y": 10
},
"id": 197,
"panels": [
@@ -17921,16 +17247,29 @@
"type": "timeseries"
}
],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Schema Engine",
"type": "row"
},
{
"collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
- "y": 30
+ "y": 11
},
"id": 231,
"panels": [
@@ -20357,12 +19696,21 @@
"type": "timeseries"
}
],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Write Performance",
"type": "row"
}
],
"refresh": false,
- "schemaVersion": 35,
+ "schemaVersion": 37,
"style": "dark",
"tags": [
"Apache-IoTDB",
@@ -20434,6 +19782,6 @@
"timezone": "browser",
"title": "Apache IoTDB DataNode Dashboard",
"uid": "TbEVYRw7A",
- "version": 71,
+ "version": 2,
"weekStart": ""
}
\ No newline at end of file
diff --git a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Network-Dashboard.json b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Disk-IO-Dashboard.json
similarity index 51%
copy from docs/UserGuide/Monitor-Alert/Apache-IoTDB-Network-Dashboard.json
copy to docs/UserGuide/Monitor-Alert/Apache-IoTDB-Disk-IO-Dashboard.json
index f63d532a7b..fd8191a599 100644
--- a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Network-Dashboard.json
+++ b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Disk-IO-Dashboard.json
@@ -59,6 +59,19 @@
"links": [],
"liveNow": false,
"panels": [
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 0
+ },
+ "id": 18,
+ "panels": [],
+ "title": "Disk Status",
+ "type": "row"
+ },
{
"datasource": {
"type": "prometheus",
@@ -74,6 +87,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 1,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -96,28 +111,34 @@
"mode": "none"
},
"thresholdsStyle": {
- "mode": "off"
+ "mode": "line+area"
}
},
"mappings": [],
+ "max": 1,
+ "min": 0,
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green",
"value": null
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
},
- "unit": "binBps"
+ "unit": "percentunit"
},
"overrides": []
},
"gridPos": {
- "h": 10,
- "w": 24,
+ "h": 8,
+ "w": 12,
"x": 0,
- "y": 0
+ "y": 1
},
"id": 2,
"options": {
@@ -141,25 +162,104 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "expr": "rate(received_bytes{instance=~\"$instance\", iface_name=~\"$iface\"}[1m])",
- "legendFormat": "{{iface_name}}-{{type}}",
+ "expr": "disk_io_busy_percentage{instance=~\"$instance\", disk_id=~\"$disk\"}",
+ "legendFormat": "{{disk_id}}",
"range": true,
"refId": "A"
+ }
+ ],
+ "title": "Disk I/O Busy Rate",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "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": "KBs"
},
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 1
+ },
+ "id": 4,
+ "options": {
+ "legend": {
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "asc"
+ }
+ },
+ "targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "expr": "rate(transmitted_bytes{instance=~\"$instance\", iface_name=~\"$iface\"}[1m])",
- "hide": false,
- "legendFormat": "{{iface_name}}-{{type}}",
+ "expr": "rate(disk_io_size{instance=~\"$instance\", disk_id=~\"$disk\"}[1m])",
+ "legendFormat": "{{disk_id}}-{{type}}",
"range": true,
- "refId": "B"
+ "refId": "A"
}
],
- "title": "Net Speed",
+ "title": "Disk I/O Throughput",
"type": "timeseries"
},
{
@@ -212,21 +312,21 @@
}
]
},
- "unit": "bytes"
+ "unit": "iops"
},
"overrides": []
},
"gridPos": {
- "h": 9,
- "w": 24,
+ "h": 8,
+ "w": 12,
"x": 0,
- "y": 10
+ "y": 9
},
"id": 6,
"options": {
"legend": {
"calcs": [
- "last"
+ "mean"
],
"displayMode": "table",
"placement": "right",
@@ -244,25 +344,104 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "expr": "received_bytes{instance=~\"$instance\",iface_name=~\"$iface\"}",
- "legendFormat": "{{iface_name}}-{{type}}",
+ "expr": "rate(disk_io_ops{instance=~\"$instance\", disk_id=~\"$disk\"}[1m])",
+ "legendFormat": "{{disk_id}}-{{type}}",
"range": true,
"refId": "A"
+ }
+ ],
+ "title": "Disk I/O Ops",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "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": 8,
+ "w": 12,
+ "x": 12,
+ "y": 9
+ },
+ "id": 10,
+ "options": {
+ "legend": {
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
},
+ "tooltip": {
+ "mode": "multi",
+ "sort": "asc"
+ }
+ },
+ "targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "expr": "transmitted_bytes{instance=~\"$instance\",iface_name=~\"$iface\"}",
- "hide": false,
- "legendFormat": "{{iface_name}}-{{type}}",
+ "expr": "disk_io_avg_time{instance=~\"$instance\", disk_id=~\"$disk\"}",
+ "legendFormat": "{{disk_id}}-{{type}}",
"range": true,
- "refId": "B"
+ "refId": "A"
}
],
- "title": "Receive/Transmit Data Size",
+ "title": "Disk Per I/O Avg Time",
"type": "timeseries"
},
{
@@ -315,17 +494,17 @@
}
]
},
- "unit": "pps"
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
- "h": 10,
- "w": 24,
+ "h": 8,
+ "w": 12,
"x": 0,
- "y": 19
+ "y": 17
},
- "id": 4,
+ "id": 12,
"options": {
"legend": {
"calcs": [
@@ -347,27 +526,118 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "expr": "rate(received_packets{instance=~\"$instance\", iface_name=~\"$iface\"}[1m])",
- "legendFormat": "{{iface_name}}-{{type}}",
+ "expr": "disk_io_avg_size{instance=~\"$instance\", disk_id=~\"$disk\"}",
+ "legendFormat": "{{disk_id}}-{{type}}",
"range": true,
"refId": "A"
+ }
+ ],
+ "title": "Disk I/O Avg Size",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "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": 17
+ },
+ "id": 8,
+ "options": {
+ "legend": {
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
},
+ "tooltip": {
+ "mode": "multi",
+ "sort": "asc"
+ }
+ },
+ "targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "expr": "rate(transmitted_packets{instance=~\"$instance\", iface_name=~\"$iface\"}[1m])",
- "hide": false,
- "legendFormat": "{{iface_name}}-{{type}}",
+ "expr": "disk_io_avg_queue_size{instance=~\"$instance\", disk_id=~\"$disk\"}",
+ "legendFormat": "{{disk_id}}",
"range": true,
- "refId": "B"
+ "refId": "A"
}
],
- "title": "Packet Speed",
+ "title": "Disk I/O Avg Queue Size",
"type": "timeseries"
},
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 25
+ },
+ "id": 20,
+ "panels": [],
+ "title": "Process",
+ "type": "row"
+ },
{
"datasource": {
"type": "prometheus",
@@ -381,7 +651,6 @@
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
- "axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -409,37 +678,38 @@
"mode": "off"
}
},
- "decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
- }
+ },
+ "unit": "KBs"
},
"overrides": []
},
"gridPos": {
- "h": 10,
- "w": 24,
+ "h": 8,
+ "w": 12,
"x": 0,
- "y": 29
+ "y": 26
},
- "id": 8,
+ "id": 16,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "asc"
}
},
"targets": [
@@ -449,13 +719,103 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "expr": "connection_num{instance=~\"$instance\"}",
- "legendFormat": "{{job}}-{{instance}}",
+ "expr": "rate(process_io_size{instance=~\"$instance\"}[1m])",
+ "legendFormat": "{{from}}-{{name}}",
"range": true,
"refId": "A"
}
],
- "title": "Connection Num",
+ "title": "Process I/O Throughput",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "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"
+ }
+ ]
+ },
+ "unit": "ops"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 26
+ },
+ "id": 14,
+ "options": {
+ "legend": {
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "asc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "rate(process_io_ops{instance=~\"$instance\"}[1m])",
+ "legendFormat": "{{from}}-{{name}}",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "title": "I/O System Call Rate",
"type": "timeseries"
}
],
@@ -472,9 +832,10 @@
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(instance)",
+ "description": "",
"hide": 0,
"includeAll": false,
- "multi": false,
+ "multi": true,
"name": "instance",
"options": [],
"query": {
@@ -493,15 +854,14 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "definition": "label_values(iface_name)",
- "description": "",
+ "definition": "label_values(disk_id)",
"hide": 0,
"includeAll": false,
- "multi": false,
- "name": "iface",
+ "multi": true,
+ "name": "disk",
"options": [],
"query": {
- "query": "label_values(iface_name)",
+ "query": "label_values(disk_id)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
@@ -513,7 +873,7 @@
]
},
"time": {
- "from": "now-5m",
+ "from": "now-6h",
"to": "now"
},
"timepicker": {
@@ -527,8 +887,8 @@
]
},
"timezone": "",
- "title": "Apache IoTDB Network Dashboard",
- "uid": "AXEPYc-Vz",
- "version": 19,
+ "title": "Apache IoTDB Disk I/O Dashboard",
+ "uid": "TrJ0dsaVk",
+ "version": 15,
"weekStart": ""
}
\ No newline at end of file
diff --git a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Network-Dashboard.json b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Network-Dashboard.json
index f63d532a7b..66899f7b21 100644
--- a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Network-Dashboard.json
+++ b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Network-Dashboard.json
@@ -415,8 +415,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
}
@@ -497,7 +496,7 @@
"description": "",
"hide": 0,
"includeAll": false,
- "multi": false,
+ "multi": true,
"name": "iface",
"options": [],
"query": {
@@ -529,6 +528,6 @@
"timezone": "",
"title": "Apache IoTDB Network Dashboard",
"uid": "AXEPYc-Vz",
- "version": 19,
+ "version": 2,
"weekStart": ""
}
\ No newline at end of file
diff --git a/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/DiskMetrics.java b/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/DiskMetrics.java
index 1236ce8367..d9ff06f6dd 100644
--- a/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/DiskMetrics.java
+++ b/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/DiskMetrics.java
@@ -42,8 +42,10 @@ public class DiskMetrics implements IMetricSet {
private static final String ACTUAL_WRITE = "actual_write";
private static final String ACTUAL_READ = "actual_read";
private static final String TYPE = "type";
+ private static final String DISK_ID = "disk_id";
private static final String NAME = "name";
private static final String FROM = "from";
+
private static final String DISK_IO_SIZE = "disk_io_size";
private static final String DISK_IO_OPS = "disk_io_ops";
private static final String DISK_IO_TIME = "disk_io_time";
@@ -71,7 +73,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getReadDataSizeForDisk().getOrDefault(diskID, 0.0),
TYPE,
READ,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_SIZE,
@@ -80,7 +82,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getWriteDataSizeForDisk().getOrDefault(diskID, 0.0),
TYPE,
WRITE,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_OPS,
@@ -89,7 +91,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getReadOperationCountForDisk().getOrDefault(diskID, 0L),
TYPE,
READ,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_OPS,
@@ -98,7 +100,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getWriteOperationCountForDisk().getOrDefault(diskID, 0L),
TYPE,
WRITE,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_OPS,
@@ -107,7 +109,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getMergedReadOperationForDisk().getOrDefault(diskID, 0L),
TYPE,
MERGED_READ,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_OPS,
@@ -116,7 +118,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getMergedWriteOperationForDisk().getOrDefault(diskID, 0L),
TYPE,
MERGED_WRITE,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_TIME,
@@ -125,7 +127,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getReadCostTimeForDisk().getOrDefault(diskID, 0L),
TYPE,
READ,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_TIME,
@@ -134,7 +136,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getWriteCostTimeForDisk().getOrDefault(diskID, 0L),
TYPE,
WRITE,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_AVG_TIME,
@@ -143,7 +145,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getAvgReadCostTimeOfEachOpsForDisk().getOrDefault(diskID, 0.0),
TYPE,
READ,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_AVG_TIME,
@@ -152,7 +154,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getAvgWriteCostTimeOfEachOpsForDisk().getOrDefault(diskID, 0.0),
TYPE,
WRITE,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_AVG_SIZE,
@@ -161,7 +163,7 @@ public class DiskMetrics implements IMetricSet {
x -> x.getAvgSizeOfEachReadForDisk().getOrDefault(diskID, 0.0),
TYPE,
READ,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_AVG_SIZE,
@@ -170,21 +172,21 @@ public class DiskMetrics implements IMetricSet {
x -> x.getAvgSizeOfEachWriteForDisk().getOrDefault(diskID, 0.0),
TYPE,
WRITE,
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_BUSY_PERCENTAGE,
MetricLevel.IMPORTANT,
diskMetricsManager,
x -> x.getIoUtilsPercentage().getOrDefault(diskID, 0.0),
- NAME,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_QUEUE_SIZE,
MetricLevel.IMPORTANT,
diskMetricsManager,
x -> x.getQueueSizeForDisk().getOrDefault(diskID, 0.0),
- NAME,
+ DISK_ID,
diskID);
}