You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ma...@apache.org on 2023/03/22 12:21:43 UTC
[iotdb] branch sperate-disk-dashboard created (now be837f70c6)
This is an automated email from the ASF dual-hosted git repository.
marklau99 pushed a change to branch sperate-disk-dashboard
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at be837f70c6 edit the dashboard
This branch includes the following new commits:
new 3dec0bc662 Seperate IO Dashboard apart (#9357)
new be837f70c6 edit the dashboard
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 02/02: edit the dashboard
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
marklau99 pushed a commit to branch sperate-disk-dashboard
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit be837f70c683ec86c5bd68860991448d3c904085
Author: Liu Xuxin <li...@outlook.com>
AuthorDate: Wed Mar 22 20:21:11 2023 +0800
edit the dashboard
---
.../Apache-IoTDB-DataNode-Dashboard.json | 5246 +++++++++-----------
.../Apache-IoTDB-Disk-IO-Dashboard.json | 8 +-
2 files changed, 2248 insertions(+), 3006 deletions(-)
diff --git a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-DataNode-Dashboard.json b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-DataNode-Dashboard.json
index bdbe5ec5a3..420fa67db8 100644
--- a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-DataNode-Dashboard.json
+++ b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-DataNode-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,15 +75,14 @@
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
- "iteration": 1679118029653,
"links": [],
"liveNow": false,
"panels": [
{
- "collapsed": false,
+ "collapsed": true,
"datasource": {
"type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ "uid": "Ar7cRMx4z"
},
"gridPos": {
"h": 1,
@@ -92,297 +91,6 @@
"y": 0
},
"id": 1,
- "panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "Overview",
- "type": "row"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 0,
- "y": 1
- },
- "id": 2,
- "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": "quantity{instance=~\"$instance\"}",
- "interval": "",
- "legendFormat": "{{name}}",
- "range": true,
- "refId": "A"
- }
- ],
- "title": "The Number Of Entity",
- "type": "timeseries"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 8,
- "y": 1
- },
- "id": 3,
- "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": "rate(quantity_total{instance=~\"$instance\"}[1m])",
- "interval": "1m",
- "legendFormat": "write point per second",
- "range": true,
- "refId": "A"
- }
- ],
- "title": "Write Point Per Second",
- "type": "timeseries"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 16,
- "y": 1
- },
- "id": 4,
- "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": "mem{instance=~\"$instance\", name!=\"IoTConsensus\"}",
- "interval": "",
- "legendFormat": "{{name}}",
- "range": true,
- "refId": "A"
- }
- ],
- "title": "Database Used Memory",
- "type": "timeseries"
- },
- {
- "collapsed": true,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 9
- },
- "id": 5,
"panels": [
{
"datasource": {
@@ -429,11 +137,11 @@
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
}
]
- },
- "unit": "s"
+ }
},
"overrides": []
},
@@ -441,9 +149,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 50
+ "y": 1
},
- "id": 6,
+ "id": 2,
"options": {
"legend": {
"calcs": [],
@@ -462,15 +170,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "statement_execution_seconds{instance=~\"$instance\", quantile=\"0.5\"}",
- "hide": false,
+ "expr": "quantity{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "{{type}}/{{interface}}",
+ "legendFormat": "{{name}}",
+ "range": true,
"refId": "A"
}
],
- "title": "The Time Consumed Of Operation (50%)",
+ "title": "The Number Of Entity",
"type": "timeseries"
},
{
@@ -518,11 +227,11 @@
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
}
]
- },
- "unit": "s"
+ }
},
"overrides": []
},
@@ -530,9 +239,9 @@
"h": 8,
"w": 8,
"x": 8,
- "y": 50
+ "y": 1
},
- "id": 55,
+ "id": 3,
"options": {
"legend": {
"calcs": [],
@@ -542,7 +251,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "desc"
+ "sort": "none"
}
},
"targets": [
@@ -551,15 +260,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "statement_execution_seconds{instance=~\"$instance\", quantile=\"0.75\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "{{type}}/{{interface}}",
+ "expr": "rate(quantity_total{instance=~\"$instance\"}[1m])",
+ "interval": "1m",
+ "legendFormat": "write point per second",
+ "range": true,
"refId": "A"
}
],
- "title": "The Time Consumed Of Operation (75%)",
+ "title": "Write Point Per Second",
"type": "timeseries"
},
{
@@ -607,11 +317,12 @@
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
}
]
},
- "unit": "s"
+ "unit": "bytes"
},
"overrides": []
},
@@ -619,9 +330,9 @@
"h": 8,
"w": 8,
"x": 16,
- "y": 50
+ "y": 1
},
- "id": 56,
+ "id": 4,
"options": {
"legend": {
"calcs": [],
@@ -640,17 +351,45 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "statement_execution_seconds{instance=~\"$instance\", quantile=\"1.0\"}",
- "hide": false,
+ "expr": "mem{instance=~\"$instance\", name!=\"IoTConsensus\"}",
"interval": "",
- "legendFormat": "{{type}}/{{interface}}",
+ "legendFormat": "{{name}}",
+ "range": true,
"refId": "A"
}
],
- "title": "The Time Consumed Of Operation (100%)",
+ "title": "Database Used Memory",
"type": "timeseries"
- },
+ }
+ ],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "Overview",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 1
+ },
+ "id": 5,
+ "panels": [
{
"datasource": {
"type": "prometheus",
@@ -696,11 +435,12 @@
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
}
]
},
- "unit": "none"
+ "unit": "s"
},
"overrides": []
},
@@ -708,9 +448,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 58
+ "y": 10
},
- "id": 9,
+ "id": 6,
"options": {
"legend": {
"calcs": [],
@@ -729,16 +469,15 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "rate(entry_seconds_count{instance=~\"$instance\"}[1m])",
+ "expr": "statement_execution_seconds{instance=~\"$instance\", quantile=\"0.5\"}",
+ "hide": false,
"interval": "",
- "legendFormat": "{{name}}",
- "range": true,
+ "legendFormat": "{{type}}/{{interface}}",
"refId": "A"
}
],
- "title": "The QPS Of Interface",
+ "title": "The Time Consumed Of Operation (50%)",
"type": "timeseries"
},
{
@@ -786,7 +525,8 @@
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
}
]
},
@@ -798,9 +538,9 @@
"h": 8,
"w": 8,
"x": 8,
- "y": 58
+ "y": 10
},
- "id": 10,
+ "id": 55,
"options": {
"legend": {
"calcs": [],
@@ -819,16 +559,15 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "avg(rate(entry_seconds_sum{instance=~\"$instance\"}[1m])/rate(entry_seconds_count{instance=~\"$instance\"}[1m])) by (name,instance)",
+ "expr": "statement_execution_seconds{instance=~\"$instance\", quantile=\"0.75\"}",
+ "hide": false,
"interval": "",
- "legendFormat": "{{name}}",
- "range": true,
+ "legendFormat": "{{type}}/{{interface}}",
"refId": "A"
}
],
- "title": "The Time Consumed Of Interface",
+ "title": "The Time Consumed Of Operation (75%)",
"type": "timeseries"
},
{
@@ -872,17 +611,16 @@
}
},
"mappings": [],
- "max": 1,
- "min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
}
]
},
- "unit": "percentunit"
+ "unit": "s"
},
"overrides": []
},
@@ -890,9 +628,9 @@
"h": 8,
"w": 8,
"x": 16,
- "y": 58
+ "y": 10
},
- "id": 11,
+ "id": 56,
"options": {
"legend": {
"calcs": [],
@@ -905,7 +643,6 @@
"sort": "desc"
}
},
- "pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
@@ -913,26 +650,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "avg(cache_total{instance=~\"$instance\", type=\"hit\"}) by (name) / avg(cache_total{instance=~\"$instance\", type=\"all\"}) by (name)",
- "format": "time_series",
- "interval": "",
- "legendFormat": "{{name}}",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "cache_hit{instance=~\"$instance\"} / 100",
+ "expr": "statement_execution_seconds{instance=~\"$instance\", quantile=\"1.0\"}",
"hide": false,
"interval": "",
- "legendFormat": "{{name}}",
- "refId": "B"
+ "legendFormat": "{{type}}/{{interface}}",
+ "refId": "A"
}
],
- "title": "Cache Hit Rate",
+ "title": "The Time Consumed Of Operation (100%)",
"type": "timeseries"
},
{
@@ -946,6 +671,8 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -978,7 +705,8 @@
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
}
]
},
@@ -990,9 +718,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 66
+ "y": 18
},
- "id": 12,
+ "id": 9,
"options": {
"legend": {
"calcs": [],
@@ -1013,14 +741,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "thrift_connections{instance=~\"$instance\"}",
+ "expr": "rate(entry_seconds_count{instance=~\"$instance\"}[1m])",
"interval": "",
"legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
- "title": "Thrift Connection",
+ "title": "The QPS Of Interface",
"type": "timeseries"
},
{
@@ -1034,6 +762,8 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1066,11 +796,12 @@
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
}
]
},
- "unit": "none"
+ "unit": "s"
},
"overrides": []
},
@@ -1078,9 +809,9 @@
"h": 8,
"w": 8,
"x": 8,
- "y": 66
+ "y": 18
},
- "id": 13,
+ "id": 10,
"options": {
"legend": {
"calcs": [],
@@ -1101,43 +832,16 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "thrift_active_threads{instance=~\"$instance\"}",
+ "expr": "avg(rate(entry_seconds_sum{instance=~\"$instance\"}[1m])/rate(entry_seconds_count{instance=~\"$instance\"}[1m])) by (name,instance)",
"interval": "",
"legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
- "title": "Thrift Active Thread",
+ "title": "The Time Consumed Of Interface",
"type": "timeseries"
- }
- ],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "Interface",
- "type": "row"
- },
- {
- "collapsed": true,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 10
- },
- "id": 14,
- "panels": [
+ },
{
"datasource": {
"type": "prometheus",
@@ -1179,24 +883,28 @@
}
},
"mappings": [],
+ "max": 1,
+ "min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
- "color": "green"
+ "color": "green",
+ "value": null
}
]
- }
+ },
+ "unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 11
+ "w": 8,
+ "x": 16,
+ "y": 18
},
- "id": 15,
+ "id": 11,
"options": {
"legend": {
"calcs": [],
@@ -1209,22 +917,34 @@
"sort": "desc"
}
},
+ "pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "queue{instance=~\"$instance\"}",
+ "expr": "avg(cache_total{instance=~\"$instance\", type=\"hit\"}) by (name) / avg(cache_total{instance=~\"$instance\", type=\"all\"}) by (name)",
+ "format": "time_series",
"interval": "",
- "legendFormat": "{{name}}-{{status}}",
- "range": true,
+ "legendFormat": "{{name}}",
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "cache_hit{instance=~\"$instance\"} / 100",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "{{name}}",
+ "refId": "B"
}
],
- "title": "Task Number",
+ "title": "Cache Hit Rate",
"type": "timeseries"
},
{
@@ -1238,8 +958,6 @@
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1276,17 +994,17 @@
}
]
},
- "unit": "s"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 11
+ "w": 8,
+ "x": 0,
+ "y": 26
},
- "id": 16,
+ "id": 12,
"options": {
"legend": {
"calcs": [],
@@ -1307,14 +1025,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "rate(cost_task_seconds_sum{instance=~\"$instance\"}[1m])/rate(cost_task_seconds_count{instance=~\"$instance\"}[1m])",
+ "expr": "thrift_connections{instance=~\"$instance\"}",
"interval": "",
"legendFormat": "{{name}}",
"range": true,
"refId": "A"
}
],
- "title": "The Time Consumed of Task",
+ "title": "Thrift Connection",
"type": "timeseries"
},
{
@@ -1328,8 +1046,6 @@
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1366,17 +1082,17 @@
}
]
},
- "unit": "bytes"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
- "x": 0,
- "y": 19
+ "x": 8,
+ "y": 26
},
- "id": 17,
+ "id": 13,
"options": {
"legend": {
"calcs": [],
@@ -1397,28 +1113,43 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(data_written_total{instance=~\"$instance\"}[1m]))*60",
+ "expr": "thrift_active_threads{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "Write",
+ "legendFormat": "{{name}}",
"range": true,
"refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "editorMode": "code",
- "expr": "sum(rate(data_read_total{instance=~\"$instance\"}[1m]))*60",
- "hide": false,
- "legendFormat": "Read",
- "range": true,
- "refId": "B"
}
],
- "title": "Compaction Read And Write Per Minute",
+ "title": "Thrift Active Thread",
"type": "timeseries"
- },
+ }
+ ],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "Interface",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 2
+ },
+ "id": 14,
+ "panels": [
{
"datasource": {
"type": "prometheus",
@@ -1467,18 +1198,17 @@
"color": "green"
}
]
- },
- "unit": "none"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 8,
- "x": 8,
- "y": 19
+ "w": 12,
+ "x": 0,
+ "y": 11
},
- "id": 18,
+ "id": 15,
"options": {
"legend": {
"calcs": [],
@@ -1499,14 +1229,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(data_read_total{instance=~\"$instance\"}[1m]))*60 / sum(rate(data_written_total{instance=~\"$instance\"}[1m]))*60",
+ "expr": "queue{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "Ratio",
+ "legendFormat": "{{name}}-{{status}}",
"range": true,
"refId": "A"
}
],
- "title": "Compaction R/W Ratio Per Minute",
+ "title": "Task Number",
"type": "timeseries"
},
{
@@ -1558,17 +1288,17 @@
}
]
},
- "unit": "none"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 8,
- "x": 16,
- "y": 19
+ "w": 12,
+ "x": 12,
+ "y": 11
},
- "id": 19,
+ "id": 16,
"options": {
"legend": {
"calcs": [],
@@ -1589,42 +1319,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(compaction_task_count{instance=\"$instance\", name = \"inner_seq\"}[1m]))*60",
+ "expr": "rate(cost_task_seconds_sum{instance=~\"$instance\"}[1m])/rate(cost_task_seconds_count{instance=~\"$instance\"}[1m])",
"interval": "",
- "legendFormat": "sequence",
+ "legendFormat": "{{name}}",
"range": true,
"refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "editorMode": "code",
- "exemplar": true,
- "expr": "sum(rate(compaction_task_count{instance=\"$instance\", name = \"inner_unseq\"}[1m]))*60",
- "hide": false,
- "interval": "",
- "legendFormat": "unsequence",
- "range": true,
- "refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "editorMode": "code",
- "exemplar": true,
- "expr": "sum(rate(compaction_task_count{instance=\"$instance\", name = \"cross\"}[1m]))*60",
- "hide": false,
- "interval": "",
- "legendFormat": "cross",
- "range": true,
- "refId": "C"
}
],
- "title": "Compaction Number Per Minute",
+ "title": "The Time Consumed of Task",
"type": "timeseries"
},
{
@@ -1675,17 +1377,18 @@
"color": "green"
}
]
- }
+ },
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
"x": 0,
- "y": 27
+ "y": 19
},
- "id": 169,
+ "id": 17,
"options": {
"legend": {
"calcs": [],
@@ -1694,8 +1397,8 @@
"showLegend": true
},
"tooltip": {
- "mode": "single",
- "sort": "none"
+ "mode": "multi",
+ "sort": "desc"
}
},
"targets": [
@@ -1704,10 +1407,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(Compacted_Chunk_Num_total{instance=~\"$instance\"}[1m]))*60",
+ "expr": "sum(rate(data_written_total{instance=~\"$instance\"}[1m]))*60",
"interval": "",
- "legendFormat": "Compacted Chunk Num Per Min",
+ "legendFormat": "Write",
+ "range": true,
"refId": "A"
},
{
@@ -1715,39 +1420,15 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "sum(rate(Deserialized_Chunk_Num_total{instance=~\"$instance\"}[1m]))*60",
+ "editorMode": "code",
+ "expr": "sum(rate(data_read_total{instance=~\"$instance\"}[1m]))*60",
"hide": false,
- "interval": "",
- "legendFormat": "Deserialized Chunk Num Per Min",
+ "legendFormat": "Read",
+ "range": true,
"refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(rate(Directly_Flush_Chunk_Num_total{instance=~\"$instance\"}[1m]))*60",
- "hide": false,
- "interval": "",
- "legendFormat": "Directly Flush Chunk Num Per Min",
- "refId": "C"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(rate(Merged_Chunk_Num_total{instance=~\"$instance\"}[1m]))*60",
- "hide": false,
- "interval": "",
- "legendFormat": "Merged Chunk Num Per Min",
- "refId": "D"
}
],
- "title": "Compaction Process Chunk Status",
+ "title": "Compaction Read And Write Per Minute",
"type": "timeseries"
},
{
@@ -1798,17 +1479,18 @@
"color": "green"
}
]
- }
+ },
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 27
+ "w": 8,
+ "x": 8,
+ "y": 19
},
- "id": 171,
+ "id": 18,
"options": {
"legend": {
"calcs": [],
@@ -1817,8 +1499,8 @@
"showLegend": true
},
"tooltip": {
- "mode": "single",
- "sort": "none"
+ "mode": "multi",
+ "sort": "desc"
}
},
"targets": [
@@ -1827,43 +1509,18 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(Compacted_Point_Num_total{instance=~\"$instance\"}[1m]))*60",
+ "expr": "sum(rate(data_read_total{instance=~\"$instance\"}[1m]))*60 / sum(rate(data_written_total{instance=~\"$instance\"}[1m]))*60",
"interval": "",
- "legendFormat": "Compacted Point Num Per Min",
+ "legendFormat": "Ratio",
+ "range": true,
"refId": "A"
}
],
- "title": "Compacted Point Num Per Minute",
+ "title": "Compaction R/W Ratio Per Minute",
"type": "timeseries"
- }
- ],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "Engine",
- "type": "row"
- },
- {
- "collapsed": true,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 11
- },
- "id": 58,
- "panels": [
+ },
{
"datasource": {
"type": "prometheus",
@@ -1913,17 +1570,17 @@
}
]
},
- "unit": "s"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 6,
- "x": 0,
- "y": 12
+ "w": 8,
+ "x": 16,
+ "y": 19
},
- "id": 80,
+ "id": 19,
"options": {
"legend": {
"calcs": [],
@@ -1942,14 +1599,44 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "rate(query_plan_cost_seconds_sum{instance=~\"$instance\"}[1m]) / rate(query_plan_cost_seconds_count{instance=~\"$instance\"}[1m])",
+ "expr": "sum(rate(compaction_task_count{instance=\"$instance\", name = \"inner_seq\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{stage}}",
+ "legendFormat": "sequence",
+ "range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sum(rate(compaction_task_count{instance=\"$instance\", name = \"inner_unseq\"}[1m]))*60",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "unsequence",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sum(rate(compaction_task_count{instance=\"$instance\", name = \"cross\"}[1m]))*60",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "cross",
+ "range": true,
+ "refId": "C"
}
],
- "title": "The time consumed of query plan stages(avg)",
+ "title": "Compaction Number Per Minute",
"type": "timeseries"
},
{
@@ -2000,18 +1687,17 @@
"color": "green"
}
]
- },
- "unit": "s"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 6,
- "x": 6,
- "y": 12
+ "w": 12,
+ "x": 0,
+ "y": 27
},
- "id": 60,
+ "id": 169,
"options": {
"legend": {
"calcs": [],
@@ -2020,8 +1706,8 @@
"showLegend": true
},
"tooltip": {
- "mode": "multi",
- "sort": "desc"
+ "mode": "single",
+ "sort": "none"
}
},
"targets": [
@@ -2031,13 +1717,49 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "query_plan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\"}",
+ "expr": "sum(rate(Compacted_Chunk_Num_total{instance=~\"$instance\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{stage}}",
+ "legendFormat": "Compacted Chunk Num Per Min",
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "sum(rate(Deserialized_Chunk_Num_total{instance=~\"$instance\"}[1m]))*60",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Deserialized Chunk Num Per Min",
+ "refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "sum(rate(Directly_Flush_Chunk_Num_total{instance=~\"$instance\"}[1m]))*60",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Directly Flush Chunk Num Per Min",
+ "refId": "C"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "sum(rate(Merged_Chunk_Num_total{instance=~\"$instance\"}[1m]))*60",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Merged Chunk Num Per Min",
+ "refId": "D"
}
],
- "title": "The time consumed of query plan stages(50%)",
+ "title": "Compaction Process Chunk Status",
"type": "timeseries"
},
{
@@ -2088,18 +1810,17 @@
"color": "green"
}
]
- },
- "unit": "s"
+ }
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 6,
+ "w": 12,
"x": 12,
- "y": 12
+ "y": 27
},
- "id": 61,
+ "id": 171,
"options": {
"legend": {
"calcs": [],
@@ -2108,8 +1829,8 @@
"showLegend": true
},
"tooltip": {
- "mode": "multi",
- "sort": "desc"
+ "mode": "single",
+ "sort": "none"
}
},
"targets": [
@@ -2119,15 +1840,42 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "query_plan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\"}",
+ "expr": "sum(rate(Compacted_Point_Num_total{instance=~\"$instance\"}[1m]))*60",
"interval": "",
- "legendFormat": "{{stage}}",
+ "legendFormat": "Compacted Point Num Per Min",
"refId": "A"
}
],
- "title": "The time consumed of query plan stages(75%)",
+ "title": "Compacted Point Num Per Minute",
"type": "timeseries"
- },
+ }
+ ],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "Engine",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 3
+ },
+ "id": 58,
+ "panels": [
{
"datasource": {
"type": "prometheus",
@@ -2184,10 +1932,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 12
},
- "id": 62,
+ "id": 80,
"options": {
"legend": {
"calcs": [],
@@ -2207,13 +1955,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "query_plan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\"}",
+ "expr": "rate(query_plan_cost_seconds_sum{instance=~\"$instance\"}[1m]) / rate(query_plan_cost_seconds_count{instance=~\"$instance\"}[1m])",
"interval": "",
"legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of query plan stages(100%)",
+ "title": "The time consumed of query plan stages(avg)",
"type": "timeseries"
},
{
@@ -2272,10 +2020,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 20
+ "x": 6,
+ "y": 12
},
- "id": 63,
+ "id": 60,
"options": {
"legend": {
"calcs": [],
@@ -2295,13 +2043,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(dispatcher_seconds_sum{instance=~\"$instance\"}[1m]) / rate(dispatcher_seconds_count{instance=~\"$instance\"}[1m])",
+ "expr": "query_plan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\"}",
"interval": "",
"legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of plan dispatch stages(avg)",
+ "title": "The time consumed of query plan stages(50%)",
"type": "timeseries"
},
{
@@ -2360,10 +2108,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 20
+ "x": 12,
+ "y": 12
},
- "id": 81,
+ "id": 61,
"options": {
"legend": {
"calcs": [],
@@ -2383,13 +2131,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "dispatcher_seconds{instance=~\"${instance}\", quantile=\"0.5\"}",
+ "expr": "query_plan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\"}",
"interval": "",
"legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of plan dispatch stages(50%)",
+ "title": "The time consumed of query plan stages(75%)",
"type": "timeseries"
},
{
@@ -2448,10 +2196,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 20
+ "x": 18,
+ "y": 12
},
- "id": 64,
+ "id": 62,
"options": {
"legend": {
"calcs": [],
@@ -2471,13 +2219,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "dispatcher_seconds{instance=~\"${instance}\", quantile=\"0.75\"}",
+ "expr": "query_plan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\"}",
"interval": "",
"legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of plan dispatch stages(75%)",
+ "title": "The time consumed of query plan stages(100%)",
"type": "timeseries"
},
{
@@ -2536,10 +2284,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 20
},
- "id": 65,
+ "id": 63,
"options": {
"legend": {
"calcs": [],
@@ -2559,13 +2307,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "dispatcher_seconds{instance=~\"${instance}\", quantile=\"1.0\"}",
+ "expr": "rate(dispatcher_seconds_sum{instance=~\"$instance\"}[1m]) / rate(dispatcher_seconds_count{instance=~\"$instance\"}[1m])",
"interval": "",
"legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of plan dispatch stages(100%)",
+ "title": "The time consumed of plan dispatch stages(avg)",
"type": "timeseries"
},
{
@@ -2624,10 +2372,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 28
+ "x": 6,
+ "y": 20
},
- "id": 83,
+ "id": 81,
"options": {
"legend": {
"calcs": [],
@@ -2647,13 +2395,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(query_execution_seconds_sum{instance=~\"$instance\"}[1m]) / rate(query_execution_seconds_count{instance=~\"$instance\"}[1m])",
+ "expr": "dispatcher_seconds{instance=~\"${instance}\", quantile=\"0.5\"}",
"interval": "",
"legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of query execution stages(avg)",
+ "title": "The time consumed of plan dispatch stages(50%)",
"type": "timeseries"
},
{
@@ -2712,10 +2460,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 28
+ "x": 12,
+ "y": 20
},
- "id": 66,
+ "id": 64,
"options": {
"legend": {
"calcs": [],
@@ -2735,13 +2483,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "query_execution_seconds{instance=~\"${instance}\", quantile=\"0.5\"}",
+ "expr": "dispatcher_seconds{instance=~\"${instance}\", quantile=\"0.75\"}",
"interval": "",
"legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of query execution stages(50%)",
+ "title": "The time consumed of plan dispatch stages(75%)",
"type": "timeseries"
},
{
@@ -2800,10 +2548,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 28
+ "x": 18,
+ "y": 20
},
- "id": 67,
+ "id": 65,
"options": {
"legend": {
"calcs": [],
@@ -2813,7 +2561,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -2823,13 +2571,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "query_execution_seconds{instance=~\"${instance}\", quantile=\"0.75\"}",
+ "expr": "dispatcher_seconds{instance=~\"${instance}\", quantile=\"1.0\"}",
"interval": "",
"legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of query execution stages(75%)",
+ "title": "The time consumed of plan dispatch stages(100%)",
"type": "timeseries"
},
{
@@ -2888,10 +2636,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 28
},
- "id": 68,
+ "id": 83,
"options": {
"legend": {
"calcs": [],
@@ -2901,7 +2649,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -2911,13 +2659,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "query_execution_seconds{instance=~\"${instance}\", quantile=\"1.0\"}",
+ "expr": "rate(query_execution_seconds_sum{instance=~\"$instance\"}[1m]) / rate(query_execution_seconds_count{instance=~\"$instance\"}[1m])",
"interval": "",
"legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of query execution stages(100%)",
+ "title": "The time consumed of query execution stages(avg)",
"type": "timeseries"
},
{
@@ -2976,10 +2724,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 36
+ "x": 6,
+ "y": 28
},
- "id": 82,
+ "id": 66,
"options": {
"legend": {
"calcs": [],
@@ -2999,13 +2747,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(operator_execution_cost_seconds_sum{instance=~\"$instance\"}[1m]) / rate(operator_execution_cost_seconds_count{instance=~\"$instance\"}[1m])",
+ "expr": "query_execution_seconds{instance=~\"${instance}\", quantile=\"0.5\"}",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of operator execution stages(avg)",
+ "title": "The time consumed of query execution stages(50%)",
"type": "timeseries"
},
{
@@ -3064,10 +2812,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 36
+ "x": 12,
+ "y": 28
},
- "id": 69,
+ "id": 67,
"options": {
"legend": {
"calcs": [],
@@ -3087,13 +2835,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "operator_execution_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\"}",
+ "expr": "query_execution_seconds{instance=~\"${instance}\", quantile=\"0.75\"}",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of operator execution(50%)",
+ "title": "The time consumed of query execution stages(75%)",
"type": "timeseries"
},
{
@@ -3152,10 +2900,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 36
+ "x": 18,
+ "y": 28
},
- "id": 70,
+ "id": 68,
"options": {
"legend": {
"calcs": [],
@@ -3165,7 +2913,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "desc"
+ "sort": "asc"
}
},
"targets": [
@@ -3175,13 +2923,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "operator_execution_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\"}",
+ "expr": "query_execution_seconds{instance=~\"${instance}\", quantile=\"1.0\"}",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of operator execution(75%)",
+ "title": "The time consumed of query execution stages(100%)",
"type": "timeseries"
},
{
@@ -3240,10 +2988,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 36
},
- "id": 71,
+ "id": 82,
"options": {
"legend": {
"calcs": [],
@@ -3263,13 +3011,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "operator_execution_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\"}",
+ "expr": "rate(operator_execution_cost_seconds_sum{instance=~\"$instance\"}[1m]) / rate(operator_execution_cost_seconds_count{instance=~\"$instance\"}[1m])",
"interval": "",
"legendFormat": "{{name}}",
"refId": "A"
}
],
- "title": "The time consumed of operator execution(100%)",
+ "title": "The time consumed of operator execution stages(avg)",
"type": "timeseries"
},
{
@@ -3328,10 +3076,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 44
+ "x": 6,
+ "y": 36
},
- "id": 72,
+ "id": 69,
"options": {
"legend": {
"calcs": [],
@@ -3341,7 +3089,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "desc"
+ "sort": "asc"
}
},
"targets": [
@@ -3351,13 +3099,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(aggregation_seconds_sum{instance=~\"$instance\"}[1m]) / rate(aggregation_seconds_count{instance=~\"$instance\"}[1m])",
+ "expr": "operator_execution_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\"}",
"interval": "",
- "legendFormat": "{{from}}",
+ "legendFormat": "{{name}}",
"refId": "A"
}
],
- "title": "The time consumed of query aggregation(avg)",
+ "title": "The time consumed of operator execution(50%)",
"type": "timeseries"
},
{
@@ -3416,10 +3164,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 44
+ "x": 12,
+ "y": 36
},
- "id": 84,
+ "id": 70,
"options": {
"legend": {
"calcs": [],
@@ -3439,13 +3187,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "aggregation_seconds{instance=~\"${instance}\", quantile=\"0.5\"}",
+ "expr": "operator_execution_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\"}",
"interval": "",
- "legendFormat": "{{from}}",
+ "legendFormat": "{{name}}",
"refId": "A"
}
],
- "title": "The time consumed of query aggregation(50%)",
+ "title": "The time consumed of operator execution(75%)",
"type": "timeseries"
},
{
@@ -3504,10 +3252,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 44
+ "x": 18,
+ "y": 36
},
- "id": 73,
+ "id": 71,
"options": {
"legend": {
"calcs": [],
@@ -3527,13 +3275,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "aggregation_seconds{instance=~\"${instance}\", quantile=\"0.75\"}",
+ "expr": "operator_execution_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\"}",
"interval": "",
- "legendFormat": "{{from}}",
+ "legendFormat": "{{name}}",
"refId": "A"
}
],
- "title": "The time consumed of query aggregation(75%)",
+ "title": "The time consumed of operator execution(100%)",
"type": "timeseries"
},
{
@@ -3592,10 +3340,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 44
},
- "id": 74,
+ "id": 72,
"options": {
"legend": {
"calcs": [],
@@ -3615,13 +3363,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "aggregation_seconds{instance=~\"${instance}\", quantile=\"1.0\"}",
+ "expr": "rate(aggregation_seconds_sum{instance=~\"$instance\"}[1m]) / rate(aggregation_seconds_count{instance=~\"$instance\"}[1m])",
"interval": "",
"legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of query aggregation(100%)",
+ "title": "The time consumed of query aggregation(avg)",
"type": "timeseries"
},
{
@@ -3680,10 +3428,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 52
+ "x": 6,
+ "y": 44
},
- "id": 131,
+ "id": 84,
"options": {
"legend": {
"calcs": [],
@@ -3703,14 +3451,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(series_scan_cost_seconds_sum{instance=~\"$instance\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\"}[1m])) by (stage)",
- "format": "time_series",
+ "expr": "aggregation_seconds{instance=~\"${instance}\", quantile=\"0.5\"}",
"interval": "",
- "legendFormat": "{{stage}}",
+ "legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of query scan(avg)",
+ "title": "The time consumed of query aggregation(50%)",
"type": "timeseries"
},
{
@@ -3769,10 +3516,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 52
+ "x": 12,
+ "y": 44
},
- "id": 132,
+ "id": 73,
"options": {
"legend": {
"calcs": [],
@@ -3792,14 +3539,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(series_scan_cost_seconds{instance=~\"$instance\", quantile=\"0.5\"}[1m])) by (stage)",
- "format": "time_series",
+ "expr": "aggregation_seconds{instance=~\"${instance}\", quantile=\"0.75\"}",
"interval": "",
- "legendFormat": "{{stage}}",
+ "legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of query scan(50%)",
+ "title": "The time consumed of query aggregation(75%)",
"type": "timeseries"
},
{
@@ -3858,10 +3604,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 52
+ "x": 18,
+ "y": 44
},
- "id": 133,
+ "id": 74,
"options": {
"legend": {
"calcs": [],
@@ -3881,14 +3627,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(series_scan_cost_seconds{instance=~\"$instance\", quantile=\"0.75\"}[1m])) by (stage)",
- "format": "time_series",
+ "expr": "aggregation_seconds{instance=~\"${instance}\", quantile=\"1.0\"}",
"interval": "",
- "legendFormat": "{{stage}}",
+ "legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of query scan(75%)",
+ "title": "The time consumed of query aggregation(100%)",
"type": "timeseries"
},
{
@@ -3896,7 +3641,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -3948,10 +3692,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 52
},
- "id": 134,
+ "id": 131,
"options": {
"legend": {
"calcs": [],
@@ -3971,14 +3715,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(series_scan_cost_seconds{instance=~\"$instance\", quantile=\"1.0\"}[1m])) by (stage)",
+ "expr": "sum(rate(series_scan_cost_seconds_sum{instance=~\"$instance\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\"}[1m])) by (stage)",
"format": "time_series",
"interval": "",
"legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The time consumed of query scan(100%)",
+ "title": "The time consumed of query scan(avg)",
"type": "timeseries"
},
{
@@ -4030,17 +3774,17 @@
}
]
},
- "unit": "none"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 60
+ "x": 6,
+ "y": 52
},
- "id": 76,
+ "id": 132,
"options": {
"legend": {
"calcs": [],
@@ -4060,13 +3804,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(query_resource_sum{instance=~\"$instance\"}[1m]) / rate(query_resource_count{instance=~\"$instance\"}[1m])",
+ "expr": "sum(rate(series_scan_cost_seconds{instance=~\"$instance\", quantile=\"0.5\"}[1m])) by (stage)",
+ "format": "time_series",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The usage of query resource(avg)",
+ "title": "The time consumed of query scan(50%)",
"type": "timeseries"
},
{
@@ -4118,17 +3863,17 @@
}
]
},
- "unit": "none"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 60
+ "x": 12,
+ "y": 52
},
- "id": 128,
+ "id": 133,
"options": {
"legend": {
"calcs": [],
@@ -4148,13 +3893,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "query_resource{instance=~\"${instance}\", quantile=\"0.5\"}",
+ "expr": "sum(rate(series_scan_cost_seconds{instance=~\"$instance\", quantile=\"0.75\"}[1m])) by (stage)",
+ "format": "time_series",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The usage of query resource(50%)",
+ "title": "The time consumed of query scan(75%)",
"type": "timeseries"
},
{
@@ -4162,6 +3908,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -4206,17 +3953,17 @@
}
]
},
- "unit": "none"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 60
+ "x": 18,
+ "y": 52
},
- "id": 129,
+ "id": 134,
"options": {
"legend": {
"calcs": [],
@@ -4236,13 +3983,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "query_resource{instance=~\"${instance}\", quantile=\"0.75\"}",
+ "expr": "sum(rate(series_scan_cost_seconds{instance=~\"$instance\", quantile=\"1.0\"}[1m])) by (stage)",
+ "format": "time_series",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{stage}}",
"refId": "A"
}
],
- "title": "The usage of query resource(75%)",
+ "title": "The time consumed of query scan(100%)",
"type": "timeseries"
},
{
@@ -4301,10 +4049,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 60
},
- "id": 130,
+ "id": 76,
"options": {
"legend": {
"calcs": [],
@@ -4324,13 +4072,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "query_resource{instance=~\"${instance}\", quantile=\"1.0\"}",
+ "expr": "rate(query_resource_sum{instance=~\"$instance\"}[1m]) / rate(query_resource_count{instance=~\"$instance\"}[1m])",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The usage of query resource(100%)",
+ "title": "The usage of query resource(avg)",
"type": "timeseries"
},
{
@@ -4382,17 +4130,17 @@
}
]
},
- "unit": "s"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 68
+ "x": 6,
+ "y": 60
},
- "id": 135,
+ "id": 128,
"options": {
"legend": {
"calcs": [],
@@ -4412,13 +4160,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(data_exchange_cost_seconds_sum{instance=~\"$instance\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\"}[1m])) by (operation)",
+ "expr": "query_resource{instance=~\"${instance}\", quantile=\"0.5\"}",
"interval": "",
- "legendFormat": "{{operation}}",
+ "legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of query data exchange(avg)",
+ "title": "The usage of query resource(50%)",
"type": "timeseries"
},
{
@@ -4470,17 +4218,17 @@
}
]
},
- "unit": "s"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 68
+ "x": 12,
+ "y": 60
},
- "id": 136,
+ "id": 129,
"options": {
"legend": {
"calcs": [],
@@ -4500,13 +4248,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(data_exchange_cost_seconds{instance=~\"$instance\", quantile=\"0.5\"}[1m])) by (operation)",
+ "expr": "query_resource{instance=~\"${instance}\", quantile=\"0.75\"}",
"interval": "",
- "legendFormat": "{{operation}}",
+ "legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of query data exchange(50%)",
+ "title": "The usage of query resource(75%)",
"type": "timeseries"
},
{
@@ -4558,17 +4306,17 @@
}
]
},
- "unit": "s"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 68
+ "x": 18,
+ "y": 60
},
- "id": 137,
+ "id": 130,
"options": {
"legend": {
"calcs": [],
@@ -4588,13 +4336,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(data_exchange_cost_seconds{instance=~\"$instance\", quantile=\"0.75\"}[1m])) by (operation)",
+ "expr": "query_resource{instance=~\"${instance}\", quantile=\"1.0\"}",
"interval": "",
- "legendFormat": "{{operation}}",
+ "legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of query data exchange(75%)",
+ "title": "The usage of query resource(100%)",
"type": "timeseries"
},
{
@@ -4653,10 +4401,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 68
},
- "id": 138,
+ "id": 135,
"options": {
"legend": {
"calcs": [],
@@ -4676,13 +4424,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "sum(rate(data_exchange_cost_seconds{instance=~\"$instance\", quantile=\"1.0\"}[1m])) by (operation)",
+ "expr": "sum(rate(data_exchange_cost_seconds_sum{instance=~\"$instance\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\"}[1m])) by (operation)",
"interval": "",
"legendFormat": "{{operation}}",
"refId": "A"
}
],
- "title": "The time consumed of query data exchange(100%)",
+ "title": "The time consumed of query data exchange(avg)",
"type": "timeseries"
},
{
@@ -4734,17 +4482,17 @@
}
]
},
- "unit": "none"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 8,
- "x": 0,
- "y": 76
+ "w": 6,
+ "x": 6,
+ "y": 68
},
- "id": 139,
+ "id": 136,
"options": {
"legend": {
"calcs": [],
@@ -4764,13 +4512,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(data_exchange_count_sum{instance=~\"$instance\"}[1m]) / rate(data_exchange_count_count{instance=~\"$instance\"}[1m])",
+ "expr": "sum(rate(data_exchange_cost_seconds{instance=~\"$instance\", quantile=\"0.5\"}[1m])) by (operation)",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "{{operation}}",
"refId": "A"
}
],
- "title": "The count of Data Exchange(avg)",
+ "title": "The time consumed of query data exchange(50%)",
"type": "timeseries"
},
{
@@ -4822,17 +4570,17 @@
}
]
},
- "unit": "none"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 8,
- "x": 8,
- "y": 76
+ "w": 6,
+ "x": 12,
+ "y": 68
},
- "id": 140,
+ "id": 137,
"options": {
"legend": {
"calcs": [],
@@ -4852,13 +4600,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_count{instance=~\"$instance\"}",
+ "expr": "sum(rate(data_exchange_cost_seconds{instance=~\"$instance\", quantile=\"0.75\"}[1m])) by (operation)",
"interval": "",
- "legendFormat": "{{quantile}}",
+ "legendFormat": "{{operation}}",
"refId": "A"
}
],
- "title": "The count of Data Exchange",
+ "title": "The time consumed of query data exchange(75%)",
"type": "timeseries"
},
{
@@ -4910,17 +4658,17 @@
}
]
},
- "unit": "none"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 8,
- "x": 16,
- "y": 76
+ "w": 6,
+ "x": 18,
+ "y": 68
},
- "id": 167,
+ "id": 138,
"options": {
"legend": {
"calcs": [],
@@ -4940,14 +4688,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "driver_scheduler{instance=~\"$instance\"}",
- "format": "time_series",
+ "expr": "sum(rate(data_exchange_cost_seconds{instance=~\"$instance\", quantile=\"1.0\"}[1m])) by (operation)",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "{{operation}}",
"refId": "A"
}
],
- "title": "The number of query queue",
+ "title": "The time consumed of query data exchange(100%)",
"type": "timeseries"
},
{
@@ -4999,17 +4746,17 @@
}
]
},
- "unit": "s"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 6,
+ "w": 8,
"x": 0,
- "y": 84
+ "y": 76
},
- "id": 163,
+ "id": 139,
"options": {
"legend": {
"calcs": [],
@@ -5029,14 +4776,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(driver_scheduler_seconds_sum{instance=~\"$instance\"}[1m]) / rate(driver_scheduler_seconds_count{instance=~\"$instance\"}[1m])",
- "format": "time_series",
+ "expr": "rate(data_exchange_count_sum{instance=~\"$instance\"}[1m]) / rate(data_exchange_count_count{instance=~\"$instance\"}[1m])",
"interval": "",
"legendFormat": "{{name}}",
"refId": "A"
}
],
- "title": "The time consumed of query schedule time(avg)",
+ "title": "The count of Data Exchange(avg)",
"type": "timeseries"
},
{
@@ -5088,17 +4834,17 @@
}
]
},
- "unit": "s"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 6,
- "x": 6,
- "y": 84
+ "w": 8,
+ "x": 8,
+ "y": 76
},
- "id": 164,
+ "id": 140,
"options": {
"legend": {
"calcs": [],
@@ -5118,14 +4864,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "driver_scheduler_seconds{instance=~\"$instance\", quantile=\"0.5\"}",
- "format": "time_series",
+ "expr": "data_exchange_count{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "{{quantile}}",
"refId": "A"
}
],
- "title": "The time consumed of query schedule time(50%)",
+ "title": "The count of Data Exchange",
"type": "timeseries"
},
{
@@ -5177,17 +4922,17 @@
}
]
},
- "unit": "s"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 6,
- "x": 12,
- "y": 84
+ "w": 8,
+ "x": 16,
+ "y": 76
},
- "id": 165,
+ "id": 167,
"options": {
"legend": {
"calcs": [],
@@ -5207,14 +4952,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "driver_scheduler_seconds{instance=~\"$instance\", quantile=\"0.75\"}",
+ "expr": "driver_scheduler{instance=~\"$instance\"}",
"format": "time_series",
"interval": "",
"legendFormat": "{{name}}",
"refId": "A"
}
],
- "title": "The time consumed of query schedule time(75%)",
+ "title": "The number of query queue",
"type": "timeseries"
},
{
@@ -5273,10 +5018,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 84
},
- "id": 166,
+ "id": 163,
"options": {
"legend": {
"calcs": [],
@@ -5296,43 +5041,16 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "driver_scheduler_seconds{instance=~\"$instance\", quantile=\"1.0\"}",
+ "expr": "rate(driver_scheduler_seconds_sum{instance=~\"$instance\"}[1m]) / rate(driver_scheduler_seconds_count{instance=~\"$instance\"}[1m])",
"format": "time_series",
"interval": "",
"legendFormat": "{{name}}",
"refId": "A"
}
],
- "title": "The time consumed of query schedule time(100%)",
+ "title": "The time consumed of query schedule time(avg)",
"type": "timeseries"
- }
- ],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "Query Engine",
- "type": "row"
- },
- {
- "collapsed": true,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 12
- },
- "id": 100,
- "panels": [
+ },
{
"datasource": {
"type": "prometheus",
@@ -5389,10 +5107,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 13
+ "x": 6,
+ "y": 84
},
- "id": 75,
+ "id": 164,
"options": {
"legend": {
"calcs": [],
@@ -5412,13 +5130,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"load_timeseries_metadata\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"load_timeseries_metadata\"}[1m])",
+ "expr": "driver_scheduler_seconds{instance=~\"$instance\", quantile=\"0.5\"}",
+ "format": "time_series",
"interval": "",
- "legendFormat": "{{type}}_{{from}}",
+ "legendFormat": "{{name}}",
"refId": "A"
}
],
- "title": "The time consumed of load timeseries metadata(avg)",
+ "title": "The time consumed of query schedule time(50%)",
"type": "timeseries"
},
{
@@ -5477,10 +5196,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 13
+ "x": 12,
+ "y": 84
},
- "id": 85,
+ "id": 165,
"options": {
"legend": {
"calcs": [],
@@ -5500,13 +5219,14 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"load_timeseries_metadata\"}",
+ "expr": "driver_scheduler_seconds{instance=~\"$instance\", quantile=\"0.75\"}",
+ "format": "time_series",
"interval": "",
- "legendFormat": "{{type}}_{{from}}",
+ "legendFormat": "{{name}}",
"refId": "A"
}
],
- "title": "The time consumed of load timeseries metadata(50%)",
+ "title": "The time consumed of query schedule time(75%)",
"type": "timeseries"
},
{
@@ -5565,10 +5285,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 13
+ "x": 18,
+ "y": 84
},
- "id": 77,
+ "id": 166,
"options": {
"legend": {
"calcs": [],
@@ -5588,15 +5308,43 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"load_timeseries_metadata\"}",
+ "expr": "driver_scheduler_seconds{instance=~\"$instance\", quantile=\"1.0\"}",
+ "format": "time_series",
"interval": "",
- "legendFormat": "{{type}}_{{from}}",
+ "legendFormat": "{{name}}",
"refId": "A"
}
],
- "title": "The time consumed of load timeseries metadata(75%)",
+ "title": "The time consumed of query schedule time(100%)",
"type": "timeseries"
- },
+ }
+ ],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "Query Engine",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 4
+ },
+ "id": 100,
+ "panels": [
{
"datasource": {
"type": "prometheus",
@@ -5653,10 +5401,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 13
},
- "id": 78,
+ "id": 75,
"options": {
"legend": {
"calcs": [],
@@ -5676,13 +5424,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"load_timeseries_metadata\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"load_timeseries_metadata\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"load_timeseries_metadata\"}[1m])",
"interval": "",
"legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of load timeseries metadata(100%)",
+ "title": "The time consumed of load timeseries metadata(avg)",
"type": "timeseries"
},
{
@@ -5741,10 +5489,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 21
+ "x": 6,
+ "y": 13
},
- "id": 86,
+ "id": 85,
"options": {
"legend": {
"calcs": [],
@@ -5764,13 +5512,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"read_timeseries_metadata\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"read_timeseries_metadata\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"load_timeseries_metadata\"}",
"interval": "",
- "legendFormat": "{{from}}",
+ "legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of read timeseries metadata(avg)",
+ "title": "The time consumed of load timeseries metadata(50%)",
"type": "timeseries"
},
{
@@ -5829,10 +5577,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 21
+ "x": 12,
+ "y": 13
},
- "id": 87,
+ "id": 77,
"options": {
"legend": {
"calcs": [],
@@ -5852,13 +5600,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"read_timeseries_metadata\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"load_timeseries_metadata\"}",
"interval": "",
- "legendFormat": "{{from}}",
+ "legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of read timeseries metadata(50%)",
+ "title": "The time consumed of load timeseries metadata(75%)",
"type": "timeseries"
},
{
@@ -5917,10 +5665,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 21
+ "x": 18,
+ "y": 13
},
- "id": 88,
+ "id": 78,
"options": {
"legend": {
"calcs": [],
@@ -5940,13 +5688,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"read_timeseries_metadata\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"load_timeseries_metadata\"}",
"interval": "",
- "legendFormat": "{{from}}",
+ "legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of read timeseries metadata(75%)",
+ "title": "The time consumed of load timeseries metadata(100%)",
"type": "timeseries"
},
{
@@ -6005,10 +5753,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 21
},
- "id": 89,
+ "id": 86,
"options": {
"legend": {
"calcs": [],
@@ -6028,13 +5776,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"read_timeseries_metadata\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"read_timeseries_metadata\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"read_timeseries_metadata\"}[1m])",
"interval": "",
"legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of read timeseries metadata(100%)",
+ "title": "The time consumed of read timeseries metadata(avg)",
"type": "timeseries"
},
{
@@ -6093,10 +5841,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 29
+ "x": 6,
+ "y": 21
},
- "id": 90,
+ "id": 87,
"options": {
"legend": {
"calcs": [],
@@ -6116,13 +5864,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"timeseries_metadata_modification\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"timeseries_metadata_modification\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"read_timeseries_metadata\"}",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of timeseries metadata modification(avg)",
+ "title": "The time consumed of read timeseries metadata(50%)",
"type": "timeseries"
},
{
@@ -6181,10 +5929,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 29
+ "x": 12,
+ "y": 21
},
- "id": 91,
+ "id": 88,
"options": {
"legend": {
"calcs": [],
@@ -6204,13 +5952,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"timeseries_metadata_modification\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"read_timeseries_metadata\"}",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of timeseries metadata modification(50%)",
+ "title": "The time consumed of read timeseries metadata(75%)",
"type": "timeseries"
},
{
@@ -6269,10 +6017,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 29
+ "x": 18,
+ "y": 21
},
- "id": 92,
+ "id": 89,
"options": {
"legend": {
"calcs": [],
@@ -6292,13 +6040,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"timeseries_metadata_modification\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"read_timeseries_metadata\"}",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of timeseries metadata modification(75%)",
+ "title": "The time consumed of read timeseries metadata(100%)",
"type": "timeseries"
},
{
@@ -6357,10 +6105,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 29
},
- "id": 93,
+ "id": 90,
"options": {
"legend": {
"calcs": [],
@@ -6380,13 +6128,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"timeseries_metadata_modification\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"timeseries_metadata_modification\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"timeseries_metadata_modification\"}[1m])",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of timeseries metadata modification(100%)",
+ "title": "The time consumed of timeseries metadata modification(avg)",
"type": "timeseries"
},
{
@@ -6445,10 +6193,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 37
+ "x": 6,
+ "y": 29
},
- "id": 94,
+ "id": 91,
"options": {
"legend": {
"calcs": [],
@@ -6468,13 +6216,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"load_chunk_metadata_list\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"load_chunk_metadata_list\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"timeseries_metadata_modification\"}",
"interval": "",
- "legendFormat": "{{type}}_{{from}}",
+ "legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of load chunk metadata list(avg)",
+ "title": "The time consumed of timeseries metadata modification(50%)",
"type": "timeseries"
},
{
@@ -6533,10 +6281,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 37
+ "x": 12,
+ "y": 29
},
- "id": 95,
+ "id": 92,
"options": {
"legend": {
"calcs": [],
@@ -6556,13 +6304,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"load_chunk_metadata_list\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"timeseries_metadata_modification\"}",
"interval": "",
- "legendFormat": "{{type}}-{{from}}",
+ "legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of load chunk metadata list(50%)",
+ "title": "The time consumed of timeseries metadata modification(75%)",
"type": "timeseries"
},
{
@@ -6621,10 +6369,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 37
+ "x": 18,
+ "y": 29
},
- "id": 96,
+ "id": 93,
"options": {
"legend": {
"calcs": [],
@@ -6644,13 +6392,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"load_chunk_metadata_list\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"timeseries_metadata_modification\"}",
"interval": "",
- "legendFormat": "{{type}}_{{from}}",
+ "legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of load chunk metadata list(75%)",
+ "title": "The time consumed of timeseries metadata modification(100%)",
"type": "timeseries"
},
{
@@ -6709,10 +6457,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 37
},
- "id": 97,
+ "id": 94,
"options": {
"legend": {
"calcs": [],
@@ -6732,13 +6480,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"load_chunk_metadata_list\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"load_chunk_metadata_list\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"load_chunk_metadata_list\"}[1m])",
"interval": "",
"legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of load chunk metadata list(100%)",
+ "title": "The time consumed of load chunk metadata list(avg)",
"type": "timeseries"
},
{
@@ -6797,10 +6545,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 45
+ "x": 6,
+ "y": 37
},
- "id": 98,
+ "id": 95,
"options": {
"legend": {
"calcs": [],
@@ -6820,13 +6568,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"chunk_metadata_modification\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"chunk_metadata_modification\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"load_chunk_metadata_list\"}",
"interval": "",
- "legendFormat": "{{type}}_{{from}}",
+ "legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of chunk metadata modification(avg)",
+ "title": "The time consumed of load chunk metadata list(50%)",
"type": "timeseries"
},
{
@@ -6834,7 +6582,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -6886,10 +6633,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 45
+ "x": 12,
+ "y": 37
},
- "id": 101,
+ "id": 96,
"options": {
"legend": {
"calcs": [],
@@ -6909,13 +6656,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"chunk_metadata_modification\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"load_chunk_metadata_list\"}",
"interval": "",
- "legendFormat": "{{type}}-{{from}}",
+ "legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of chunk metadata modification(50%)",
+ "title": "The time consumed of load chunk metadata list(75%)",
"type": "timeseries"
},
{
@@ -6923,7 +6670,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -6975,10 +6721,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 45
+ "x": 18,
+ "y": 37
},
- "id": 102,
+ "id": 97,
"options": {
"legend": {
"calcs": [],
@@ -6998,13 +6744,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"chunk_metadata_modification\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"load_chunk_metadata_list\"}",
"interval": "",
- "legendFormat": "{{type}}-{{from}}",
+ "legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of chunk metadata modification(75%)",
+ "title": "The time consumed of load chunk metadata list(100%)",
"type": "timeseries"
},
{
@@ -7012,7 +6758,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -7064,10 +6809,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 45
},
- "id": 103,
+ "id": 98,
"options": {
"legend": {
"calcs": [],
@@ -7087,13 +6832,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"chunk_metadata_modification\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"chunk_metadata_modification\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"chunk_metadata_modification\"}[1m])",
"interval": "",
- "legendFormat": "{{type}}-{{from}}",
+ "legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of chunk metadata modification(100%)",
+ "title": "The time consumed of chunk metadata modification(avg)",
"type": "timeseries"
},
{
@@ -7101,6 +6846,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -7152,10 +6898,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 53
+ "x": 6,
+ "y": 45
},
- "id": 104,
+ "id": 101,
"options": {
"legend": {
"calcs": [],
@@ -7175,13 +6921,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"chunk_metadata_filter\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"chunk_metadata_filter\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"chunk_metadata_modification\"}",
"interval": "",
- "legendFormat": "{{type}}_{{from}}",
+ "legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of chunk metadata filter(avg)",
+ "title": "The time consumed of chunk metadata modification(50%)",
"type": "timeseries"
},
{
@@ -7241,10 +6987,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 53
+ "x": 12,
+ "y": 45
},
- "id": 105,
+ "id": 102,
"options": {
"legend": {
"calcs": [],
@@ -7264,13 +7010,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"chunk_metadata_filter\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"chunk_metadata_modification\"}",
"interval": "",
"legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of chunk metadata filter(50%)",
+ "title": "The time consumed of chunk metadata modification(75%)",
"type": "timeseries"
},
{
@@ -7330,10 +7076,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 53
+ "x": 18,
+ "y": 45
},
- "id": 106,
+ "id": 103,
"options": {
"legend": {
"calcs": [],
@@ -7353,13 +7099,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"chunk_metadata_filter\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"chunk_metadata_modification\"}",
"interval": "",
"legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of chunk metadata filter(75%)",
+ "title": "The time consumed of chunk metadata modification(100%)",
"type": "timeseries"
},
{
@@ -7367,7 +7113,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -7419,10 +7164,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 53
},
- "id": 107,
+ "id": 104,
"options": {
"legend": {
"calcs": [],
@@ -7442,13 +7187,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"chunk_metadata_filter\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"chunk_metadata_filter\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"chunk_metadata_filter\"}[1m])",
"interval": "",
- "legendFormat": "{{type}}-{{from}}",
+ "legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of chunk metadata filter(100%)",
+ "title": "The time consumed of chunk metadata filter(avg)",
"type": "timeseries"
},
{
@@ -7456,6 +7201,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -7507,10 +7253,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 61
+ "x": 6,
+ "y": 53
},
- "id": 108,
+ "id": 105,
"options": {
"legend": {
"calcs": [],
@@ -7530,13 +7276,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"construct_chunk_reader\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"construct_chunk_reader\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"chunk_metadata_filter\"}",
"interval": "",
- "legendFormat": "{{type}}_{{from}}",
+ "legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of construct chunk reader(avg)",
+ "title": "The time consumed of chunk metadata filter(50%)",
"type": "timeseries"
},
{
@@ -7596,10 +7342,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 61
+ "x": 12,
+ "y": 53
},
- "id": 109,
+ "id": 106,
"options": {
"legend": {
"calcs": [],
@@ -7619,13 +7365,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"construct_chunk_reader\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"chunk_metadata_filter\"}",
"interval": "",
"legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of construct chunk reader(50%)",
+ "title": "The time consumed of chunk metadata filter(75%)",
"type": "timeseries"
},
{
@@ -7685,10 +7431,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 61
+ "x": 18,
+ "y": 53
},
- "id": 110,
+ "id": 107,
"options": {
"legend": {
"calcs": [],
@@ -7708,13 +7454,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"construct_chunk_reader\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"chunk_metadata_filter\"}",
"interval": "",
"legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of construct chunk reader(75%)",
+ "title": "The time consumed of chunk metadata filter(100%)",
"type": "timeseries"
},
{
@@ -7722,7 +7468,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -7774,10 +7519,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 61
},
- "id": 111,
+ "id": 108,
"options": {
"legend": {
"calcs": [],
@@ -7797,13 +7542,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"construct_chunk_reader\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"construct_chunk_reader\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"construct_chunk_reader\"}[1m])",
"interval": "",
- "legendFormat": "{{type}}-{{from}}",
+ "legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of construct chunk reader(100%)",
+ "title": "The time consumed of construct chunk reader(avg)",
"type": "timeseries"
},
{
@@ -7811,12 +7556,15 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -7860,10 +7608,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 69
+ "x": 6,
+ "y": 61
},
- "id": 112,
+ "id": 109,
"options": {
"legend": {
"calcs": [],
@@ -7883,13 +7631,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"read_chunk\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"read_chunk\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"construct_chunk_reader\"}",
"interval": "",
- "legendFormat": "{{from}}",
+ "legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of read chunk(avg)",
+ "title": "The time consumed of construct chunk reader(50%)",
"type": "timeseries"
},
{
@@ -7904,6 +7652,8 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -7947,10 +7697,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 69
+ "x": 12,
+ "y": 61
},
- "id": 113,
+ "id": 110,
"options": {
"legend": {
"calcs": [],
@@ -7970,13 +7720,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"read_chunk\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"construct_chunk_reader\"}",
"interval": "",
- "legendFormat": "{{from}}",
+ "legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of read chunk(50%)",
+ "title": "The time consumed of construct chunk reader(75%)",
"type": "timeseries"
},
{
@@ -7991,6 +7741,8 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -8034,10 +7786,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 69
+ "x": 18,
+ "y": 61
},
- "id": 114,
+ "id": 111,
"options": {
"legend": {
"calcs": [],
@@ -8057,13 +7809,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"read_chunk\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"construct_chunk_reader\"}",
"interval": "",
- "legendFormat": "{{from}}",
+ "legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of read chunk(75%)",
+ "title": "The time consumed of construct chunk reader(100%)",
"type": "timeseries"
},
{
@@ -8071,7 +7823,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -8121,10 +7872,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 69
},
- "id": 115,
+ "id": 112,
"options": {
"legend": {
"calcs": [],
@@ -8144,13 +7895,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"read_chunk\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"read_chunk\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"read_chunk\"}[1m])",
"interval": "",
"legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of read chunk(100%)",
+ "title": "The time consumed of read chunk(avg)",
"type": "timeseries"
},
{
@@ -8158,6 +7909,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -8207,10 +7959,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 77
+ "x": 6,
+ "y": 69
},
- "id": 116,
+ "id": 113,
"options": {
"legend": {
"calcs": [],
@@ -8230,13 +7982,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"init_chunk_reader\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"init_chunk_reader\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"read_chunk\"}",
"interval": "",
- "legendFormat": "{{type}}_{{from}}",
+ "legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of init chunk reader(avg)",
+ "title": "The time consumed of read chunk(50%)",
"type": "timeseries"
},
{
@@ -8294,10 +8046,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 77
+ "x": 12,
+ "y": 69
},
- "id": 117,
+ "id": 114,
"options": {
"legend": {
"calcs": [],
@@ -8317,13 +8069,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"init_chunk_reader\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"read_chunk\"}",
"interval": "",
- "legendFormat": "{{type}}-{{from}}",
+ "legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of init chunk reader(50%)",
+ "title": "The time consumed of read chunk(75%)",
"type": "timeseries"
},
{
@@ -8381,10 +8133,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 77
+ "x": 18,
+ "y": 69
},
- "id": 118,
+ "id": 115,
"options": {
"legend": {
"calcs": [],
@@ -8404,13 +8156,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"init_chunk_reader\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"read_chunk\"}",
"interval": "",
- "legendFormat": "{{type}}-{{from}}",
+ "legendFormat": "{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of init chunk reader(75%)",
+ "title": "The time consumed of read chunk(100%)",
"type": "timeseries"
},
{
@@ -8418,7 +8170,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -8468,10 +8219,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 77
},
- "id": 119,
+ "id": 116,
"options": {
"legend": {
"calcs": [],
@@ -8491,13 +8242,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"init_chunk_reader\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"init_chunk_reader\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"init_chunk_reader\"}[1m])",
"interval": "",
- "legendFormat": "{{type}}-{{from}}",
+ "legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of init chunk reader(100%)",
+ "title": "The time consumed of init chunk reader(avg)",
"type": "timeseries"
},
{
@@ -8505,6 +8256,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -8554,10 +8306,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 85
+ "x": 6,
+ "y": 77
},
- "id": 120,
+ "id": 117,
"options": {
"legend": {
"calcs": [],
@@ -8577,13 +8329,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"build_tsblock_from_page_reader\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"build_tsblock_from_page_reader\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"init_chunk_reader\"}",
"interval": "",
- "legendFormat": "{{type}}_{{from}}",
+ "legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of build tsblock from page reader(avg)",
+ "title": "The time consumed of init chunk reader(50%)",
"type": "timeseries"
},
{
@@ -8641,10 +8393,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 85
+ "x": 12,
+ "y": 77
},
- "id": 121,
+ "id": 118,
"options": {
"legend": {
"calcs": [],
@@ -8664,13 +8416,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"build_tsblock_from_page_reader\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"init_chunk_reader\"}",
"interval": "",
"legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of build tsblock from page reader(50%)",
+ "title": "The time consumed of init chunk reader(75%)",
"type": "timeseries"
},
{
@@ -8728,10 +8480,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 85
+ "x": 18,
+ "y": 77
},
- "id": 122,
+ "id": 119,
"options": {
"legend": {
"calcs": [],
@@ -8751,13 +8503,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"build_tsblock_from_page_reader\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"init_chunk_reader\"}",
"interval": "",
"legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of build tsblock from page reader(75%)",
+ "title": "The time consumed of init chunk reader(100%)",
"type": "timeseries"
},
{
@@ -8765,7 +8517,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -8815,10 +8566,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 85
},
- "id": 123,
+ "id": 120,
"options": {
"legend": {
"calcs": [],
@@ -8838,13 +8589,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"build_tsblock_from_page_reader\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"build_tsblock_from_page_reader\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"build_tsblock_from_page_reader\"}[1m])",
"interval": "",
- "legendFormat": "{{type}}-{{from}}",
+ "legendFormat": "{{type}}_{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of build tsblock from page reader(100%)",
+ "title": "The time consumed of build tsblock from page reader(avg)",
"type": "timeseries"
},
{
@@ -8852,6 +8603,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -8901,10 +8653,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 93
+ "x": 6,
+ "y": 85
},
- "id": 124,
+ "id": 121,
"options": {
"legend": {
"calcs": [],
@@ -8924,13 +8676,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"build_tsblock_from_merge_reader\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"build_tsblock_from_merge_reader\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"build_tsblock_from_page_reader\"}",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of build tsblock from merge reader(avg)",
+ "title": "The time consumed of build tsblock from page reader(50%)",
"type": "timeseries"
},
{
@@ -8988,10 +8740,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 93
+ "x": 12,
+ "y": 85
},
- "id": 125,
+ "id": 122,
"options": {
"legend": {
"calcs": [],
@@ -9011,13 +8763,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"build_tsblock_from_merge_reader\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"build_tsblock_from_page_reader\"}",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of build tsblock from merge reader(50%)",
+ "title": "The time consumed of build tsblock from page reader(75%)",
"type": "timeseries"
},
{
@@ -9075,10 +8827,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 93
+ "x": 18,
+ "y": 85
},
- "id": 126,
+ "id": 123,
"options": {
"legend": {
"calcs": [],
@@ -9098,13 +8850,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"build_tsblock_from_merge_reader\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"build_tsblock_from_page_reader\"}",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{type}}-{{from}}",
"refId": "A"
}
],
- "title": "The time consumed of build tsblock from merge reader(75%)",
+ "title": "The time consumed of build tsblock from page reader(100%)",
"type": "timeseries"
},
{
@@ -9112,7 +8864,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -9162,10 +8913,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 93
},
- "id": 127,
+ "id": 124,
"options": {
"legend": {
"calcs": [],
@@ -9185,55 +8936,27 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"build_tsblock_from_merge_reader\"}",
+ "expr": "rate(series_scan_cost_seconds_sum{instance=~\"$instance\", stage=\"build_tsblock_from_merge_reader\"}[1m]) / rate(series_scan_cost_seconds_count{instance=~\"$instance\", stage=\"build_tsblock_from_merge_reader\"}[1m])",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of build tsblock from merge reader(100%)",
+ "title": "The time consumed of build tsblock from merge reader(avg)",
"type": "timeseries"
- }
- ],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "Query Interface",
- "type": "row"
- },
- {
- "collapsed": true,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 13
- },
- "id": 142,
- "panels": [
+ },
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -9277,10 +9000,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 14
+ "x": 6,
+ "y": 93
},
- "id": 143,
+ "id": 125,
"options": {
"legend": {
"calcs": [],
@@ -9300,13 +9023,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(data_exchange_cost_seconds_sum{instance=~\"$instance\", operation=\"source_handle_get_tsblock\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\", operation=\"source_handle_get_tsblock\"}[1m])",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.5\", stage=\"build_tsblock_from_merge_reader\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of source handle get tsblock(avg)",
+ "title": "The time consumed of build tsblock from merge reader(50%)",
"type": "timeseries"
},
{
@@ -9314,14 +9037,13 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -9365,10 +9087,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 14
+ "x": 12,
+ "y": 93
},
- "id": 144,
+ "id": 126,
"options": {
"legend": {
"calcs": [],
@@ -9388,13 +9110,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_get_tsblock\", quantile=\"0.5\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"0.75\", stage=\"build_tsblock_from_merge_reader\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of source handle get tsblock(50%)",
+ "title": "The time consumed of build tsblock from merge reader(75%)",
"type": "timeseries"
},
{
@@ -9402,14 +9124,13 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -9453,10 +9174,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 14
+ "x": 18,
+ "y": 93
},
- "id": 145,
+ "id": 127,
"options": {
"legend": {
"calcs": [],
@@ -9476,15 +9197,42 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_get_tsblock\", quantile=\"0.75\"}",
+ "expr": "series_scan_cost_seconds{instance=~\"${instance}\", quantile=\"1.0\", stage=\"build_tsblock_from_merge_reader\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of source handle get tsblock(75%)",
+ "title": "The time consumed of build tsblock from merge reader(100%)",
"type": "timeseries"
- },
+ }
+ ],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "Query Interface",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 5
+ },
+ "id": 142,
+ "panels": [
{
"datasource": {
"type": "prometheus",
@@ -9541,10 +9289,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 14
},
- "id": 146,
+ "id": 143,
"options": {
"legend": {
"calcs": [],
@@ -9564,13 +9312,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_get_tsblock\", quantile=\"1.0\"}",
+ "expr": "rate(data_exchange_cost_seconds_sum{instance=~\"$instance\", operation=\"source_handle_get_tsblock\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\", operation=\"source_handle_get_tsblock\"}[1m])",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of source handle get tsblock(100%)",
+ "title": "The time consumed of source handle get tsblock(avg)",
"type": "timeseries"
},
{
@@ -9629,10 +9377,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 22
+ "x": 6,
+ "y": 14
},
- "id": 147,
+ "id": 144,
"options": {
"legend": {
"calcs": [],
@@ -9652,13 +9400,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(data_exchange_cost_seconds_sum{instance=~\"$instance\", operation=\"source_handle_deserialize_tsblock\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\", operation=\"source_handle_deserialize_tsblock\"}[1m])",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_get_tsblock\", quantile=\"0.5\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of source handle deserialize tsblock(avg)",
+ "title": "The time consumed of source handle get tsblock(50%)",
"type": "timeseries"
},
{
@@ -9717,10 +9465,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 22
+ "x": 12,
+ "y": 14
},
- "id": 148,
+ "id": 145,
"options": {
"legend": {
"calcs": [],
@@ -9740,13 +9488,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_deserialize_tsblock\", quantile=\"0.5\"}",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_get_tsblock\", quantile=\"0.75\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of source handle deserialize tsblock(50%)",
+ "title": "The time consumed of source handle get tsblock(75%)",
"type": "timeseries"
},
{
@@ -9805,10 +9553,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 22
+ "x": 18,
+ "y": 14
},
- "id": 149,
+ "id": 146,
"options": {
"legend": {
"calcs": [],
@@ -9828,13 +9576,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_deserialize_tsblock\", quantile=\"0.75\"}",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_get_tsblock\", quantile=\"1.0\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of source handle deserialize tsblock(75%)",
+ "title": "The time consumed of source handle get tsblock(100%)",
"type": "timeseries"
},
{
@@ -9893,10 +9641,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 22
},
- "id": 150,
+ "id": 147,
"options": {
"legend": {
"calcs": [],
@@ -9916,13 +9664,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_deserialize_tsblock\", quantile=\"1.0\"}",
+ "expr": "rate(data_exchange_cost_seconds_sum{instance=~\"$instance\", operation=\"source_handle_deserialize_tsblock\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\", operation=\"source_handle_deserialize_tsblock\"}[1m])",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of source handle deserialize tsblock(100%)",
+ "title": "The time consumed of source handle deserialize tsblock(avg)",
"type": "timeseries"
},
{
@@ -9981,10 +9729,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 30
+ "x": 6,
+ "y": 22
},
- "id": 151,
+ "id": 148,
"options": {
"legend": {
"calcs": [],
@@ -10004,13 +9752,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(data_exchange_cost_seconds_sum{instance=~\"$instance\", operation=\"sink_handle_send_tsblock\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\", operation=\"sink_handle_send_tsblock\"}[1m])",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_deserialize_tsblock\", quantile=\"0.5\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of sink handle send tsblock(avg)",
+ "title": "The time consumed of source handle deserialize tsblock(50%)",
"type": "timeseries"
},
{
@@ -10069,10 +9817,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 30
+ "x": 12,
+ "y": 22
},
- "id": 152,
+ "id": 149,
"options": {
"legend": {
"calcs": [],
@@ -10092,13 +9840,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"sink_handle_send_tsblock\", quantile=\"0.5\"}",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_deserialize_tsblock\", quantile=\"0.75\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of sink handle send tsblock(50%)",
+ "title": "The time consumed of source handle deserialize tsblock(75%)",
"type": "timeseries"
},
{
@@ -10157,10 +9905,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 30
+ "x": 18,
+ "y": 22
},
- "id": 153,
+ "id": 150,
"options": {
"legend": {
"calcs": [],
@@ -10180,13 +9928,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"sink_handle_send_tsblock\", quantile=\"0.75\"}",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"source_handle_deserialize_tsblock\", quantile=\"1.0\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of sink handle send tsblock(75%)",
+ "title": "The time consumed of source handle deserialize tsblock(100%)",
"type": "timeseries"
},
{
@@ -10245,10 +9993,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 30
},
- "id": 154,
+ "id": 151,
"options": {
"legend": {
"calcs": [],
@@ -10268,13 +10016,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"sink_handle_send_tsblock\", quantile=\"1.0\"}",
+ "expr": "rate(data_exchange_cost_seconds_sum{instance=~\"$instance\", operation=\"sink_handle_send_tsblock\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\", operation=\"sink_handle_send_tsblock\"}[1m])",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of sink handle send tsblock(100%)",
+ "title": "The time consumed of sink handle send tsblock(avg)",
"type": "timeseries"
},
{
@@ -10333,10 +10081,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 38
+ "x": 6,
+ "y": 30
},
- "id": 155,
+ "id": 152,
"options": {
"legend": {
"calcs": [],
@@ -10356,13 +10104,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(data_exchange_cost_seconds_sum{instance=~\"$instance\", operation=\"on_acknowledge_data_block_event_task\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\", operation=\"on_acknowledge_data_block_event_task\"}[1m])",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"sink_handle_send_tsblock\", quantile=\"0.5\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of on acknowledge data block event task(avg)",
+ "title": "The time consumed of sink handle send tsblock(50%)",
"type": "timeseries"
},
{
@@ -10421,10 +10169,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 38
+ "x": 12,
+ "y": 30
},
- "id": 156,
+ "id": 153,
"options": {
"legend": {
"calcs": [],
@@ -10444,13 +10192,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"on_acknowledge_data_block_event_task\", quantile=\"0.5\"}",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"sink_handle_send_tsblock\", quantile=\"0.75\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of on acknowledge data block event task(50%)",
+ "title": "The time consumed of sink handle send tsblock(75%)",
"type": "timeseries"
},
{
@@ -10509,10 +10257,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 38
+ "x": 18,
+ "y": 30
},
- "id": 157,
+ "id": 154,
"options": {
"legend": {
"calcs": [],
@@ -10532,13 +10280,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"on_acknowledge_data_block_event_task\", quantile=\"0.75\"}",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"sink_handle_send_tsblock\", quantile=\"1.0\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of on acknowledge data block event task(75%)",
+ "title": "The time consumed of sink handle send tsblock(100%)",
"type": "timeseries"
},
{
@@ -10597,10 +10345,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 38
},
- "id": 158,
+ "id": 155,
"options": {
"legend": {
"calcs": [],
@@ -10620,13 +10368,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"on_acknowledge_data_block_event_task\", quantile=\"1.0\"}",
+ "expr": "rate(data_exchange_cost_seconds_sum{instance=~\"$instance\", operation=\"on_acknowledge_data_block_event_task\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\", operation=\"on_acknowledge_data_block_event_task\"}[1m])",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of on acknowledge data block event task(100%)",
+ "title": "The time consumed of on acknowledge data block event task(avg)",
"type": "timeseries"
},
{
@@ -10685,10 +10433,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 0,
- "y": 46
+ "x": 6,
+ "y": 38
},
- "id": 159,
+ "id": 156,
"options": {
"legend": {
"calcs": [],
@@ -10708,13 +10456,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(data_exchange_cost_seconds_sum{instance=~\"$instance\", operation=\"get_data_block_task\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\", operation=\"get_data_block_task\"}[1m])",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"on_acknowledge_data_block_event_task\", quantile=\"0.5\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of get data block task(avg)",
+ "title": "The time consumed of on acknowledge data block event task(50%)",
"type": "timeseries"
},
{
@@ -10773,10 +10521,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 6,
- "y": 46
+ "x": 12,
+ "y": 38
},
- "id": 160,
+ "id": 157,
"options": {
"legend": {
"calcs": [],
@@ -10796,13 +10544,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"get_data_block_task\", quantile=\"0.5\"}",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"on_acknowledge_data_block_event_task\", quantile=\"0.75\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of get data block task(50%)",
+ "title": "The time consumed of on acknowledge data block event task(75%)",
"type": "timeseries"
},
{
@@ -10861,10 +10609,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 12,
- "y": 46
+ "x": 18,
+ "y": 38
},
- "id": 161,
+ "id": 158,
"options": {
"legend": {
"calcs": [],
@@ -10884,13 +10632,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"get_data_block_task\", quantile=\"0.75\"}",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"on_acknowledge_data_block_event_task\", quantile=\"1.0\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of get data block task(75%)",
+ "title": "The time consumed of on acknowledge data block event task(100%)",
"type": "timeseries"
},
{
@@ -10949,10 +10697,10 @@
"gridPos": {
"h": 8,
"w": 6,
- "x": 18,
+ "x": 0,
"y": 46
},
- "id": 162,
+ "id": 159,
"options": {
"legend": {
"calcs": [],
@@ -10972,42 +10720,15 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"get_data_block_task\", quantile=\"1.0\"}",
+ "expr": "rate(data_exchange_cost_seconds_sum{instance=~\"$instance\", operation=\"get_data_block_task\"}[1m]) / rate(data_exchange_cost_seconds_count{instance=~\"$instance\", operation=\"get_data_block_task\"}[1m])",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "The time consumed of get data block task(100%)",
+ "title": "The time consumed of get data block task(avg)",
"type": "timeseries"
- }
- ],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "refId": "A"
- }
- ],
- "title": "Query Data Exchange",
- "type": "row"
- },
- {
- "collapsed": true,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 14
- },
- "id": 20,
- "panels": [
+ },
{
"datasource": {
"type": "prometheus",
@@ -11019,6 +10740,8 @@
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -11055,17 +10778,17 @@
}
]
},
- "unit": "bytes"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 8,
- "x": 0,
- "y": 15
+ "w": 6,
+ "x": 6,
+ "y": 46
},
- "id": 21,
+ "id": 160,
"options": {
"legend": {
"calcs": [],
@@ -11084,44 +10807,14 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "mem{instance=\"$instance\", name=\"IoTConsensus\"}",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"get_data_block_task\", quantile=\"0.5\"}",
"interval": "",
- "legendFormat": "{{name}}",
- "range": true,
+ "legendFormat": "{{type}}",
"refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "editorMode": "code",
- "exemplar": true,
- "expr": "mem{instance=\"$instance\", name=\"IoTConsensusQueue\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "{{name}}",
- "range": true,
- "refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "editorMode": "code",
- "exemplar": true,
- "expr": "mem{instance=\"$instance\", name=\"IoTConsensusSync\"}",
- "hide": false,
- "interval": "",
- "legendFormat": "{{name}}",
- "range": true,
- "refId": "C"
}
],
- "title": "IoTConsensus Used Memory",
+ "title": "The time consumed of get data block task(50%)",
"type": "timeseries"
},
{
@@ -11129,13 +10822,14 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -11171,17 +10865,18 @@
"color": "green"
}
]
- }
+ },
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 8,
- "x": 8,
- "y": 15
+ "w": 6,
+ "x": 12,
+ "y": 46
},
- "id": 22,
+ "id": 161,
"options": {
"legend": {
"calcs": [],
@@ -11200,16 +10895,14 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}",
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"get_data_block_task\", quantile=\"0.75\"}",
"interval": "",
- "legendFormat": "{{region}}",
- "range": true,
+ "legendFormat": "{{type}}",
"refId": "A"
}
],
- "title": "IoTConsensus Sync Index",
+ "title": "The time consumed of get data block task(75%)",
"type": "timeseries"
},
{
@@ -11217,13 +10910,14 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -11260,17 +10954,17 @@
}
]
},
- "unit": "none"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 8,
- "x": 16,
- "y": 15
+ "w": 6,
+ "x": 18,
+ "y": 46
},
- "id": 23,
+ "id": 162,
"options": {
"legend": {
"calcs": [],
@@ -11289,39 +10983,48 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"syncLag\"}) by (instance)",
- "hide": false,
+ "expr": "data_exchange_cost_seconds{instance=~\"$instance\", operation=\"get_data_block_task\", quantile=\"1.0\"}",
"interval": "",
- "legendFormat": "Total Sync Lag",
- "range": true,
+ "legendFormat": "{{type}}",
"refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "editorMode": "code",
- "exemplar": true,
- "expr": "sum(iot_consensus{instance=~\"$instance\", type=~\"cachedRequestInMemoryQueue\"}) by (instance)",
- "hide": false,
- "interval": "",
- "legendFormat": "Cached Request",
- "range": true,
- "refId": "B"
}
],
- "title": "IoTConsensus Overview",
+ "title": "The time consumed of get data block task(100%)",
"type": "timeseries"
- },
+ }
+ ],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "Query Data Exchange",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 6
+ },
+ "id": 20,
+ "panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -11364,7 +11067,7 @@
}
]
},
- "unit": "ms"
+ "unit": "bytes"
},
"overrides": []
},
@@ -11372,9 +11075,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 23
+ "y": 15
},
- "id": 24,
+ "id": 21,
"options": {
"legend": {
"calcs": [],
@@ -11395,14 +11098,42 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "avg(stage{quantile=\"0.5\", instance=~\"${instance}\"}) by (instance, type)",
+ "expr": "mem{instance=\"$instance\", name=\"IoTConsensus\"}",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{name}}",
"range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "mem{instance=\"$instance\", name=\"IoTConsensusQueue\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "{{name}}",
+ "range": true,
+ "refId": "B"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "mem{instance=\"$instance\", name=\"IoTConsensusSync\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "{{name}}",
+ "range": true,
+ "refId": "C"
}
],
- "title": "The Time Consumed Of Different Stages (50%)",
+ "title": "IoTConsensus Used Memory",
"type": "timeseries"
},
{
@@ -11452,48 +11183,17 @@
"color": "green"
}
]
- },
- "unit": "ms"
- },
- "overrides": [
- {
- "__systemRef": "hideSeriesFrom",
- "matcher": {
- "id": "byNames",
- "options": {
- "mode": "exclude",
- "names": [
- "writeStateMachine",
- "checkingBeforeWrite",
- "getStateMachineLock",
- "offerRequestToQueue",
- "constructBatch",
- "consensusWrite"
- ],
- "prefix": "All except:",
- "readOnly": true
- }
- },
- "properties": [
- {
- "id": "custom.hideFrom",
- "value": {
- "legend": false,
- "tooltip": false,
- "viz": true
- }
- }
- ]
}
- ]
+ },
+ "overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
- "y": 23
+ "y": 15
},
- "id": 25,
+ "id": 22,
"options": {
"legend": {
"calcs": [],
@@ -11514,14 +11214,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "avg(stage{quantile=\"0.75\", instance=~\"${instance}\"}) by (instance, type)",
+ "expr": "iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}",
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "{{region}}",
"range": true,
"refId": "A"
}
],
- "title": "The Time Consumed Of Different Stages (75%)",
+ "title": "IoTConsensus Sync Index",
"type": "timeseries"
},
{
@@ -11572,42 +11272,17 @@
}
]
},
- "unit": "ms"
+ "unit": "none"
},
- "overrides": [
- {
- "__systemRef": "hideSeriesFrom",
- "matcher": {
- "id": "byNames",
- "options": {
- "mode": "exclude",
- "names": [
- "checkingBeforeWrite"
- ],
- "prefix": "All except:",
- "readOnly": true
- }
- },
- "properties": [
- {
- "id": "custom.hideFrom",
- "value": {
- "legend": false,
- "tooltip": false,
- "viz": true
- }
- }
- ]
- }
- ]
+ "overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
- "y": 23
+ "y": 15
},
- "id": 26,
+ "id": 23,
"options": {
"legend": {
"calcs": [],
@@ -11628,14 +11303,29 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "avg(stage{quantile=\"1.0\", instance=~\"${instance}\"}) by (instance, type)",
+ "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"syncLag\"}) by (instance)",
+ "hide": false,
"interval": "",
- "legendFormat": "{{type}}",
+ "legendFormat": "Total Sync Lag",
"range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sum(iot_consensus{instance=~\"$instance\", type=~\"cachedRequestInMemoryQueue\"}) by (instance)",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Cached Request",
+ "range": true,
+ "refId": "B"
}
],
- "title": "The Time Consumed Of Different Stages (100%)",
+ "title": "IoTConsensus Overview",
"type": "timeseries"
},
{
@@ -11685,7 +11375,8 @@
"color": "green"
}
]
- }
+ },
+ "unit": "ms"
},
"overrides": []
},
@@ -11693,9 +11384,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 31
+ "y": 23
},
- "id": 27,
+ "id": 24,
"options": {
"legend": {
"calcs": [],
@@ -11716,14 +11407,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}[1m])",
+ "expr": "avg(stage{quantile=\"0.5\", instance=~\"${instance}\"}) by (instance, type)",
"interval": "",
- "legendFormat": "{{region}}",
+ "legendFormat": "{{type}}",
"range": true,
"refId": "A"
}
],
- "title": "IoTConsensus Search Index Rate",
+ "title": "The Time Consumed Of Different Stages (50%)",
"type": "timeseries"
},
{
@@ -11773,17 +11464,48 @@
"color": "green"
}
]
- }
+ },
+ "unit": "ms"
},
- "overrides": []
+ "overrides": [
+ {
+ "__systemRef": "hideSeriesFrom",
+ "matcher": {
+ "id": "byNames",
+ "options": {
+ "mode": "exclude",
+ "names": [
+ "writeStateMachine",
+ "checkingBeforeWrite",
+ "getStateMachineLock",
+ "offerRequestToQueue",
+ "constructBatch",
+ "consensusWrite"
+ ],
+ "prefix": "All except:",
+ "readOnly": true
+ }
+ },
+ "properties": [
+ {
+ "id": "custom.hideFrom",
+ "value": {
+ "legend": false,
+ "tooltip": false,
+ "viz": true
+ }
+ }
+ ]
+ }
+ ]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
- "y": 31
+ "y": 23
},
- "id": 175,
+ "id": 25,
"options": {
"legend": {
"calcs": [],
@@ -11804,14 +11526,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}[1m])",
+ "expr": "avg(stage{quantile=\"0.75\", instance=~\"${instance}\"}) by (instance, type)",
"interval": "",
- "legendFormat": "{{region}}",
+ "legendFormat": "{{type}}",
"range": true,
"refId": "A"
}
],
- "title": "IoTConsensus Safe Index Rate",
+ "title": "The Time Consumed Of Different Stages (75%)",
"type": "timeseries"
},
{
@@ -11819,6 +11541,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -11861,25 +11584,50 @@
}
]
},
- "unit": "none"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 16,
- "y": 31
- },
- "id": 29,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
+ "unit": "ms"
},
- "tooltip": {
+ "overrides": [
+ {
+ "__systemRef": "hideSeriesFrom",
+ "matcher": {
+ "id": "byNames",
+ "options": {
+ "mode": "exclude",
+ "names": [
+ "checkingBeforeWrite"
+ ],
+ "prefix": "All except:",
+ "readOnly": true
+ }
+ },
+ "properties": [
+ {
+ "id": "custom.hideFrom",
+ "value": {
+ "legend": false,
+ "tooltip": false,
+ "viz": true
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 16,
+ "y": 23
+ },
+ "id": 26,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
"mode": "multi",
"sort": "desc"
}
@@ -11892,14 +11640,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(iot_consensus{instance=~\"$instance\", type=~\"cachedRequestInMemoryQueue\"}) by (region, name)",
+ "expr": "avg(stage{quantile=\"1.0\", instance=~\"${instance}\"}) by (instance, type)",
"interval": "",
- "legendFormat": "{{region}} {{name}}",
+ "legendFormat": "{{type}}",
"range": true,
"refId": "A"
}
],
- "title": "IoTConsensus LogDispatcher Request Size",
+ "title": "The Time Consumed Of Different Stages (100%)",
"type": "timeseries"
},
{
@@ -11907,7 +11655,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "Total Sync Gap of region",
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -11949,8 +11697,7 @@
"color": "green"
}
]
- },
- "unit": "none"
+ }
},
"overrides": []
},
@@ -11958,9 +11705,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 39
+ "y": 31
},
- "id": 30,
+ "id": 27,
"options": {
"legend": {
"calcs": [],
@@ -11981,16 +11728,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"syncLag\"}) by (region)",
- "hide": false,
+ "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}[1m])",
"interval": "",
"legendFormat": "{{region}}",
"range": true,
"refId": "A"
}
],
- "title": "Sync Lag",
- "transformations": [],
+ "title": "IoTConsensus Search Index Rate",
"type": "timeseries"
},
{
@@ -11998,7 +11743,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "Gap between write and fastest LogDispatcherThread in one region",
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -12040,8 +11785,7 @@
"color": "green"
}
]
- },
- "unit": "none"
+ }
},
"overrides": []
},
@@ -12049,9 +11793,9 @@
"h": 8,
"w": 8,
"x": 8,
- "y": 39
+ "y": 31
},
- "id": 31,
+ "id": 175,
"options": {
"legend": {
"calcs": [],
@@ -12072,17 +11816,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}) by (region) - max(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region)",
- "format": "time_series",
- "instant": false,
+ "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"safeIndex\"}[1m])",
"interval": "",
- "intervalFactor": 1,
"legendFormat": "{{region}}",
+ "range": true,
"refId": "A"
}
],
- "title": "Min Peer Sync Lag",
- "transformations": [],
+ "title": "IoTConsensus Safe Index Rate",
"type": "timeseries"
},
{
@@ -12090,7 +11831,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "Gap between fastest LogDispatcherThread and slowest LogDispatcherThread in one region",
"fieldConfig": {
"defaults": {
"color": {
@@ -12141,9 +11881,9 @@
"h": 8,
"w": 8,
"x": 16,
- "y": 39
+ "y": 31
},
- "id": 32,
+ "id": 29,
"options": {
"legend": {
"calcs": [],
@@ -12164,17 +11904,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "max(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region) - min(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region)",
- "format": "time_series",
- "instant": false,
+ "expr": "sum(iot_consensus{instance=~\"$instance\", type=~\"cachedRequestInMemoryQueue\"}) by (region, name)",
"interval": "",
- "intervalFactor": 1,
- "legendFormat": "{{region}}",
+ "legendFormat": "{{region}} {{name}}",
+ "range": true,
"refId": "A"
}
],
- "title": "Sync Speed Diff Of Peers",
- "transformations": [],
+ "title": "IoTConsensus LogDispatcher Request Size",
"type": "timeseries"
},
{
@@ -12182,7 +11919,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
+ "description": "Total Sync Gap of region",
"fieldConfig": {
"defaults": {
"color": {
@@ -12224,7 +11961,8 @@
"color": "green"
}
]
- }
+ },
+ "unit": "none"
},
"overrides": []
},
@@ -12232,9 +11970,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 47
+ "y": 39
},
- "id": 28,
+ "id": 30,
"options": {
"legend": {
"calcs": [],
@@ -12255,14 +11993,16 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"LogEntriesFromWAL\"}[1m])",
+ "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"syncLag\"}) by (region)",
+ "hide": false,
"interval": "",
"legendFormat": "{{region}}",
"range": true,
"refId": "A"
}
],
- "title": "IoTConsensus LogEntriesFromWAL Rate",
+ "title": "Sync Lag",
+ "transformations": [],
"type": "timeseries"
},
{
@@ -12270,7 +12010,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
+ "description": "Gap between write and fastest LogDispatcherThread in one region",
"fieldConfig": {
"defaults": {
"color": {
@@ -12312,7 +12052,8 @@
"color": "green"
}
]
- }
+ },
+ "unit": "none"
},
"overrides": []
},
@@ -12320,9 +12061,9 @@
"h": 8,
"w": 8,
"x": 8,
- "y": 47
+ "y": 39
},
- "id": 173,
+ "id": 31,
"options": {
"legend": {
"calcs": [],
@@ -12343,40 +12084,25 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"LogEntriesFromQueue\"}[1m])",
+ "expr": "sum(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"searchIndex\"}) by (region) - max(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region)",
+ "format": "time_series",
+ "instant": false,
"interval": "",
+ "intervalFactor": 1,
"legendFormat": "{{region}}",
- "range": true,
"refId": "A"
}
],
- "title": "IoTConsensus LogEntriesFromQueue Rate",
+ "title": "Min Peer Sync Lag",
+ "transformations": [],
"type": "timeseries"
- }
- ],
- "targets": [
+ },
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "refId": "A"
- }
- ],
- "title": "IoT Consensus",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 15
- },
- "id": 238,
- "panels": [
- {
+ "description": "Gap between fastest LogDispatcherThread and slowest LogDispatcherThread in one region",
"fieldConfig": {
"defaults": {
"color": {
@@ -12387,7 +12113,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 10,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -12400,7 +12126,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "never",
+ "showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -12410,58 +12136,32 @@
"mode": "off"
}
},
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
+ "mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
- },
- {
- "color": "red",
- "value": 80
}
]
},
- "unit": "s"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 16
+ "h": 8,
+ "w": 8,
+ "x": 16,
+ "y": 39
},
- "id": 242,
+ "id": 32,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -12474,54 +12174,27 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"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,
+ "expr": "max(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region) - min(iot_consensus{instance=~\"$instance\", name=~\"logDispatcher.*\", type=\"currentSyncIndex\"}) by (region)",
+ "format": "time_series",
+ "instant": false,
"interval": "",
- "legendFormat": "appendEntryLatency",
+ "intervalFactor": 1,
+ "legendFormat": "{{region}}",
"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",
+ "title": "Sync Speed Diff Of Peers",
+ "transformations": [],
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -12532,7 +12205,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 10,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -12545,7 +12218,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "never",
+ "showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -12555,58 +12228,31 @@
"mode": "off"
}
},
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
+ "mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
- },
- {
- "color": "red",
- "value": 80
}
]
- },
- "unit": "s"
+ }
},
"overrides": []
},
"gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 16
+ "h": 8,
+ "w": 8,
+ "x": 0,
+ "y": 47
},
- "id": 244,
+ "id": 28,
"options": {
"legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "table",
- "placement": "right"
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -12619,53 +12265,138 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"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])",
+ "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"LogEntriesFromWAL\"}[1m])",
"interval": "",
- "legendFormat": "queueingDelay",
+ "legendFormat": "{{region}}",
+ "range": true,
"refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
+ }
+ ],
+ "title": "IoTConsensus LogEntriesFromWAL Rate",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
},
- "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}"
+ "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"
+ }
},
- "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"
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 8,
+ "x": 8,
+ "y": 47
+ },
+ "id": 173,
+ "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": "rate(DataRegion_ratis_log_worker_flushTime_seconds_sum{instance=\"$instance\"}[1m]) / rate(DataRegion_ratis_log_worker_flushTime_seconds_count{instance=\"$instance\"}[1m])",
- "hide": false,
+ "expr": "irate(iot_consensus{instance=~\"$instance\", name=\"ioTConsensusServerImpl\", type=\"LogEntriesFromQueue\"}[1m])",
"interval": "",
- "legendFormat": "flushTime",
- "refId": "D"
+ "legendFormat": "{{region}}",
+ "range": true,
+ "refId": "A"
}
],
- "title": "Write Log Entry",
+ "title": "IoTConsensus LogEntriesFromQueue Rate",
"type": "timeseries"
- },
+ }
+ ],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "IoT Consensus",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 7
+ },
+ "id": 238,
+ "panels": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -12739,18 +12470,19 @@
},
"gridPos": {
"h": 9,
- "w": 8,
+ "w": 12,
"x": 0,
- "y": 25
+ "y": 16
},
- "id": 246,
+ "id": 242,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -12764,10 +12496,10 @@
"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])",
+ "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": "{{stage}}",
+ "legendFormat": "appendEntryLatency",
"refId": "A"
},
{
@@ -12776,17 +12508,45 @@
"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])",
+ "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": "{{stage}}",
+ "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": "Remote / Local Write Time",
+ "title": "Ratis Stage Time",
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -12854,24 +12614,25 @@
}
]
},
- "unit": "reqps"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 9,
- "w": 8,
- "x": 8,
- "y": 25
+ "w": 12,
+ "x": 12,
+ "y": 16
},
- "id": 248,
+ "id": 244,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -12885,10 +12646,9 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
- "hide": false,
+ "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": "{{stage}}",
+ "legendFormat": "queueingDelay",
"refId": "A"
},
{
@@ -12897,98 +12657,23 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(DataRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[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": "{{stage}}",
+ "legendFormat": "enqueuedTime",
"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"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 8,
- "x": 16,
- "y": 25
- },
- "id": 250,
- "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\"}",
+ "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": "closedSegmentsSizeInBytes",
- "refId": "A"
+ "legendFormat": "writelogExecutionTime",
+ "refId": "C"
},
{
"datasource": {
@@ -12996,31 +12681,21 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "DataRegion_ratis_log_worker_openSegmentSizeInBytes {instance=\"$instance\"}",
+ "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": "openSegmentSizeInBytes",
- "refId": "C"
+ "legendFormat": "flushTime",
+ "refId": "D"
}
],
- "title": "RatisConsensus Memory",
+ "title": "Write Log Entry",
"type": "timeseries"
- }
- ],
- "title": "DataRegion Ratis Consensus",
- "type": "row"
- },
- {
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 16
- },
- "id": 240,
- "panels": [
+ },
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -13094,18 +12769,19 @@
},
"gridPos": {
"h": 9,
- "w": 12,
+ "w": 8,
"x": 0,
- "y": 35
+ "y": 25
},
- "id": 252,
+ "id": 246,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -13119,10 +12795,10 @@
"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_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": "appendEntryLatency",
+ "legendFormat": "{{stage}}",
"refId": "A"
},
{
@@ -13131,41 +12807,21 @@
"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_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": "followerAppendEntryLatency",
+ "legendFormat": "{{stage}}",
"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": "Ratis Stage Time",
+ "title": "Remote / Local Write Time",
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -13233,24 +12889,25 @@
}
]
},
- "unit": "s"
+ "unit": "reqps"
},
"overrides": []
},
"gridPos": {
"h": 9,
- "w": 12,
- "x": 12,
- "y": 35
+ "w": 8,
+ "x": 8,
+ "y": 25
},
- "id": 254,
+ "id": 248,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -13264,9 +12921,10 @@
"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_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
+ "hide": false,
"interval": "",
- "legendFormat": "queueingDelay",
+ "legendFormat": "{{stage}}",
"refId": "A"
},
{
@@ -13275,41 +12933,21 @@
"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_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
"hide": false,
"interval": "",
- "legendFormat": "enqueuedTime",
+ "legendFormat": "{{stage}}",
"refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "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])",
- "hide": false,
- "interval": "",
- "legendFormat": "writelogExecutionTime",
- "refId": "C"
- },
- {
- "datasource": {
- "type": "prometheus",
- "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])",
- "hide": false,
- "interval": "",
- "legendFormat": "flushTime",
- "refId": "D"
}
],
- "title": "Write Log Entry",
+ "title": "Remote / Local Write QPS",
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -13320,7 +12958,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 10,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -13333,7 +12971,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "never",
+ "showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -13343,28 +12981,7 @@
"mode": "off"
}
},
- "mappings": [
- {
- "options": {
- "match": "empty",
- "result": {
- "index": 0,
- "text": "0"
- }
- },
- "type": "special"
- },
- {
- "options": {
- "match": "null+nan",
- "result": {
- "index": 1,
- "text": "0"
- }
- },
- "type": "special"
- }
- ],
+ "mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
@@ -13377,24 +12994,25 @@
}
]
},
- "unit": "s"
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
- "x": 0,
- "y": 44
+ "x": 16,
+ "y": 25
},
- "id": 256,
+ "id": 250,
"options": {
"legend": {
"calcs": [
"mean"
],
- "displayMode": "table",
- "placement": "right"
+ "displayMode": "list",
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -13408,10 +13026,9 @@
"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])",
- "hide": false,
+ "expr": "DataRegion_ratis_log_worker_closedSegmentsSizeInBytes {instance=\"$instance\"}",
"interval": "",
- "legendFormat": "{{stage}}",
+ "legendFormat": "closedSegmentsSizeInBytes",
"refId": "A"
},
{
@@ -13420,17 +13037,48 @@
"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": "DataRegion_ratis_log_worker_openSegmentSizeInBytes {instance=\"$instance\"}",
"hide": false,
"interval": "",
- "legendFormat": "{{stage}}",
- "refId": "B"
+ "legendFormat": "openSegmentSizeInBytes",
+ "refId": "C"
}
],
- "title": "Remote / Local Write Time",
+ "title": "RatisConsensus Memory",
"type": "timeseries"
- },
+ }
+ ],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
+ "title": "DataRegion Ratis Consensus",
+ "type": "row"
+ },
+ {
+ "collapsed": true,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 8
+ },
+ "id": 240,
+ "panels": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -13498,24 +13146,25 @@
}
]
},
- "unit": "reqps"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 9,
- "w": 8,
- "x": 8,
- "y": 44
+ "w": 12,
+ "x": 0,
+ "y": 35
},
- "id": 258,
+ "id": 252,
"options": {
"legend": {
"calcs": [
"mean"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -13529,10 +13178,10 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeLocally\"}[1m])",
+ "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": "{{stage}}",
+ "legendFormat": "appendEntryLatency",
"refId": "A"
},
{
@@ -13541,17 +13190,45 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(SchemaRegion_ratis_consensus_write_seconds_count{instance=\"$instance\", stage=\"writeRemotely\"}[1m])",
+ "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,
"interval": "",
- "legendFormat": "{{stage}}",
+ "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": "Remote / Local Write QPS",
+ "title": "Ratis Stage Time",
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
"fieldConfig": {
"defaults": {
"color": {
@@ -13562,7 +13239,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 0,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -13575,7 +13252,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -13585,7 +13262,28 @@
"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": [
@@ -13598,22 +13296,25 @@
}
]
},
- "unit": "bytes"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 9,
- "w": 8,
- "x": 16,
- "y": 44
+ "w": 12,
+ "x": 12,
+ "y": 35
},
- "id": 260,
+ "id": 254,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "right"
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
"mode": "multi",
@@ -13627,9 +13328,9 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "SchemaRegion_ratis_log_worker_closedSegmentsSizeInBytes {instance=\"$instance\"}",
+ "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": "closedSegmentsSizeInBytes",
+ "legendFormat": "queueingDelay",
"refId": "A"
},
{
@@ -13638,96 +13339,39 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "SchemaRegion_ratis_log_worker_openSegmentSizeInBytes{instance=\"$instance\"}",
+ "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,
"interval": "",
- "legendFormat": "openSegmentSizeInBytes",
+ "legendFormat": "enqueuedTime",
"refId": "B"
- }
- ],
- "title": "RatisConsensus Memory",
- "type": "timeseries"
- }
- ],
- "title": "SchemaRegion Ratis Consensus",
- "type": "row"
- },
- {
- "collapsed": true,
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 17
- },
- "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": 24
- },
- "id": 34,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
+ {
+ "datasource": {
+ "type": "prometheus",
+ "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])",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "writelogExecutionTime",
+ "refId": "C"
},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.1",
- "targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "sys_cpu_cores{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,
"interval": "",
- "legendFormat": "__auto",
- "range": true,
- "refId": "A"
+ "legendFormat": "flushTime",
+ "refId": "D"
}
],
- "title": "CPU Core",
- "type": "stat"
+ "title": "Write Log Entry",
+ "type": "timeseries"
},
{
"datasource": {
@@ -13740,545 +13384,11 @@
"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": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 8,
- "y": 24
- },
- "id": 35,
- "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": {
- "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": "ns"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 16,
- "y": 24
- },
- "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"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "percentage",
- "steps": [
- {
- "color": "green"
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 8,
- "x": 0,
- "y": 32
- },
- "id": 41,
- "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",
- "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}",
- "hide": false,
- "legendFormat": "Total physical memory",
- "range": true,
- "refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "editorMode": "code",
- "expr": "sys_committed_vm_size{instance=\"$instance\"}",
- "hide": false,
- "legendFormat": "Committed vm size",
- "range": true,
- "refId": "C"
- }
- ],
- "title": "System Memory",
- "type": "timeseries"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "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": 32
- },
- "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\"}",
- "hide": false,
- "legendFormat": "Total Swap Size",
- "range": true,
- "refId": "B"
- }
- ],
- "title": "System Swap Size",
- "type": "timeseries"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "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": 16,
- "y": 32
- },
- "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,
+ "fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -14291,7 +13401,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -14301,31 +13411,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"
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
},
- "unit": "bytes"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
- "h": 8,
+ "h": 9,
"w": 8,
"x": 0,
- "y": 40
+ "y": 44
},
- "id": 44,
+ "id": 256,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -14340,9 +13477,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"
},
{
@@ -14351,14 +13489,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"
},
{
@@ -14372,13 +13510,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,
@@ -14391,7 +13527,7 @@
"scaleDistribution": {
"type": "linear"
},
- "showPoints": "auto",
+ "showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
@@ -14401,55 +13537,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": 40
+ "y": 44
},
- "id": 45,
+ "id": 258,
"options": {
"legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
+ "calcs": [
+ "mean"
+ ],
+ "displayMode": "table",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -14464,9 +13603,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"
},
{
@@ -14475,14 +13615,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"
},
{
@@ -14496,11 +13636,8 @@
"mode": "palette-classic"
},
"custom": {
- "axisCenteredZero": false,
- "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMin": -5,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -14532,6 +13669,10 @@
"steps": [
{
"color": "green"
+ },
+ {
+ "color": "red",
+ "value": 80
}
]
},
@@ -14540,17 +13681,17 @@
"overrides": []
},
"gridPos": {
- "h": 8,
+ "h": 9,
"w": 8,
"x": 16,
- "y": 40
+ "y": 44
},
- "id": 46,
+ "id": 260,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom",
+ "placement": "right",
"showLegend": true
},
"tooltip": {
@@ -14564,12 +13705,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"
},
{
@@ -14577,19 +13716,44 @@
"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",
@@ -14598,69 +13762,43 @@
"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"
- }
+ "mode": "thresholds"
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
}
]
- }
+ },
+ "unit": "Core"
},
"overrides": []
},
"gridPos": {
- "h": 7,
+ "h": 8,
"w": 8,
"x": 0,
- "y": 48
+ "y": 24
},
- "id": 47,
+ "id": 34,
"options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
},
- "tooltip": {
- "mode": "multi",
- "sort": "none"
- }
+ "textMode": "auto"
},
+ "pluginVersion": "9.3.1",
"targets": [
{
"datasource": {
@@ -14669,27 +13807,15 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
+ "expr": "sys_cpu_cores{instance=\"$instance\",name=\"system\"}",
"interval": "",
- "legendFormat": "Young GC number",
+ "legendFormat": "__auto",
"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": "The Number of GC Per Minute",
- "type": "timeseries"
+ "title": "CPU Core",
+ "type": "stat"
},
{
"datasource": {
@@ -14706,6 +13832,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -14733,24 +13861,24 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
}
]
},
- "unit": "s"
+ "unit": "percent"
},
"overrides": []
},
"gridPos": {
- "h": 7,
+ "h": 8,
"w": 8,
"x": 8,
- "y": 48
+ "y": 24
},
- "id": 48,
+ "id": 35,
"options": {
"legend": {
"calcs": [],
@@ -14769,10 +13897,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60",
+ "expr": "sys_cpu_load{instance=\"$instance\",name=\"system\"}",
"interval": "",
- "legendFormat": "The time of young GC",
+ "legendFormat": "System CPU Load",
+ "range": true,
"refId": "A"
},
{
@@ -14780,15 +13910,15 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60",
+ "editorMode": "code",
+ "expr": "process_cpu_load{instance=\"$instance\",name=\"process\"}",
"hide": false,
- "interval": "",
- "legendFormat": "The time of full GC",
+ "legendFormat": "Process CPU Load",
+ "range": true,
"refId": "B"
}
],
- "title": "The Time Consumed Of GC Per Minute",
+ "title": "CPU Load",
"type": "timeseries"
},
{
@@ -14806,6 +13936,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -14833,23 +13965,24 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
}
]
- }
+ },
+ "unit": "ns"
},
"overrides": []
},
"gridPos": {
- "h": 7,
+ "h": 8,
"w": 8,
"x": 16,
- "y": 48
+ "y": 24
},
- "id": 49,
+ "id": 40,
"options": {
"legend": {
"calcs": [],
@@ -14868,26 +14001,16 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "jvm_threads_live_threads{instance=~\"$instance\"}",
+ "expr": "sum(rate(process_cpu_time{instance=\"$instance\",name=\"process\"}[1m]))*60",
"interval": "",
- "legendFormat": "The total number of jvm thread",
+ "legendFormat": "System CPU Load",
+ "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": "The Number Of Java Thread",
+ "title": "CPU Time(per minute)",
"type": "timeseries"
},
{
@@ -14905,6 +14028,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -14932,7 +14057,7 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
@@ -14947,9 +14072,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 55
+ "y": 32
},
- "id": 50,
+ "id": 41,
"options": {
"legend": {
"calcs": [],
@@ -14959,7 +14084,7 @@
},
"tooltip": {
"mode": "multi",
- "sort": "none"
+ "sort": "desc"
}
},
"targets": [
@@ -14968,10 +14093,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})",
+ "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}-sys_free_physical_memory_size{instance=\"$instance\", name=\"system\"}",
"interval": "",
- "legendFormat": "Maximum heap memory",
+ "legendFormat": "Used physical memory",
+ "range": true,
"refId": "A"
},
{
@@ -14979,11 +14106,11 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "sum(jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\"})",
+ "editorMode": "code",
+ "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}",
"hide": false,
- "interval": "",
- "legendFormat": "Used heap memory",
+ "legendFormat": "Total physical memory",
+ "range": true,
"refId": "B"
},
{
@@ -14991,39 +14118,15 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "exemplar": true,
- "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Old Gen\"}",
+ "editorMode": "code",
+ "expr": "sys_committed_vm_size{instance=\"$instance\"}",
"hide": false,
- "interval": "",
- "legendFormat": "Old area",
+ "legendFormat": "Committed vm size",
+ "range": true,
"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 Memory",
"type": "timeseries"
},
{
@@ -15041,6 +14144,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -15068,7 +14173,7 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
@@ -15083,9 +14188,9 @@
"h": 8,
"w": 8,
"x": 8,
- "y": 55
+ "y": 32
},
- "id": 51,
+ "id": 42,
"options": {
"legend": {
"calcs": [],
@@ -15104,14 +14209,28 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
+ "expr": "sys_total_swap_space_size{instance=\"$instance\", name=\"system\"} - sys_free_swap_space_size{instance=\"$instance\", name=\"system\"}",
"interval": "",
- "legendFormat": "off heap memory",
+ "legendFormat": "Used Swap Size",
+ "range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "sys_total_swap_space_size{instance=\"$instance\", name=\"system\"}",
+ "hide": false,
+ "legendFormat": "Total Swap Size",
+ "range": true,
+ "refId": "B"
}
],
- "title": "Off Heap Memory",
+ "title": "System Swap Size",
"type": "timeseries"
},
{
@@ -15129,6 +14248,8 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
+ "axisSoftMax": 0,
+ "axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
@@ -15156,70 +14277,24 @@
},
"mappings": [],
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green"
}
]
},
- "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": 55
+ "y": 32
},
- "id": 52,
+ "id": 43,
"options": {
"legend": {
"calcs": [],
@@ -15227,27 +14302,51 @@
"placement": "bottom",
"showLegend": true
},
- "tooltip": {
- "mode": "multi",
- "sort": "desc"
- }
- },
- "targets": [
+ "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",
- "exemplar": true,
- "expr": "sum(rate(logback_events_total{instance=~\"${instance}\"}[1m])) by (level) * 60",
- "interval": "",
- "legendFormat": "{{level}}",
+ "expr": "process_total_mem{instance=~\"${instance}\"} - process_free_mem{instance=~\"${instance}\"}",
+ "hide": false,
+ "legendFormat": "Used Memory",
"range": true,
- "refId": "A"
+ "refId": "C"
}
],
- "title": "Log Number Per Minute",
+ "title": "Process Memory",
"type": "timeseries"
},
{
@@ -15255,7 +14354,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -15300,7 +14398,7 @@
}
]
},
- "unit": "ms"
+ "unit": "bytes"
},
"overrides": []
},
@@ -15308,9 +14406,9 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 63
+ "y": 40
},
- "id": 53,
+ "id": 44,
"options": {
"legend": {
"calcs": [],
@@ -15329,16 +14427,26 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "sum(rate(jvm_compilation_time_ms{instance=~\"${instance}\"}[1m]))*60",
+ "expr": "file_size{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "compiler",
- "range": true,
+ "legendFormat": "{{name}}",
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "exemplar": true,
+ "expr": "sum(file_size{instance=~\"$instance\"})",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "total size of file",
+ "refId": "B"
}
],
- "title": "The Time Consumed Of Compilation Per Minute",
+ "title": "The Size Of File",
"type": "timeseries"
},
{
@@ -15346,7 +14454,6 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -15390,18 +14497,42 @@
"color": "green"
}
]
- },
- "unit": "none"
+ }
},
- "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": 8,
- "y": 63
+ "y": 40
},
- "id": 54,
+ "id": 45,
"options": {
"legend": {
"calcs": [],
@@ -15420,12 +14551,10 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
"exemplar": true,
- "expr": "jvm_classes_unloaded_classes{instance=~\"$instance\"}",
+ "expr": "file_count{instance=~\"$instance\"}",
"interval": "",
- "legendFormat": "Unloaded Number",
- "range": true,
+ "legendFormat": "{{name}}",
"refId": "A"
},
{
@@ -15433,44 +14562,17 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
- "editorMode": "code",
- "expr": "jvm_classes_loaded_classes{instance=~\"$instance\"}",
+ "exemplar": true,
+ "expr": "sum(file_count{instance=~\"$instance\"})",
"hide": false,
- "legendFormat": "Loaded Number",
- "range": true,
+ "interval": "",
+ "legendFormat": "total number of file",
"refId": "B"
}
],
- "title": "The Number Of Class",
+ "title": "The Number Of File",
"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": 18
- },
- "id": 177,
- "panels": [
+ },
{
"datasource": {
"type": "prometheus",
@@ -15486,11 +14588,10 @@
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
- "axisSoftMax": 1,
- "axisSoftMin": 0,
+ "axisSoftMin": -5,
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 10,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15510,50 +14611,39 @@
"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"
+ "unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 0,
- "y": 95
+ "w": 8,
+ "x": 16,
+ "y": 40
},
- "id": 179,
+ "id": 46,
"options": {
"legend": {
- "calcs": [
- "mean",
- "last"
- ],
- "displayMode": "table",
- "placement": "right",
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "desc"
}
},
"targets": [
@@ -15562,14 +14652,30 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "disk_io_busy_percentage{instance=~\"$instance\"}/10000",
+ "expr": "sys_disk_total_space{instance=~\"$instance\", name=\"system\"}-sys_disk_free_space{instance=\"$instance\", name=\"system\"}",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "Used disk space",
+ "range": true,
"refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "exemplar": true,
+ "expr": "sys_disk_total_space{instance=~\"$instance\", name=\"system\"}",
+ "hide": false,
+ "interval": "",
+ "legendFormat": "Total disk space",
+ "range": true,
+ "refId": "B"
}
],
- "title": "Disk I/O Busy Rate",
+ "title": "The Space of Disk",
"type": "timeseries"
},
{
@@ -15589,7 +14695,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15620,30 +14726,26 @@
"color": "green"
}
]
- },
- "unit": "KBs"
+ }
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 95
+ "h": 7,
+ "w": 8,
+ "x": 0,
+ "y": 48
},
- "id": 181,
+ "id": 47,
"options": {
"legend": {
- "calcs": [
- "mean",
- "last"
- ],
- "displayMode": "table",
- "placement": "right",
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
"showLegend": true
},
"tooltip": {
- "mode": "none",
+ "mode": "multi",
"sort": "none"
}
},
@@ -15653,14 +14755,28 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "editorMode": "code",
"exemplar": true,
- "expr": "rate(disk_io_size{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 Throughput",
+ "title": "The Number of GC Per Minute",
"type": "timeseries"
},
{
@@ -15680,7 +14796,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15712,32 +14828,27 @@
}
]
},
- "unit": "iops"
+ "unit": "s"
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 103
+ "h": 7,
+ "w": 8,
+ "x": 8,
+ "y": 48
},
- "id": 183,
+ "id": 48,
"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": [
@@ -15747,13 +14858,25 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(disk_io_ops{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 Ops",
+ "title": "The Time Consumed Of GC Per Minute",
"type": "timeseries"
},
{
@@ -15773,7 +14896,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15804,28 +14927,27 @@
"color": "green"
}
]
- },
- "unit": "ms"
+ }
},
"overrides": []
},
"gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 103
+ "h": 7,
+ "w": 8,
+ "x": 16,
+ "y": 48
},
- "id": 185,
+ "id": 49,
"options": {
"legend": {
"calcs": [],
- "displayMode": "table",
- "placement": "right",
+ "displayMode": "list",
+ "placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
- "sort": "asc"
+ "sort": "none"
}
},
"targets": [
@@ -15835,13 +14957,25 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "rate(disk_io_time{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 Time",
+ "title": "The Number Of Java Thread",
"type": "timeseries"
},
{
@@ -15861,7 +14995,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15884,7 +15018,6 @@
"mode": "off"
}
},
- "decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
@@ -15894,7 +15027,7 @@
}
]
},
- "unit": "ms"
+ "unit": "bytes"
},
"overrides": []
},
@@ -15902,24 +15035,19 @@
"h": 8,
"w": 8,
"x": 0,
- "y": 111
+ "y": 55
},
- "id": 187,
+ "id": 50,
"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": [
@@ -15929,13 +15057,61 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "disk_io_avg_time{instance=~\"$instance\"}/1000000",
+ "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}"
+ },
+ "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 Per I/O Avg Time",
+ "title": "Heap Memory",
"type": "timeseries"
},
{
@@ -15955,7 +15131,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -15995,23 +15171,19 @@
"h": 8,
"w": 8,
"x": 8,
- "y": 111
+ "y": 55
},
- "id": 189,
+ "id": 51,
"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": [
@@ -16021,13 +15193,13 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
- "expr": "disk_io_avg_size{instance=~\"$instance\"}",
+ "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})",
"interval": "",
- "legendFormat": "{{name}}-{{type}}",
+ "legendFormat": "off heap memory",
"refId": "A"
}
],
- "title": "Disk I/O Avg Size",
+ "title": "Off Heap Memory",
"type": "timeseries"
},
{
@@ -16047,7 +15219,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -16078,31 +15250,74 @@
"color": "green"
}
]
- }
+ },
+ "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": 8,
"x": 16,
- "y": 111
+ "y": 55
},
- "id": 193,
+ "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": [
@@ -16113,14 +15328,14 @@
},
"editorMode": "code",
"exemplar": true,
- "expr": "disk_io_queue_avg_size{instance=~\"$instance\"}/10000",
+ "expr": "sum(rate(logback_events_total{instance=~\"${instance}\"}[1m])) by (level) * 60",
"interval": "",
- "legendFormat": "{{name}}",
+ "legendFormat": "{{level}}",
"range": true,
"refId": "A"
}
],
- "title": "Disk I/O Avg Queue Size",
+ "title": "Log Number Per Minute",
"type": "timeseries"
},
{
@@ -16128,6 +15343,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -16140,7 +15356,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -16172,29 +15388,27 @@
}
]
},
- "unit": "ops"
+ "unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
+ "w": 8,
"x": 0,
- "y": 119
+ "y": 63
},
- "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": [
@@ -16203,14 +15417,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"
},
{
@@ -16218,6 +15434,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
+ "description": "",
"fieldConfig": {
"defaults": {
"color": {
@@ -16230,7 +15447,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
- "fillOpacity": 5,
+ "fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -16262,29 +15479,27 @@
}
]
},
- "unit": "KBs"
+ "unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 12,
- "x": 12,
- "y": 119
+ "w": 8,
+ "x": 8,
+ "y": 63
},
- "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": [
@@ -16293,14 +15508,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"
}
],
@@ -16308,21 +15537,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": 19
+ "y": 10
},
"id": 197,
"panels": [
@@ -18328,12 +17561,21 @@
"type": "timeseries"
}
],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "Ar7cRMx4z"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Schema Engine",
"type": "row"
}
],
- "refresh": false,
- "schemaVersion": 35,
+ "refresh": "15s",
+ "schemaVersion": 37,
"style": "dark",
"tags": [
"Apache-IoTDB",
@@ -18389,7 +17631,7 @@
]
},
"time": {
- "from": "now-1h",
+ "from": "now-5m",
"to": "now"
},
"timepicker": {
@@ -18405,6 +17647,6 @@
"timezone": "browser",
"title": "Apache IoTDB DataNode Dashboard",
"uid": "TbEVYRw7A",
- "version": 5,
+ "version": 2,
"weekStart": ""
}
\ No newline at end of file
diff --git a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Disk-IO-Dashboard.json b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Disk-IO-Dashboard.json
index fd8191a599..dc97a26edf 100644
--- a/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Disk-IO-Dashboard.json
+++ b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Disk-IO-Dashboard.json
@@ -835,7 +835,7 @@
"description": "",
"hide": 0,
"includeAll": false,
- "multi": true,
+ "multi": false,
"name": "instance",
"options": [],
"query": {
@@ -873,8 +873,8 @@
]
},
"time": {
- "from": "now-6h",
- "to": "now"
+ "from": "2023-03-22T12:12:11.190Z",
+ "to": "2023-03-22T12:22:11.190Z"
},
"timepicker": {
"refresh_intervals": [
@@ -889,6 +889,6 @@
"timezone": "",
"title": "Apache IoTDB Disk I/O Dashboard",
"uid": "TrJ0dsaVk",
- "version": 15,
+ "version": 2,
"weekStart": ""
}
\ No newline at end of file
[iotdb] 01/02: Seperate IO Dashboard apart (#9357)
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
marklau99 pushed a commit to branch sperate-disk-dashboard
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 3dec0bc662671211296c6e561018c84662ba7029
Author: Liu Xuxin <li...@outlook.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>
(cherry picked from commit 94178d766e8d138584d9deb1731c3a4d7c7d5781)
---
.../Apache-IoTDB-ConfigNode-Dashboard.json | 2584 ++++++++------------
.../Apache-IoTDB-Disk-IO-Dashboard.json | 894 +++++++
.../Apache-IoTDB-Network-Dashboard.json | 533 ++++
.../iotdb/metrics/metricsets/disk/DiskMetrics.java | 56 +-
4 files changed, 2412 insertions(+), 1655 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-Disk-IO-Dashboard.json b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Disk-IO-Dashboard.json
new file mode 100644
index 0000000000..fd8191a599
--- /dev/null
+++ b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Disk-IO-Dashboard.json
@@ -0,0 +1,894 @@
+{
+ "__inputs": [
+ {
+ "name": "DS_PROMETHEUS",
+ "label": "Prometheus",
+ "description": "",
+ "type": "datasource",
+ "pluginId": "prometheus",
+ "pluginName": "Prometheus"
+ }
+ ],
+ "__elements": {},
+ "__requires": [
+ {
+ "type": "grafana",
+ "id": "grafana",
+ "name": "Grafana",
+ "version": "9.3.6"
+ },
+ {
+ "type": "datasource",
+ "id": "prometheus",
+ "name": "Prometheus",
+ "version": "1.0.0"
+ },
+ {
+ "type": "panel",
+ "id": "timeseries",
+ "name": "Time series",
+ "version": ""
+ }
+ ],
+ "annotations": {
+ "list": [
+ {
+ "builtIn": 1,
+ "datasource": {
+ "type": "grafana",
+ "uid": "-- Grafana --"
+ },
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "target": {
+ "limit": 100,
+ "matchAny": false,
+ "tags": [],
+ "type": "dashboard"
+ },
+ "type": "dashboard"
+ }
+ ]
+ },
+ "editable": true,
+ "fiscalYearStartMonth": 0,
+ "graphTooltip": 0,
+ "id": null,
+ "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",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "axisSoftMax": 1,
+ "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": "line+area"
+ }
+ },
+ "mappings": [],
+ "max": 1,
+ "min": 0,
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "percentunit"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 1
+ },
+ "id": 2,
+ "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": "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(disk_io_size{instance=~\"$instance\", disk_id=~\"$disk\"}[1m])",
+ "legendFormat": "{{disk_id}}-{{type}}",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "title": "Disk 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",
+ "value": null
+ }
+ ]
+ },
+ "unit": "iops"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 9
+ },
+ "id": 6,
+ "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(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": "disk_io_avg_time{instance=~\"$instance\", disk_id=~\"$disk\"}",
+ "legendFormat": "{{disk_id}}-{{type}}",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "title": "Disk Per I/O Avg Time",
+ "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": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 17
+ },
+ "id": 12,
+ "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": "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": "disk_io_avg_queue_size{instance=~\"$instance\", disk_id=~\"$disk\"}",
+ "legendFormat": "{{disk_id}}",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "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",
+ "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": "KBs"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 26
+ },
+ "id": 16,
+ "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_size{instance=~\"$instance\"}[1m])",
+ "legendFormat": "{{from}}-{{name}}",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "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"
+ }
+ ],
+ "refresh": "15s",
+ "schemaVersion": 37,
+ "style": "dark",
+ "tags": [],
+ "templating": {
+ "list": [
+ {
+ "current": {},
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "definition": "label_values(instance)",
+ "description": "",
+ "hide": 0,
+ "includeAll": false,
+ "multi": true,
+ "name": "instance",
+ "options": [],
+ "query": {
+ "query": "label_values(instance)",
+ "refId": "StandardVariableQuery"
+ },
+ "refresh": 1,
+ "regex": "",
+ "skipUrlSync": false,
+ "sort": 0,
+ "type": "query"
+ },
+ {
+ "current": {},
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "definition": "label_values(disk_id)",
+ "hide": 0,
+ "includeAll": false,
+ "multi": true,
+ "name": "disk",
+ "options": [],
+ "query": {
+ "query": "label_values(disk_id)",
+ "refId": "StandardVariableQuery"
+ },
+ "refresh": 1,
+ "regex": "",
+ "skipUrlSync": false,
+ "sort": 0,
+ "type": "query"
+ }
+ ]
+ },
+ "time": {
+ "from": "now-6h",
+ "to": "now"
+ },
+ "timepicker": {
+ "refresh_intervals": [
+ "15s",
+ "30s",
+ "1m",
+ "5m",
+ "15m",
+ "30m"
+ ]
+ },
+ "timezone": "",
+ "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
new file mode 100644
index 0000000000..66899f7b21
--- /dev/null
+++ b/docs/UserGuide/Monitor-Alert/Apache-IoTDB-Network-Dashboard.json
@@ -0,0 +1,533 @@
+{
+ "__inputs": [
+ {
+ "name": "DS_PROMETHEUS",
+ "label": "Prometheus",
+ "description": "",
+ "type": "datasource",
+ "pluginId": "prometheus",
+ "pluginName": "Prometheus"
+ }
+ ],
+ "__elements": {},
+ "__requires": [
+ {
+ "type": "grafana",
+ "id": "grafana",
+ "name": "Grafana",
+ "version": "9.3.6"
+ },
+ {
+ "type": "datasource",
+ "id": "prometheus",
+ "name": "Prometheus",
+ "version": "1.0.0"
+ },
+ {
+ "type": "panel",
+ "id": "timeseries",
+ "name": "Time series",
+ "version": ""
+ }
+ ],
+ "annotations": {
+ "list": [
+ {
+ "builtIn": 1,
+ "datasource": {
+ "type": "grafana",
+ "uid": "-- Grafana --"
+ },
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "target": {
+ "limit": 100,
+ "matchAny": false,
+ "tags": [],
+ "type": "dashboard"
+ },
+ "type": "dashboard"
+ }
+ ]
+ },
+ "editable": true,
+ "fiscalYearStartMonth": 0,
+ "graphTooltip": 0,
+ "id": null,
+ "links": [],
+ "liveNow": false,
+ "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": 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": "binBps"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 10,
+ "w": 24,
+ "x": 0,
+ "y": 0
+ },
+ "id": 2,
+ "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(received_bytes{instance=~\"$instance\", iface_name=~\"$iface\"}[1m])",
+ "legendFormat": "{{iface_name}}-{{type}}",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "rate(transmitted_bytes{instance=~\"$instance\", iface_name=~\"$iface\"}[1m])",
+ "hide": false,
+ "legendFormat": "{{iface_name}}-{{type}}",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "Net Speed",
+ "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": "bytes"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 24,
+ "x": 0,
+ "y": 10
+ },
+ "id": 6,
+ "options": {
+ "legend": {
+ "calcs": [
+ "last"
+ ],
+ "displayMode": "table",
+ "placement": "right",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "asc"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "received_bytes{instance=~\"$instance\",iface_name=~\"$iface\"}",
+ "legendFormat": "{{iface_name}}-{{type}}",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "transmitted_bytes{instance=~\"$instance\",iface_name=~\"$iface\"}",
+ "hide": false,
+ "legendFormat": "{{iface_name}}-{{type}}",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "Receive/Transmit Data 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
+ }
+ ]
+ },
+ "unit": "pps"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 10,
+ "w": 24,
+ "x": 0,
+ "y": 19
+ },
+ "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(received_packets{instance=~\"$instance\", iface_name=~\"$iface\"}[1m])",
+ "legendFormat": "{{iface_name}}-{{type}}",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "rate(transmitted_packets{instance=~\"$instance\", iface_name=~\"$iface\"}[1m])",
+ "hide": false,
+ "legendFormat": "{{iface_name}}-{{type}}",
+ "range": true,
+ "refId": "B"
+ }
+ ],
+ "title": "Packet Speed",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisGridShow": true,
+ "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"
+ }
+ },
+ "decimals": 0,
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green"
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 10,
+ "w": 24,
+ "x": 0,
+ "y": 29
+ },
+ "id": 8,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "editorMode": "code",
+ "expr": "connection_num{instance=~\"$instance\"}",
+ "legendFormat": "{{job}}-{{instance}}",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "title": "Connection Num",
+ "type": "timeseries"
+ }
+ ],
+ "refresh": "15s",
+ "schemaVersion": 37,
+ "style": "dark",
+ "tags": [],
+ "templating": {
+ "list": [
+ {
+ "current": {},
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "definition": "label_values(instance)",
+ "hide": 0,
+ "includeAll": false,
+ "multi": false,
+ "name": "instance",
+ "options": [],
+ "query": {
+ "query": "label_values(instance)",
+ "refId": "StandardVariableQuery"
+ },
+ "refresh": 1,
+ "regex": "",
+ "skipUrlSync": false,
+ "sort": 0,
+ "type": "query"
+ },
+ {
+ "current": {},
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "definition": "label_values(iface_name)",
+ "description": "",
+ "hide": 0,
+ "includeAll": false,
+ "multi": true,
+ "name": "iface",
+ "options": [],
+ "query": {
+ "query": "label_values(iface_name)",
+ "refId": "StandardVariableQuery"
+ },
+ "refresh": 1,
+ "regex": "",
+ "skipUrlSync": false,
+ "sort": 0,
+ "type": "query"
+ }
+ ]
+ },
+ "time": {
+ "from": "now-5m",
+ "to": "now"
+ },
+ "timepicker": {
+ "refresh_intervals": [
+ "15s",
+ "30s",
+ "1m",
+ "5m",
+ "15m",
+ "30m"
+ ]
+ },
+ "timezone": "",
+ "title": "Apache IoTDB Network Dashboard",
+ "uid": "AXEPYc-Vz",
+ "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 00d550be49..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,
@@ -106,8 +108,8 @@ public class DiskMetrics implements IMetricSet {
diskMetricsManager,
x -> x.getMergedReadOperationForDisk().getOrDefault(diskID, 0L),
TYPE,
- MERGED_WRITE,
- NAME,
+ MERGED_READ,
+ DISK_ID,
diskID);
metricService.createAutoGauge(
DISK_IO_OPS,
@@ -115,8 +117,8 @@ public class DiskMetrics implements IMetricSet {
diskMetricsManager,
x -> x.getMergedWriteOperationForDisk().getOrDefault(diskID, 0L),
TYPE,
- MERGED_READ,
- NAME,
+ MERGED_WRITE,
+ 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);
}
@@ -250,16 +252,18 @@ public class DiskMetrics implements IMetricSet {
// metrics for disks
Set<String> diskIDs = diskMetricsManager.getDiskIds();
for (String diskID : diskIDs) {
- metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_SIZE, NAME, READ, NAME, diskID);
- metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_SIZE, NAME, WRITE, NAME, diskID);
- metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_OPS, NAME, READ, NAME, diskID);
- metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_OPS, NAME, WRITE, NAME, diskID);
- metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_TIME, NAME, READ, NAME, diskID);
- metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_TIME, NAME, WRITE, NAME, diskID);
- metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_TIME, NAME, AVG_READ, NAME, diskID);
- metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_TIME, NAME, AVG_WRITE, NAME, diskID);
- metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_AVG_SIZE, NAME, READ, NAME, diskID);
- metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_AVG_SIZE, NAME, WRITE, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_SIZE, TYPE, READ, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_SIZE, TYPE, WRITE, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_OPS, TYPE, READ, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_OPS, TYPE, WRITE, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_TIME, TYPE, READ, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_TIME, TYPE, WRITE, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_TIME, TYPE, AVG_READ, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_TIME, TYPE, AVG_WRITE, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_AVG_SIZE, TYPE, READ, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_AVG_SIZE, TYPE, WRITE, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_BUSY_PERCENTAGE, NAME, diskID);
+ metricService.remove(MetricType.AUTO_GAUGE, DISK_IO_QUEUE_SIZE, NAME, diskID);
}
// metrics for datanode and config node