From 6be4d7fb9b5381406c6e729310fd40f7033a603e Mon Sep 17 00:00:00 2001 From: HuangWei Date: Thu, 23 Nov 2023 14:49:15 +0800 Subject: [PATCH] Update openmldb_dashboard.json --- openmldb_mixin/openmldb_dashboard.json | 4053 +++++++++++------------- 1 file changed, 1871 insertions(+), 2182 deletions(-) diff --git a/openmldb_mixin/openmldb_dashboard.json b/openmldb_mixin/openmldb_dashboard.json index a7bb9af..4e20a6d 100644 --- a/openmldb_mixin/openmldb_dashboard.json +++ b/openmldb_mixin/openmldb_dashboard.json @@ -1,55 +1,9 @@ { - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "panel", - "id": "gauge", - "name": "Gauge", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "10.1.1" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], "annotations": { "list": [ { "builtIn": 1, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, + "datasource": "hCnkmqSSk", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -69,16 +23,13 @@ "fiscalYearStartMonth": 0, "gnetId": 17843, "graphTooltip": 1, - "id": null, + "id": 2, + "iteration": 1700718597149, "links": [], "liveNow": false, "panels": [ { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" - }, + "collapsed": false, "gridPos": { "h": 1, "w": 24, @@ -86,533 +37,680 @@ "y": 0 }, "id": 173, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "whether a component is online or offline", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "0": { - "color": "dark-red", - "index": 0, - "text": "OFFLINE" - }, - "1": { - "color": "dark-green", - "index": 1, - "text": "ONLINE" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "bool" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 10 - }, - "id": 61, - "links": [], - "options": { - "colorMode": "background", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "value_and_name" + "panels": [], + "title": "OpenMLDB Cluster Overview", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "whether a component is online or offline", + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-GrYlRd" }, - "pluginVersion": "10.1.1", - "targets": [ + "decimals": 0, + "mappings": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "options": { + "0": { + "color": "dark-red", + "index": 0, + "text": "OFFLINE" + }, + "1": { + "color": "dark-green", + "index": 1, + "text": "ONLINE" + } }, - "exemplar": true, - "expr": "openmldb_status{job=~\"$job\", openmldb_status=\"online\", endpoint=~\"$endpoint\"}", - "hide": false, - "interval": "", - "legendFormat": "{{endpoint}}-{{role}}", - "refId": "A" + "type": "value" } ], - "title": "Component Status", - "type": "stat" + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "bool" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 61, + "links": [], + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, + "text": {}, + "textMode": "value_and_name" + }, + "pluginVersion": "8.3.11", + "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "connected time in seconds for each components in the OpenMLDB cluster", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "s" - }, - "overrides": [] + "uid": "hCnkmqSSk" }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 10 + "exemplar": true, + "expr": "openmldb_status{job=~\"$job\", openmldb_status=\"online\", endpoint=~\"$endpoint\"}", + "hide": false, + "interval": "", + "legendFormat": "{{endpoint}}-{{role}}", + "refId": "A" + } + ], + "title": "Component Status", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "connected time in seconds for each components in the OpenMLDB cluster", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 62, - "links": [], - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] }, - "pluginVersion": "10.1.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "openmldb_connected_seconds_total{job=~\"$job\", endpoint=~\"$endpoint\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{endpoint}}-{{role}}", - "refId": "A" - } + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 62, + "links": [], + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Component Connected Time", - "type": "stat" + "fields": "", + "values": false }, + "textMode": "auto" + }, + "pluginVersion": "8.3.11", + "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "fieldConfig": { - "defaults": { - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green" - }, - { - "color": "orange", - "value": 70 - }, - { - "color": "red", - "value": 85 - } - ] + "exemplar": true, + "expr": "openmldb_connected_seconds_total{job=~\"$job\", endpoint=~\"$endpoint\"}", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{endpoint}}-{{role}}", + "refId": "A" + } + ], + "title": "Component Connected Time", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "fieldConfig": { + "defaults": { + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null }, - "unit": "bytes" - }, - "overrides": [] + { + "color": "orange", + "value": 70 + }, + { + "color": "red", + "value": 85 + } + ] }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 16 + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 7 + }, + "id": 80, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "8.3.11", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" }, - "id": 80, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true + "exemplar": true, + "expr": "process_memory_virtual{job=~\"$component_job\", instance=~\"$endpoint\"}", + "interval": "", + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "title": "Process Virtual Memory", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "pluginVersion": "10.1.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "process_memory_virtual{job=~\"$component_job\", instance=~\"$endpoint\"}", - "interval": "", - "legendFormat": "{{instance}}", - "refId": "A" - } + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 12, + "y": 7 + }, + "id": 379, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Process Virtual Memory", - "type": "gauge" + "fields": "", + "values": false }, + "textMode": "auto" + }, + "pluginVersion": "8.3.11", + "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [] + "uid": "hCnkmqSSk" }, - "gridPos": { - "h": 6, - "w": 3, - "x": 12, - "y": 16 + "exemplar": true, + "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_query_count\", job=~\"$component_job\"})", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Total Query RPC Request ", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 379, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] }, - "pluginVersion": "10.1.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_query_count\", job=~\"$component_job\"})", - "interval": "", - "legendFormat": "", - "refId": "A" - } + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 15, + "y": 7 + }, + "id": 380, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Total Query RPC Request ", - "type": "stat" + "fields": "", + "values": false }, + "textMode": "auto" + }, + "pluginVersion": "8.3.11", + "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [] + "uid": "hCnkmqSSk" }, - "gridPos": { - "h": 6, - "w": 3, - "x": 15, - "y": 16 + "exemplar": true, + "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_count\", job=~\"$component_job\"})", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Total Sub Query RPC Request ", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 380, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] }, - "pluginVersion": "10.1.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_count\", job=~\"$component_job\"})", - "interval": "", - "legendFormat": "", - "refId": "A" - } + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 18, + "y": 7 + }, + "id": 381, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Total Sub Query RPC Request ", - "type": "stat" + "fields": "", + "values": false }, + "textMode": "auto" + }, + "pluginVersion": "8.3.11", + "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 3, - "x": 18, - "y": 16 + "exemplar": true, + "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_count\", job=~\"$component_job\"})", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Total Batch Request Query RPC Request $endpoint", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 381, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] }, - "pluginVersion": "10.1.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_count\", job=~\"$component_job\"})", - "interval": "", - "legendFormat": "", - "refId": "A" - } + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 3, + "x": 21, + "y": 7 + }, + "id": 470, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Total Batch Request Query RPC Request $endpoint", - "type": "stat" + "fields": "", + "values": false }, + "textMode": "auto" + }, + "pluginVersion": "8.3.11", + "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - }, - "unit": "none" - }, - "overrides": [] + "exemplar": true, + "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_count\", job=~\"$component_job\"})", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Total Sub Batch Request Query RPC Request ", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "Table Rows Count for all tables", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "gridPos": { - "h": 6, - "w": 3, - "x": 21, - "y": 16 + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 0, + "y": 13 + }, + "id": 214, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "8.3.11", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" }, - "id": 470, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" + "exemplar": true, + "expr": "sum(openmldb_table_rows{job=~\"$job\"})", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Table Row Count Total", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "Table Memory Used for all tables", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] }, - "pluginVersion": "10.1.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_count\", job=~\"$component_job\"})", - "interval": "", - "legendFormat": "", - "refId": "A" - } + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 4, + "y": 13 + }, + "id": 252, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Total Sub Batch Request Query RPC Request ", - "type": "stat" + "fields": "", + "values": false }, + "textMode": "auto" + }, + "pluginVersion": "8.3.11", + "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Table Rows Count for all tables", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - } - }, - "overrides": [] + "uid": "hCnkmqSSk" }, - "gridPos": { - "h": 5, - "w": 4, - "x": 0, - "y": 22 + "exemplar": true, + "expr": "sum(openmldb_table_memory_bytes{job=~\"$job\"})", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Table Memory Used Total", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "Table Disk Used for all tables", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 214, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] }, - "pluginVersion": "10.1.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum(openmldb_table_rows{job=~\"$job\"})", - "interval": "", - "legendFormat": "", - "refId": "A" - } + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 8, + "y": 13 + }, + "id": 251, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "title": "Table Row Count Total", - "type": "stat" + "fields": "", + "values": false }, + "textMode": "auto" + }, + "pluginVersion": "8.3.11", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "exemplar": true, + "expr": "sum (openmldb_table_disk_bytes{job=~\"$job\"})", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Table Disk Used Total", + "type": "stat" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 18 + }, + "id": 74, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "Table Memory Used for all tables", + "description": "", "fieldConfig": { "defaults": { "color": { @@ -626,18 +724,18 @@ "color": "green" } ] - }, - "unit": "bytes" + } }, "overrides": [] }, "gridPos": { - "h": 5, - "w": 4, - "x": 4, - "y": 22 + "h": 3, + "w": 7, + "x": 0, + "y": 2 }, - "id": 252, + "id": 106, + "links": [], "options": { "colorMode": "value", "graphMode": "area", @@ -652,29 +750,32 @@ }, "textMode": "auto" }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "exemplar": true, - "expr": "sum(openmldb_table_memory_bytes{job=~\"$job\"})", + "exemplar": false, + "expr": "openmldb_table_partitions{job=~\"$job\", table_path=~\"$table_path\"}", + "format": "time_series", + "instant": false, "interval": "", - "legendFormat": "", + "intervalFactor": 1, + "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", "refId": "A" } ], - "title": "Table Memory Used Total", + "title": "Table Partition Number", "type": "stat" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "Table Disk Used for all tables", + "description": "", "fieldConfig": { "defaults": { "color": { @@ -688,18 +789,18 @@ "color": "green" } ] - }, - "unit": "bytes" + } }, "overrides": [] }, "gridPos": { - "h": 5, - "w": 4, - "x": 8, - "y": 22 + "h": 6, + "w": 5, + "x": 7, + "y": 2 }, - "id": 251, + "id": 16, + "links": [], "options": { "colorMode": "value", "graphMode": "area", @@ -714,29 +815,30 @@ }, "textMode": "auto" }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "sum (openmldb_table_disk_bytes{job=~\"$job\"})", + "expr": "openmldb_table_replica{job=~\"$job\", table_path=~\"$table_path\"}", + "hide": false, "interval": "", - "legendFormat": "", - "refId": "A" + "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", + "refId": "B" } ], - "title": "Table Disk Used Total", + "title": "Table Replica Number", "type": "stat" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "Deploy Query Count for all deployments", + "description": "", "fieldConfig": { "defaults": { "color": { @@ -750,18 +852,18 @@ "color": "green" } ] - }, - "unit": "none" + } }, "overrides": [] }, "gridPos": { - "h": 5, - "w": 3, + "h": 6, + "w": 4, "x": 12, - "y": 22 + "y": 2 }, - "id": 250, + "id": 107, + "links": [], "options": { "colorMode": "value", "graphMode": "area", @@ -776,54 +878,28 @@ }, "textMode": "auto" }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "sum (openmldb_info_schema_deploy_response_time_seconds_count{job=~\"$job\"})", + "expr": "openmldb_table_rows{job=~\"$job\", table_path=~\"$table_path\"}", + "hide": false, "interval": "", - "legendFormat": "", - "refId": "A" + "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", + "refId": "B" } ], - "title": "Deploy Query Count Total", + "title": "Table Rows Count", "type": "stat" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" - }, - "refId": "A" - } - ], - "title": "OpenMLDB Cluster Overview", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 74, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { @@ -839,17 +915,18 @@ "color": "green" } ] - } + }, + "unit": "bytes" }, "overrides": [] }, "gridPos": { - "h": 3, - "w": 7, - "x": 0, - "y": 34 + "h": 6, + "w": 4, + "x": 16, + "y": 2 }, - "id": 106, + "id": 108, "links": [], "options": { "colorMode": "value", @@ -870,25 +947,23 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "exemplar": false, - "expr": "openmldb_table_partitions{job=~\"$job\", table_path=~\"$table_path\"}", - "format": "time_series", - "instant": false, + "exemplar": true, + "expr": "openmldb_table_memory_bytes{job=~\"$job\", table_path=~\"$table_path\"}", + "hide": false, "interval": "", - "intervalFactor": 1, "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", - "refId": "A" + "refId": "B" } ], - "title": "Table Partition Number", + "title": "Table Memory Used", "type": "stat" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { @@ -904,17 +979,18 @@ "color": "green" } ] - } + }, + "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 6, - "w": 5, - "x": 7, - "y": 34 + "w": 4, + "x": 20, + "y": 2 }, - "id": 16, + "id": 109, "links": [], "options": { "colorMode": "value", @@ -935,23 +1011,23 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "openmldb_table_replica{job=~\"$job\", table_path=~\"$table_path\"}", + "expr": "openmldb_table_disk_bytes{job=~\"$job\", table_path=~\"$table_path\"}", "hide": false, "interval": "", "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", "refId": "B" } ], - "title": "Table Replica Number", + "title": "Table Disk Used", "type": "stat" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { @@ -965,6 +1041,10 @@ "steps": [ { "color": "green" + }, + { + "color": "red", + "value": 1 } ] } @@ -972,12 +1052,12 @@ "overrides": [] }, "gridPos": { - "h": 6, - "w": 4, - "x": 12, - "y": 34 + "h": 3, + "w": 7, + "x": 0, + "y": 5 }, - "id": 107, + "id": 105, "links": [], "options": { "colorMode": "value", @@ -998,29 +1078,59 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "openmldb_table_rows{job=~\"$job\", table_path=~\"$table_path\"}", - "hide": false, + "expr": "openmldb_table_partitions_unalive{job=~\"$job\", table_path=~\"$table_path\"}", + "format": "time_series", + "instant": false, "interval": "", + "intervalFactor": 1, "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", - "refId": "B" + "refId": "A" } ], - "title": "Table Rows Count", + "title": "Table Partition Unalive Number", "type": "stat" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "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": { @@ -1028,63 +1138,96 @@ "steps": [ { "color": "green" + }, + { + "color": "red", + "value": 80 } ] }, - "unit": "bytes" + "unit": "none" }, "overrides": [] }, "gridPos": { - "h": 6, - "w": 4, - "x": 16, - "y": 34 + "h": 10, + "w": 8, + "x": 0, + "y": 8 }, - "id": 108, + "id": 32, "links": [], "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { + "legend": { "calcs": [ "lastNotNull" ], - "fields": "", - "values": false + "displayMode": "table", + "placement": "bottom" }, - "textMode": "auto" + "tooltip": { + "mode": "single" + } }, "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "openmldb_table_memory_bytes{job=~\"$job\", table_path=~\"$table_path\"}", + "expr": "openmldb_table_rows{job=~\"$job\", table_path=~\"$table_path\"}", + "format": "time_series", "hide": false, + "instant": false, "interval": "", + "intervalFactor": 1, "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", - "refId": "B" + "refId": "A" } ], - "title": "Table Memory Used", - "type": "stat" + "title": "Table Rows", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, "mappings": [], "thresholds": { @@ -1092,6 +1235,10 @@ "steps": [ { "color": "green" + }, + { + "color": "red", + "value": 80 } ] }, @@ -1100,55 +1247,83 @@ "overrides": [] }, "gridPos": { - "h": 6, - "w": 4, - "x": 20, - "y": 34 + "h": 10, + "w": 8, + "x": 8, + "y": 8 }, - "id": 109, + "id": 2, "links": [], "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { + "legend": { "calcs": [ "lastNotNull" ], - "fields": "", - "values": false + "displayMode": "table", + "placement": "bottom" }, - "textMode": "auto" + "tooltip": { + "mode": "single" + } }, "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "openmldb_table_disk_bytes{job=~\"$job\", table_path=~\"$table_path\"}", + "expr": "openmldb_table_memory_bytes{job=~\"$job\", table_path=~\"$table_path\"}", + "format": "time_series", "hide": false, + "instant": false, "interval": "", + "intervalFactor": 1, "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", - "refId": "B" + "refId": "A" } ], - "title": "Table Disk Used", - "type": "stat" + "title": "Table Memory Usage", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "", "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, "mappings": [], "thresholds": { @@ -1159,61 +1334,70 @@ }, { "color": "red", - "value": 1 + "value": 80 } ] - } + }, + "unit": "bytes" }, "overrides": [] }, "gridPos": { - "h": 3, - "w": 7, - "x": 0, - "y": 37 + "h": 10, + "w": 8, + "x": 16, + "y": 8 }, - "id": 105, - "links": [], + "id": 65, "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { + "legend": { "calcs": [ "lastNotNull" ], - "fields": "", - "values": false + "displayMode": "table", + "placement": "bottom" }, - "textMode": "auto" + "tooltip": { + "mode": "single" + } }, - "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "openmldb_table_partitions_unalive{job=~\"$job\", table_path=~\"$table_path\"}", - "format": "time_series", - "instant": false, + "expr": "openmldb_table_disk_bytes{job=~\"$job\", table_path=~\"$table_path\"}", "interval": "", - "intervalFactor": 1, "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", "refId": "A" } ], - "title": "Table Partition Unalive Number", - "type": "stat" - }, + "title": "Table Disk Usage", + "type": "timeseries" + } + ], + "repeat": "table_path", + "title": "Table Status-$table_path", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 19 + }, + "id": 84, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "", + "description": "calc in recent 75s(by default, specified by [-bvar_dump_interval])\\nif requests < 60 in whole interval, qps will be 0", "fieldConfig": { "defaults": { "color": { @@ -1252,66 +1436,57 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", "value": 80 } ] - }, - "unit": "none" + } }, "overrides": [] }, "gridPos": { - "h": 10, - "w": 8, + "h": 8, + "w": 12, "x": 0, - "y": 40 + "y": 20 }, - "id": 32, - "links": [], + "id": 93, "options": { "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "calcs": [], + "displayMode": "list", + "placement": "bottom" }, "tooltip": { "mode": "single" } }, - "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "openmldb_table_rows{job=~\"$job\", table_path=~\"$table_path\"}", - "format": "time_series", - "hide": false, - "instant": false, + "expr": "sum({__name__=~\".*_deployment_count\", db=\"$db\", deployment=\"$deployment\"})", "interval": "", - "intervalFactor": 1, - "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", + "legendFormat": "", "refId": "A" } ], - "title": "Table Rows", + "title": "Deploy Query Count $db.$deployment", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "", + "description": "calc in recent 75s(by default, specified by [-bvar_dump_interval])", "fieldConfig": { "defaults": { "color": { @@ -1329,7 +1504,7 @@ "tooltip": false, "viz": false }, - "lineInterpolation": "smooth", + "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1350,7 +1525,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1358,57 +1534,49 @@ } ] }, - "unit": "bytes" + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 10, - "w": 8, - "x": 8, - "y": 40 + "h": 8, + "w": 12, + "x": 12, + "y": 20 }, - "id": 2, - "links": [], + "id": 620, "options": { "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "calcs": [], + "displayMode": "list", + "placement": "bottom" }, "tooltip": { "mode": "single" } }, - "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "openmldb_table_memory_bytes{job=~\"$job\", table_path=~\"$table_path\"}", - "format": "time_series", - "hide": false, - "instant": false, + "expr": "sum({__name__=~\".*_deployment_qps\", db=\"$db\", deployment=\"$deployment\"})", "interval": "", - "intervalFactor": 1, - "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", + "legendFormat": "", "refId": "A" } ], - "title": "Table Memory Usage", + "title": "Deploy Query QPS $db.$deployment", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, + "description": "calc in recent 75s(by default, specified by [-bvar_dump_interval])", "fieldConfig": { "defaults": { "color": { @@ -1426,7 +1594,7 @@ "tooltip": false, "viz": false }, - "lineInterpolation": "smooth", + "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1447,433 +1615,82 @@ "mode": "absolute", "steps": [ { - "color": "green" - }, - { - "color": "red", - "value": 80 + "color": "green", + "value": null } ] }, - "unit": "bytes" + "unit": "µs" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "0.001" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "blue", + "mode": "fixed" + } + } + ] + } + ] }, "gridPos": { - "h": 10, - "w": 8, - "x": 16, - "y": 40 + "h": 8, + "w": 12, + "x": 0, + "y": 28 }, - "id": 65, + "id": 676, "options": { "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "calcs": [], + "displayMode": "list", + "placement": "bottom" }, "tooltip": { "mode": "single" } }, + "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "openmldb_table_disk_bytes{job=~\"$job\", table_path=~\"$table_path\"}", + "expr": "label_replace({__name__=~\".*_deployment_latency\", db=\"$db\", deployment=\"$deployment\"}, \"quantile\", \"avg\", \"quantile\", \"\")", + "hide": false, "interval": "", - "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", + "legendFormat": "{{instance}}-{{quantile}}", "refId": "A" } ], - "title": "Table Disk Usage", + "title": "avg/0.80/0.90/0.99/0.999/0.9999 quantile for deploy query response time $db.$deployment", "type": "timeseries" } ], - "repeat": "table_path", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" - }, - "refId": "A" - } - ], - "title": "Table Status-$table_path", - "type": "row" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 2 - }, - "id": 84, - "panels": [], "repeat": "deploy_path", - "repeatDirection": "h", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" - }, - "refId": "A" - } - ], "title": "Deploy Query Response Time: $db.$deployment", "type": "row" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 3 - }, - "id": 93, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "code", - "exemplar": true, - "expr": "sum({__name__=~\".*_deployment_count\", db=\"$db\", deployment=\"$deployment\"})", - "fullMetaSearch": false, - "includeNullMetadata": true, - "interval": "", - "legendFormat": "all", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Deploy Query Count $db.$deployment", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "calc in recent 75s(by default, specified by [-bvar_dump_interval])\nif requests < 60 in whole interval, qps will be 0", - "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 - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "reqps" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 3 - }, - "id": 620, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "code", - "exemplar": true, - "expr": "sum({__name__=~\".*_deployment_qps\", db=\"$db\", deployment=\"$deployment\"})", - "fullMetaSearch": false, - "includeNullMetadata": true, - "interval": "", - "legendFormat": "all", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Deploy Query QPS $db.$deployment", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "calc in recent 75s(by default, specified by [-bvar_dump_interval])", - "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 - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "µs" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "0.001" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "blue", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 11 - }, - "id": 676, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.3.3", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "exemplar": true, - "expr": "label_replace({__name__=~\".*_deployment_latency\", db=\"$db\", deployment=\"$deployment\"}, \"quantile\", \"avg\", \"quantile\", \"\")", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "interval": "", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "avg/0.80/0.90/0.99/0.999/0.9999 quantile for deploy query response time $db.$deployment", - "type": "timeseries" - }, { "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" - }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 19 + "y": 20 }, "id": 76, "panels": [ { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, "description": "Uptime for a single component, whether connected to the cluster is not considered", "fieldConfig": { "defaults": { @@ -1882,8 +1699,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -1895,7 +1711,7 @@ "h": 5, "w": 6, "x": 0, - "y": 6 + "y": 4 }, "id": 78, "options": { @@ -1913,12 +1729,12 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.11", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "process_uptime{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -1935,7 +1751,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "Uptime for a single component, whether connected to the cluster is not considered", "fieldConfig": { @@ -1948,8 +1764,7 @@ "mode": "percentage", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "#EAB839", @@ -1969,7 +1784,7 @@ "h": 5, "w": 4, "x": 6, - "y": 6 + "y": 4 }, "id": 266, "options": { @@ -1984,12 +1799,12 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.11", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "process_cpu_usage{job=\"$component_job\", instance=~\"$endpoint\"}", @@ -2006,7 +1821,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "fieldConfig": { "defaults": { @@ -2018,8 +1833,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -2031,7 +1845,7 @@ "h": 5, "w": 3, "x": 10, - "y": 6 + "y": 4 }, "id": 265, "options": { @@ -2048,12 +1862,12 @@ }, "textMode": "auto" }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.11", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "rpc_channel_connection_count{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2068,7 +1882,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "fieldConfig": { "defaults": { @@ -2079,9 +1893,8 @@ "thresholds": { "mode": "absolute", "steps": [ - { - "color": "green", - "value": null + { + "color": "green" } ] }, @@ -2093,7 +1906,7 @@ "h": 5, "w": 3, "x": 13, - "y": 6 + "y": 4 }, "id": 679, "options": { @@ -2110,12 +1923,12 @@ }, "textMode": "auto" }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.11", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": " process_thread_count{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2130,7 +1943,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "fieldConfig": { "defaults": { @@ -2142,8 +1955,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -2155,7 +1967,7 @@ "h": 5, "w": 3, "x": 16, - "y": 6 + "y": 4 }, "id": 681, "options": { @@ -2172,12 +1984,12 @@ }, "textMode": "auto" }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.11", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "process_fd_count{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2192,7 +2004,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "fieldConfig": { "defaults": { @@ -2204,8 +2016,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -2217,7 +2028,7 @@ "h": 5, "w": 3, "x": 19, - "y": 6 + "y": 4 }, "id": 680, "options": { @@ -2234,12 +2045,12 @@ }, "textMode": "auto" }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.11", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "bthread_count{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2254,7 +2065,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { @@ -2263,8 +2074,6 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2276,7 +2085,6 @@ "tooltip": false, "viz": false }, - "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2298,8 +2106,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -2311,7 +2118,7 @@ "h": 12, "w": 6, "x": 0, - "y": 11 + "y": 9 }, "id": 267, "links": [], @@ -2321,12 +2128,10 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom", - "showLegend": true + "placement": "bottom" }, "tooltip": { - "mode": "single", - "sort": "none" + "mode": "single" } }, "pluginVersion": "8.3.3", @@ -2334,7 +2139,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "process_cpu_usage{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2347,7 +2152,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "process_cpu_usage_user{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2359,7 +2164,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "process_cpu_usage_system{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2375,7 +2180,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "fieldConfig": { "defaults": { @@ -2383,8 +2188,6 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2396,7 +2199,6 @@ "tooltip": false, "viz": false }, - "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2418,8 +2220,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2435,7 +2236,7 @@ "h": 12, "w": 6, "x": 6, - "y": 11 + "y": 9 }, "id": 97, "options": { @@ -2444,19 +2245,17 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom", - "showLegend": true + "placement": "bottom" }, "tooltip": { - "mode": "single", - "sort": "none" + "mode": "single" } }, "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "process_memory_virtual{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2471,7 +2270,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "bytes read/write per second", "fieldConfig": { @@ -2480,8 +2279,6 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2493,7 +2290,6 @@ "tooltip": false, "viz": false }, - "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2515,8 +2311,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -2528,7 +2323,7 @@ "h": 12, "w": 6, "x": 12, - "y": 11 + "y": 9 }, "id": 677, "links": [], @@ -2538,12 +2333,10 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom", - "showLegend": true + "placement": "bottom" }, "tooltip": { - "mode": "single", - "sort": "none" + "mode": "single" } }, "pluginVersion": "8.3.3", @@ -2551,7 +2344,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": " process_io_read_bytes_second{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2564,7 +2357,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": " process_io_write_bytes_second{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2582,7 +2375,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "bytes read/write per second", "fieldConfig": { @@ -2591,8 +2384,6 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2604,7 +2395,6 @@ "tooltip": false, "viz": false }, - "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2626,8 +2416,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -2639,7 +2428,7 @@ "h": 12, "w": 6, "x": 18, - "y": 11 + "y": 9 }, "id": 268, "links": [], @@ -2649,12 +2438,10 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom", - "showLegend": true + "placement": "bottom" }, "tooltip": { - "mode": "single", - "sort": "none" + "mode": "single" } }, "pluginVersion": "8.3.3", @@ -2662,7 +2449,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "process_disk_read_bytes_second{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2675,7 +2462,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "process_disk_write_bytes_second{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2691,7 +2478,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "bytes read/write per second", "fieldConfig": { @@ -2700,8 +2487,6 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2713,7 +2498,6 @@ "tooltip": false, "viz": false }, - "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2735,8 +2519,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -2748,7 +2531,7 @@ "h": 10, "w": 6, "x": 0, - "y": 23 + "y": 21 }, "id": 545, "links": [], @@ -2758,12 +2541,10 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom", - "showLegend": true + "placement": "bottom" }, "tooltip": { - "mode": "single", - "sort": "none" + "mode": "single" } }, "pluginVersion": "8.3.3", @@ -2771,7 +2552,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "process_uptime{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2788,7 +2569,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "bytes read/write per second", "fieldConfig": { @@ -2797,8 +2578,6 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2810,7 +2589,6 @@ "tooltip": false, "viz": false }, - "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2832,8 +2610,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -2845,178 +2622,343 @@ "h": 10, "w": 6, "x": 6, - "y": 23 + "y": 21 + }, + "id": 269, + "links": [], + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "pluginVersion": "8.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "exemplar": true, + "expr": "openmldb_connected_seconds_total{job=~\"$job\", endpoint=~\"$endpoint\"}", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{endpoint}}-{{role}}", + "refId": "A" + } + ], + "title": "Connected Time $endpoint", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "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" + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 6, + "x": 12, + "y": 21 + }, + "id": 678, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "pluginVersion": "8.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "exemplar": true, + "expr": " process_io_write_second{job=~\"$component_job\", instance=~\"$endpoint\"}", + "interval": "", + "legendFormat": "{{instance}}", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "exemplar": true, + "expr": " process_io_read_second{job=~\"$component_job\", instance=~\"$endpoint\"}", + "hide": false, + "interval": "", + "legendFormat": "{{instance}}", + "refId": "B" + } + ], + "title": "Process IO READ/WRITE Second $endpoint", + "type": "timeseries" + } + ], + "repeat": "endpoint", + "title": "Component Status: $endpoint", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 23 + }, + "id": 283, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 18 + }, + "id": 423, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "8.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "exemplar": true, + "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "interval": "", + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "title": "Query RPC Count $tablet_endpoint", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 18 }, - "id": 269, - "links": [], + "id": 382, "options": { - "legend": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { "calcs": [ "lastNotNull" ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "fields": "", + "values": false }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "openmldb_connected_seconds_total{job=~\"$job\", endpoint=~\"$endpoint\"}", - "format": "time_series", + "expr": " ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"})", "interval": "", - "intervalFactor": 1, - "legendFormat": "{{endpoint}}-{{role}}", + "legendFormat": "{{instance}}", "refId": "A" } ], - "title": "Connected Time $endpoint", - "type": "timeseries" + "title": "Batch Request Query RPC Count $tablet_endpoint", + "type": "stat" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, + "description": "", "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 - }, - "insertNulls": 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", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, - "unit": "s" + "unit": "none" }, "overrides": [] }, "gridPos": { - "h": 10, - "w": 6, - "x": 12, + "h": 5, + "w": 12, + "x": 0, "y": 23 }, - "id": 678, + "id": 471, "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": "single", - "sort": "none" - } + "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": " process_io_write_second{job=~\"$component_job\", instance=~\"$endpoint\"}", + "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", "interval": "", "legendFormat": "{{instance}}", "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": " process_io_read_second{job=~\"$component_job\", instance=~\"$endpoint\"}", - "hide": false, - "interval": "", - "legendFormat": "{{instance}}", - "refId": "B" } ], - "title": "Process IO READ/WRITE Second $endpoint", - "type": "timeseries" - } - ], - "repeat": "endpoint", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" - }, - "refId": "A" - } - ], - "title": "Component Status: $endpoint", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 20 - }, - "id": 283, - "panels": [ + "title": "Sub Query RPC Count $tablet_endpoint", + "type": "stat" + }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { @@ -3029,8 +2971,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -3041,10 +2982,10 @@ "gridPos": { "h": 5, "w": 12, - "x": 0, - "y": 7 + "x": 12, + "y": 23 }, - "id": 423, + "id": 469, "options": { "colorMode": "value", "graphMode": "area", @@ -3059,41 +3000,68 @@ }, "textMode": "auto" }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "expr": " ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"})", "interval": "", "legendFormat": "{{instance}}", "refId": "A" } ], - "title": "Query RPC Count $tablet_endpoint", + "title": "Sub Batch Request Query RPC Count $tablet_endpoint", "type": "stat" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -3102,61 +3070,106 @@ "overrides": [] }, "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 7 + "h": 14, + "w": 8, + "x": 0, + "y": 28 }, - "id": 382, + "id": 484, + "links": [], + "maxPerRow": 4, "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { + "legend": { "calcs": [ "lastNotNull" ], - "fields": "", - "values": false + "displayMode": "table", + "placement": "bottom" }, - "textMode": "auto" + "tooltip": { + "mode": "single" + } }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.3", + "repeat": "tablet_endpoint", + "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": " ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"})", + "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "format": "time_series", "interval": "", - "legendFormat": "{{instance}}", + "intervalFactor": 1, + "legendFormat": "{{instance}}-count", "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "exemplar": true, + "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{instance}}-error", + "refId": "B" } ], - "title": "Batch Request Query RPC Count $tablet_endpoint", - "type": "stat" + "title": "RPC Query Count & Error Count $tablet_endpoint ", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -3165,61 +3178,106 @@ "overrides": [] }, "gridPos": { - "h": 5, - "w": 12, + "h": 14, + "w": 8, "x": 0, - "y": 12 + "y": 42 }, - "id": 471, + "id": 87, + "links": [], + "maxPerRow": 4, "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { + "legend": { "calcs": [ "lastNotNull" ], - "fields": "", - "values": false + "displayMode": "table", + "placement": "bottom" }, - "textMode": "auto" + "tooltip": { + "mode": "single" + } }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.3", + "repeat": "tablet_endpoint", + "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "format": "time_series", "interval": "", - "legendFormat": "{{instance}}", + "intervalFactor": 1, + "legendFormat": "{{instance}}-count", "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "exemplar": true, + "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{instance}}-error", + "refId": "B" } ], - "title": "Sub Query RPC Count $tablet_endpoint", - "type": "stat" + "title": "RPC Sub Query Count & Error Count $tablet_endpoint ", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -3228,47 +3286,65 @@ "overrides": [] }, "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 12 + "h": 14, + "w": 8, + "x": 0, + "y": 56 }, - "id": 469, + "id": 336, + "links": [], + "maxPerRow": 4, "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { + "legend": { "calcs": [ "lastNotNull" ], - "fields": "", - "values": false + "displayMode": "table", + "placement": "bottom" }, - "textMode": "auto" + "tooltip": { + "mode": "single" + } }, - "pluginVersion": "10.1.1", + "pluginVersion": "8.3.3", + "repeat": "tablet_endpoint", + "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": " ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"})", + "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "format": "time_series", "interval": "", - "legendFormat": "{{instance}}", + "intervalFactor": 1, + "legendFormat": "{{instance}}-count", "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "exemplar": true, + "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{instance}}-error", + "refId": "B" } ], - "title": "Sub Batch Request Query RPC Count $tablet_endpoint", - "type": "stat" + "title": "RPC Batch Request Query Count & Error Count $tablet_endpoint ", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { @@ -3277,8 +3353,6 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -3290,7 +3364,6 @@ "tooltip": false, "viz": false }, - "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3312,8 +3385,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -3325,9 +3397,9 @@ "h": 14, "w": 8, "x": 0, - "y": 17 + "y": 70 }, - "id": 484, + "id": 378, "links": [], "maxPerRow": 4, "options": { @@ -3336,12 +3408,10 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom", - "showLegend": true + "placement": "bottom" }, "tooltip": { - "mode": "single", - "sort": "none" + "mode": "single" } }, "pluginVersion": "8.3.3", @@ -3351,25 +3421,23 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "editorMode": "code", "exemplar": true, - "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{instance}}-count", - "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", "format": "time_series", "hide": false, "interval": "", @@ -3378,13 +3446,13 @@ "refId": "B" } ], - "title": "RPC Query Count & Error Count $tablet_endpoint ", + "title": "RPC Sub Batch Request Query Count & Error Count $tablet_endpoint ", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "description": "", "fieldConfig": { @@ -3393,28 +3461,28 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", - "spanNulls": false, + "spanNulls": true, "stacking": { "group": "A", "mode": "none" @@ -3428,36 +3496,36 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" + }, + { + "color": "red", + "value": 80 } ] }, - "unit": "none" + "unit": "bytes" }, "overrides": [] }, "gridPos": { - "h": 14, + "h": 10, "w": 8, "x": 0, - "y": 31 + "y": 84 }, - "id": 87, + "id": 66, "links": [], - "maxPerRow": 4, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", - "placement": "bottom", - "showLegend": true + "placement": "bottom" }, "tooltip": { - "mode": "single", - "sort": "none" + "mode": "single" } }, "pluginVersion": "8.3.3", @@ -3467,48 +3535,161 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", + "expr": "openmldb_tablet_memory_actual_used_bytes{endpoint=~\"$tablet_endpoint\", job=~\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{instance}}-count", + "legendFormat": "tablet-actual-{{endpoint}}", "refId": "A" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" + }, + "exemplar": true, + "expr": "openmldb_tablet_memory_application_bytes{endpoint=~\"$tablet_endpoint\", job=~\"$job\"}", + "hide": false, + "interval": "", + "legendFormat": "tablet-application-{{endpoint}}", + "refId": "B" + } + ], + "title": "Tablet $tablet_endpoint Memory (Application & Actual Memory)", + "type": "timeseries" + } + ], + "title": "Tablet Specific status $tablet_endpoint", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 24 + }, + "id": 722, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" + }, + "description": "include subquery", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "µs" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 153 + }, + "id": 790, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", - "format": "time_series", - "hide": false, + "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_query\"}", "interval": "", - "intervalFactor": 1, - "legendFormat": "{{instance}}-error", - "refId": "B" + "legendFormat": "{{instance}}-{{quantile}}", + "refId": "A" } ], - "title": "RPC Sub Query Count & Error Count $tablet_endpoint ", + "title": "Query RPC P99 Latency", "type": "timeseries" - }, + } + ], + "title": "Tablet Detail", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 25 + }, + "id": 724, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -3520,7 +3701,6 @@ "tooltip": false, "viz": false }, - "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3544,85 +3724,61 @@ { "color": "green", "value": null + }, + { + "color": "red", + "value": 80 } ] }, - "unit": "none" + "unit": "µs" }, "overrides": [] }, "gridPos": { - "h": 14, - "w": 8, + "h": 8, + "w": 12, "x": 0, - "y": 45 + "y": 42 }, - "id": 336, - "links": [], - "maxPerRow": 4, + "id": 784, "options": { "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "calcs": [], + "displayMode": "list", + "placement": "bottom" }, "tooltip": { - "mode": "single", - "sort": "none" + "mode": "single" } }, - "pluginVersion": "8.3.3", - "repeat": "tablet_endpoint", - "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", - "format": "time_series", + "expr": "label_replace({__name__=~\".*_http_method_latency\"}, \"quantile\", \"avg\", \"quantile\", \"\")", "interval": "", - "intervalFactor": 1, - "legendFormat": "{{instance}}-count", + "legendFormat": "{{instance}}-{{method}}-{{quantile}}", "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{instance}}-error", - "refId": "B" } ], - "title": "RPC Batch Request Query Count & Error Count $tablet_endpoint ", + "title": "HTTP Methods P99", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -3634,7 +3790,6 @@ "tooltip": false, "viz": false }, - "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3658,108 +3813,80 @@ { "color": "green", "value": null + }, + { + "color": "red", + "value": 80 } ] }, - "unit": "none" + "unit": "µs" }, "overrides": [] }, "gridPos": { - "h": 14, - "w": 8, - "x": 0, - "y": 59 + "h": 8, + "w": 12, + "x": 12, + "y": 42 }, - "id": 378, - "links": [], - "maxPerRow": 4, + "id": 788, "options": { "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "calcs": [], + "displayMode": "list", + "placement": "bottom" }, "tooltip": { - "mode": "single", - "sort": "none" + "mode": "single" } }, - "pluginVersion": "8.3.3", - "repeat": "tablet_endpoint", - "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "exemplar": true, - "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", - "format": "time_series", + "expr": "{__name__=~\".*_http_method_max_latency\"}", "interval": "", - "intervalFactor": 1, - "legendFormat": "{{instance}}-count", + "legendFormat": "{{instance}}-{{method}}", "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{instance}}-error", - "refId": "B" } ], - "title": "RPC Sub Batch Request Query Count & Error Count $tablet_endpoint ", + "title": "HTTP Methods Max Latency", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineStyle": { - "fill": "solid" - }, + "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", - "spanNulls": true, + "spanNulls": false, "stacking": { "group": "A", "mode": "none" @@ -3782,625 +3909,139 @@ } ] }, - "unit": "bytes" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 10, - "w": 8, + "h": 8, + "w": 12, "x": 0, - "y": 73 + "y": 50 }, - "id": 66, - "links": [], + "id": 754, "options": { "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.3.3", - "repeat": "tablet_endpoint", - "repeatDirection": "h", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "openmldb_tablet_memory_actual_used_bytes{endpoint=~\"$tablet_endpoint\", job=~\"$job\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "tablet-actual-{{endpoint}}", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "openmldb_tablet_memory_application_bytes{endpoint=~\"$tablet_endpoint\", job=~\"$job\"}", - "hide": false, - "interval": "", - "legendFormat": "tablet-application-{{endpoint}}", - "refId": "B" - } - ], - "title": "Tablet $tablet_endpoint Memory (Application & Actual Memory)", - "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" - }, - "refId": "A" - } - ], - "title": "Tablet Specific status $tablet_endpoint", - "type": "row" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 21 - }, - "id": 742, - "panels": [], - "title": "Tablet Detail", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "quantile 1 means the max latency", - "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 - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "µs" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 22 - }, - "id": 743, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_query\"}", - "instant": false, - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Query RPC P99 Latency", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 30 - }, - "id": 710, - "panels": [], - "title": "APIServer HTTP Methods", - "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 - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "calcs": [], + "displayMode": "list", + "placement": "bottom" }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ops" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 31 - }, - "id": 739, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "exemplar": true, + "expr": "{__name__=~\".*_http_method_qps\"}", + "interval": "", + "legendFormat": "{{instance}}-{{method}}", + "refId": "A" + } + ], + "title": "HTTP Methods QPS", + "type": "timeseries" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "code", - "expr": "{__name__=~\".*_http_method_qps\"}", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "{{instance}}-{{method}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "HTTP Methods QPS", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "check max on another panel", - "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 - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "uid": "hCnkmqSSk" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "µs" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "172.24.4.27:7122-query-99" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { "legend": false, "tooltip": false, - "viz": true + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 31 - }, - "id": 740, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "label_replace({__name__=~\".*_http_method_latency\"}, \"quantile\", \"avg\", \"quantile\", \"\")", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "{{instance}}-{{method}}-{{quantile}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "HTTP Methods P99", - "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 - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "µs" }, - "thresholdsStyle": { - "mode": "off" - } + "overrides": [] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "gridPos": { + "h": 8, + "w": 6, + "x": 12, + "y": 50 }, - "unit": "µs" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 39 - }, - "id": 741, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "code", - "expr": "{__name__=~\".*_http_route\"}", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "HTTP Route Latency", - "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 - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "id": 786, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "hCnkmqSSk" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "µs" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 39 - }, - "id": 744, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "code", - "expr": "{__name__=~\".*_http_method_max_latency\"}", - "fullMetaSearch": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "{{instance}}-{{method}}", - "range": true, - "refId": "A", - "useBackend": false + "exemplar": true, + "expr": "{__name__=~\".*_http_route\"}", + "interval": "", + "legendFormat": "{{instance}}-{{quantile}}", + "refId": "A" + } + ], + "title": "HTTP Route Latency", + "type": "timeseries" } ], - "title": "HTTP Methods Max Latency", - "type": "timeseries" + "title": "APIServer HTTP Methods", + "type": "row" } ], - "refresh": "1m", - "schemaVersion": 38, + "refresh": false, + "schemaVersion": 34, "style": "dark", "tags": [ "openmldb" @@ -4410,8 +4051,8 @@ { "current": { "selected": false, - "text": "default", - "value": "default" + "text": "Prometheus", + "value": "Prometheus" }, "hide": 0, "includeAll": false, @@ -4427,10 +4068,18 @@ "type": "datasource" }, { - "current": {}, + "current": { + "selected": true, + "text": [ + "All" + ], + "value": [ + "$__all" + ] + }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "definition": "label_values(openmldb_status, job)", "description": "Name of the prometheus job that pulls OpenMLDB DB-Level Metrics", @@ -4451,10 +4100,18 @@ "type": "query" }, { - "current": {}, + "current": { + "selected": true, + "text": [ + "apiserver" + ], + "value": [ + "apiserver" + ] + }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "definition": "label_values(process_uptime, job)", "description": "The name of prometheus job that pulls Component-Level metrics ", @@ -4475,10 +4132,14 @@ "type": "query" }, { - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "definition": "label_values(process_uptime, instance)", "description": "The 'IP:PORT' endpoint of a component", @@ -4499,10 +4160,14 @@ "type": "query" }, { - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "definition": "label_values(openmldb_table_rows, table_path)", "description": "${db_name}_${table_name} to a table", @@ -4523,10 +4188,18 @@ "type": "query" }, { - "current": {}, + "current": { + "selected": true, + "text": [ + "All" + ], + "value": [ + "$__all" + ] + }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, "definition": "label_values(openmldb_tablet_memory_application_bytes, endpoint)", "description": "Endpoint to a Tablet", @@ -4547,46 +4220,62 @@ "type": "query" }, { - "current": {}, + "current": { + "selected": true, + "text": [ + "demo_db" + ], + "value": [ + "demo_db" + ] + }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "definition": "label_values(deployment_count,db)", - "description": "{db_name}} for a deployment name", + "definition": "label_values({__name__=~\".*_deployment_count\"},db)", + "description": "{{db_name}} for a deployment name", "hide": 0, "includeAll": false, "label": "Database", - "multi": false, + "multi": true, "name": "db", "options": [], "query": { - "query": "label_values(deployment_count,db)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" + "query": "label_values({__name__=~\".*_deployment_count\"},db)", + "refId": "StandardVariableQuery" }, - "refresh": 1, + "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { - "current": {}, + "current": { + "selected": true, + "text": [ + "demo_data_service" + ], + "value": [ + "demo_data_service" + ] + }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "hCnkmqSSk" }, - "definition": "label_values(deployment_count{db=\"$db\"},deployment)", + "definition": "label_values({__name__=~\".*_deployment_count\",db=\"$db\"},deployment)", "description": "{deployment} name", "hide": 0, "includeAll": false, "label": "Deployment", - "multi": false, + "multi": true, "name": "deployment", "options": [], "query": { - "query": "label_values(deployment_count{db=\"$db\"},deployment)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" + "query": "label_values({__name__=~\".*_deployment_count\",db=\"$db\"},deployment)", + "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", @@ -4626,8 +4315,8 @@ ] }, "timezone": "", - "title": "OpenMLDB Dashboard", - "uid": "SXUXvsbMk3", + "title": "OpenMLDB dashboard", + "uid": "SXUXvsbMk", "version": 3, "weekStart": "" -} \ No newline at end of file +}