From eb365db66300ea9d99cef909208658bfdc7788a9 Mon Sep 17 00:00:00 2001 From: HuangWei Date: Wed, 22 Nov 2023 03:23:30 +0000 Subject: [PATCH 1/5] feat: grafana add p99, apiserver, tablet query --- openmldb_mixin/openmldb_dashboard.json | 3136 ++++++++++++++---------- 1 file changed, 1877 insertions(+), 1259 deletions(-) diff --git a/openmldb_mixin/openmldb_dashboard.json b/openmldb_mixin/openmldb_dashboard.json index b985305..a7bb9af 100644 --- a/openmldb_mixin/openmldb_dashboard.json +++ b/openmldb_mixin/openmldb_dashboard.json @@ -9,7 +9,7 @@ "pluginName": "Prometheus" } ], - "__elements": [], + "__elements": {}, "__requires": [ { "type": "panel", @@ -21,7 +21,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "8.3.11" + "version": "10.1.1" }, { "type": "datasource", @@ -46,7 +46,10 @@ "list": [ { "builtIn": 1, - "datasource": "${DS_PROMETHEUS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -67,12 +70,15 @@ "gnetId": 17843, "graphTooltip": 1, "id": null, - "iteration": 1683194246663, "links": [], "liveNow": false, "panels": [ { - "collapsed": false, + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "ea3dc474-bf12-44d9-925f-bf208f40ae0c" + }, "gridPos": { "h": 1, "w": 24, @@ -80,743 +86,472 @@ "y": 0 }, "id": 173, - "panels": [], - "title": "OpenMLDB Cluster Overview", - "type": "row" - }, - { - "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", - "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": [ + "panels": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "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": "${DS_PROMETHEUS}" - }, - "description": "connected time in seconds for each components in the OpenMLDB cluster", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "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": [] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 10 }, - "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" + "id": 61, + "links": [], + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "value_and_name" + }, + "pluginVersion": "10.1.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "openmldb_status{job=~\"$job\", openmldb_status=\"online\", endpoint=~\"$endpoint\"}", + "hide": false, + "interval": "", + "legendFormat": "{{endpoint}}-{{role}}", + "refId": "A" + } ], - "fields": "", - "values": false + "title": "Component Status", + "type": "stat" }, - "textMode": "auto" - }, - "pluginVersion": "8.3.11", - "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" - } - ], - "title": "Component Connected Time", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "mappings": [], - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null + "description": "connected time in seconds for each components in the OpenMLDB cluster", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - { - "color": "orange", - "value": 70 + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] }, - { - "color": "red", - "value": 85 - } - ] - }, - "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": "${DS_PROMETHEUS}" + "unit": "s" + }, + "overrides": [] }, - "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": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 10 }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "id": 62, + "links": [], + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" }, - "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" + "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" + } ], - "fields": "", - "values": false + "title": "Component Connected Time", + "type": "stat" }, - "textMode": "auto" - }, - "pluginVersion": "8.3.11", - "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" - } - ], - "title": "Total Query RPC Request ", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "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" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "8.3.11", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "fieldConfig": { + "defaults": { + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green" + }, + { + "color": "orange", + "value": 70 + }, + { + "color": "red", + "value": 85 + } + ] + }, + "unit": "bytes" + }, + "overrides": [] }, - "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": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 16 }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "id": 80, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true }, - "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" + "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" + } ], - "fields": "", - "values": false + "title": "Process Virtual Memory", + "type": "gauge" }, - "textMode": "auto" - }, - "pluginVersion": "8.3.11", - "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" - } - ], - "title": "Total Batch Request Query RPC Request $endpoint", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "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" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "8.3.11", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "gridPos": { + "h": 6, + "w": 3, + "x": 12, + "y": 16 }, - "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": "${DS_PROMETHEUS}" - }, - "description": "Table Rows Count for all tables", - "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 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 4, - "x": 0, - "y": 13 - }, - "id": 214, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "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" + } ], - "fields": "", - "values": false + "title": "Total Query RPC Request ", + "type": "stat" }, - "textMode": "auto" - }, - "pluginVersion": "8.3.11", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "sum(openmldb_table_rows{job=~\"$job\"})", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Table Row Count Total", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Table Memory Used for all tables", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "gridPos": { + "h": 6, + "w": 3, + "x": 15, + "y": 16 }, - "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" + "id": 380, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "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" + } ], - "fields": "", - "values": false + "title": "Total Sub Query RPC Request ", + "type": "stat" }, - "textMode": "auto" - }, - "pluginVersion": "8.3.11", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "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": "${DS_PROMETHEUS}" - }, - "description": "Table Disk Used for all tables", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "gridPos": { + "h": 6, + "w": 3, + "x": 18, + "y": 16 }, - "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" + "id": 381, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "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" + } ], - "fields": "", - "values": false + "title": "Total Batch Request Query RPC Request $endpoint", + "type": "stat" }, - "textMode": "auto" - }, - "pluginVersion": "8.3.11", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "sum (openmldb_table_disk_bytes{job=~\"$job\"})", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Table Disk Used Total", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Deploy Query Count for all deployments", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 3, - "x": 12, - "y": 13 - }, - "id": 250, - "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": "${DS_PROMETHEUS}" + "gridPos": { + "h": 6, + "w": 3, + "x": 21, + "y": 16 }, - "exemplar": true, - "expr": "sum (openmldb_info_schema_deploy_response_time_seconds_count{job=~\"$job\"})", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Deploy Query Count Total", - "type": "stat" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 18 - }, - "id": 74, - "panels": [ + "id": 470, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "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" + } + ], + "title": "Total Sub Batch Request Query RPC Request ", + "type": "stat" + }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "description": "", + "description": "Table Rows Count for all tables", "fieldConfig": { "defaults": { "color": { @@ -835,13 +570,12 @@ "overrides": [] }, "gridPos": { - "h": 3, - "w": 7, + "h": 5, + "w": 4, "x": 0, - "y": 2 + "y": 22 }, - "id": 106, - "links": [], + "id": 214, "options": { "colorMode": "value", "graphMode": "area", @@ -856,24 +590,21 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.3", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": false, - "expr": "openmldb_table_partitions{job=~\"$job\", table_path=~\"$table_path\"}", - "format": "time_series", - "instant": false, + "exemplar": true, + "expr": "sum(openmldb_table_rows{job=~\"$job\"})", "interval": "", - "intervalFactor": 1, - "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", + "legendFormat": "", "refId": "A" } ], - "title": "Table Partition Number", + "title": "Table Row Count Total", "type": "stat" }, { @@ -881,7 +612,7 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "description": "", + "description": "Table Memory Used for all tables", "fieldConfig": { "defaults": { "color": { @@ -895,18 +626,18 @@ "color": "green" } ] - } + }, + "unit": "bytes" }, "overrides": [] }, "gridPos": { - "h": 6, - "w": 5, - "x": 7, - "y": 2 + "h": 5, + "w": 4, + "x": 4, + "y": 22 }, - "id": 16, - "links": [], + "id": 252, "options": { "colorMode": "value", "graphMode": "area", @@ -921,7 +652,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.3", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -929,14 +660,13 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "openmldb_table_replica{job=~\"$job\", table_path=~\"$table_path\"}", - "hide": false, + "expr": "sum(openmldb_table_memory_bytes{job=~\"$job\"})", "interval": "", - "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", - "refId": "B" + "legendFormat": "", + "refId": "A" } ], - "title": "Table Replica Number", + "title": "Table Memory Used Total", "type": "stat" }, { @@ -944,7 +674,7 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "description": "", + "description": "Table Disk Used for all tables", "fieldConfig": { "defaults": { "color": { @@ -958,18 +688,18 @@ "color": "green" } ] - } + }, + "unit": "bytes" }, "overrides": [] }, "gridPos": { - "h": 6, + "h": 5, "w": 4, - "x": 12, - "y": 2 + "x": 8, + "y": 22 }, - "id": 107, - "links": [], + "id": 251, "options": { "colorMode": "value", "graphMode": "area", @@ -984,7 +714,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.3", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -992,14 +722,13 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "openmldb_table_rows{job=~\"$job\", table_path=~\"$table_path\"}", - "hide": false, + "expr": "sum (openmldb_table_disk_bytes{job=~\"$job\"})", "interval": "", - "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", - "refId": "B" + "legendFormat": "", + "refId": "A" } ], - "title": "Table Rows Count", + "title": "Table Disk Used Total", "type": "stat" }, { @@ -1007,7 +736,7 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "description": "", + "description": "Deploy Query Count for all deployments", "fieldConfig": { "defaults": { "color": { @@ -1022,18 +751,17 @@ } ] }, - "unit": "bytes" + "unit": "none" }, "overrides": [] }, "gridPos": { - "h": 6, - "w": 4, - "x": 16, - "y": 2 + "h": 5, + "w": 3, + "x": 12, + "y": 22 }, - "id": 108, - "links": [], + "id": 250, "options": { "colorMode": "value", "graphMode": "area", @@ -1048,7 +776,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.3", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -1056,16 +784,42 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "openmldb_table_memory_bytes{job=~\"$job\", table_path=~\"$table_path\"}", - "hide": false, + "expr": "sum (openmldb_info_schema_deploy_response_time_seconds_count{job=~\"$job\"})", "interval": "", - "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", - "refId": "B" + "legendFormat": "", + "refId": "A" } ], - "title": "Table Memory Used", + "title": "Deploy Query Count Total", "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", @@ -1085,18 +839,17 @@ "color": "green" } ] - }, - "unit": "bytes" + } }, "overrides": [] }, "gridPos": { - "h": 6, - "w": 4, - "x": 20, - "y": 2 + "h": 3, + "w": 7, + "x": 0, + "y": 34 }, - "id": 109, + "id": 106, "links": [], "options": { "colorMode": "value", @@ -1119,15 +872,17 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "openmldb_table_disk_bytes{job=~\"$job\", table_path=~\"$table_path\"}", - "hide": false, + "exemplar": false, + "expr": "openmldb_table_partitions{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 Disk Used", + "title": "Table Partition Number", "type": "stat" }, { @@ -1147,10 +902,6 @@ "steps": [ { "color": "green" - }, - { - "color": "red", - "value": 1 } ] } @@ -1158,12 +909,12 @@ "overrides": [] }, "gridPos": { - "h": 3, - "w": 7, - "x": 0, - "y": 5 + "h": 6, + "w": 5, + "x": 7, + "y": 34 }, - "id": 105, + "id": 16, "links": [], "options": { "colorMode": "value", @@ -1187,16 +938,14 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "openmldb_table_partitions_unalive{job=~\"$job\", table_path=~\"$table_path\"}", - "format": "time_series", - "instant": false, + "expr": "openmldb_table_replica{job=~\"$job\", table_path=~\"$table_path\"}", + "hide": false, "interval": "", - "intervalFactor": 1, "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", - "refId": "A" + "refId": "B" } ], - "title": "Table Partition Unalive Number", + "title": "Table Replica Number", "type": "stat" }, { @@ -1208,35 +957,7 @@ "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" - } + "mode": "thresholds" }, "mappings": [], "thresholds": { @@ -1244,36 +965,33 @@ "steps": [ { "color": "green" - }, - { - "color": "red", - "value": 80 } ] - }, - "unit": "none" + } }, "overrides": [] }, "gridPos": { - "h": 10, - "w": 8, - "x": 0, - "y": 8 + "h": 6, + "w": 4, + "x": 12, + "y": 34 }, - "id": 32, + "id": 107, "links": [], "options": { - "legend": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { "calcs": [ "lastNotNull" ], - "displayMode": "table", - "placement": "bottom" + "fields": "", + "values": false }, - "tooltip": { - "mode": "single" - } + "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ @@ -1284,56 +1002,25 @@ }, "exemplar": true, "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": "A" + "refId": "B" } ], - "title": "Table Rows", - "type": "timeseries" + "title": "Table Rows Count", + "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, "mappings": [], "thresholds": { @@ -1341,10 +1028,6 @@ "steps": [ { "color": "green" - }, - { - "color": "red", - "value": 80 } ] }, @@ -1353,24 +1036,26 @@ "overrides": [] }, "gridPos": { - "h": 10, - "w": 8, - "x": 8, - "y": 8 + "h": 6, + "w": 4, + "x": 16, + "y": 34 }, - "id": 2, + "id": 108, "links": [], "options": { - "legend": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { "calcs": [ "lastNotNull" ], - "displayMode": "table", - "placement": "bottom" + "fields": "", + "values": false }, - "tooltip": { - "mode": "single" - } + "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ @@ -1381,55 +1066,25 @@ }, "exemplar": true, "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": "A" + "refId": "B" } ], - "title": "Table Memory Usage", - "type": "timeseries" + "title": "Table Memory Used", + "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "description": "", "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "mode": "thresholds" }, "mappings": [], "thresholds": { @@ -1437,10 +1092,6 @@ "steps": [ { "color": "green" - }, - { - "color": "red", - "value": 80 } ] }, @@ -1449,24 +1100,28 @@ "overrides": [] }, "gridPos": { - "h": 10, - "w": 8, - "x": 16, - "y": 8 + "h": 6, + "w": 4, + "x": 20, + "y": 34 }, - "id": 65, + "id": 109, + "links": [], "options": { - "legend": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { "calcs": [ "lastNotNull" ], - "displayMode": "table", - "placement": "bottom" + "fields": "", + "values": false }, - "tooltip": { - "mode": "single" - } + "textMode": "auto" }, + "pluginVersion": "8.3.3", "targets": [ { "datasource": { @@ -1475,29 +1130,15 @@ }, "exemplar": true, "expr": "openmldb_table_disk_bytes{job=~\"$job\", table_path=~\"$table_path\"}", + "hide": false, "interval": "", "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", - "refId": "A" + "refId": "B" } ], - "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": [ + "title": "Table Disk Used", + "type": "stat" + }, { "datasource": { "type": "prometheus", @@ -1507,35 +1148,7 @@ "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" - } + "mode": "thresholds" }, "mappings": [], "thresholds": { @@ -1546,7 +1159,7 @@ }, { "color": "red", - "value": 80 + "value": 1 } ] } @@ -1554,22 +1167,28 @@ "overrides": [] }, "gridPos": { - "h": 8, - "w": 12, + "h": 3, + "w": 7, "x": 0, - "y": 21 + "y": 37 }, - "id": 93, + "id": 105, + "links": [], "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "tooltip": { - "mode": "single" - } + "textMode": "auto" }, + "pluginVersion": "8.3.3", "targets": [ { "datasource": { @@ -1577,14 +1196,17 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "openmldb_info_schema_deploy_response_time_seconds_count{job=~\"$job\", deploy_path=~\"$deploy_path\"}", + "expr": "openmldb_table_partitions_unalive{job=~\"$job\", table_path=~\"$table_path\"}", + "format": "time_series", + "instant": false, "interval": "", - "legendFormat": "{{deploy_path}}", + "intervalFactor": 1, + "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", "refId": "A" } ], - "title": "Deploy Query Count $deploy_path", - "type": "timeseries" + "title": "Table Partition Unalive Number", + "type": "stat" }, { "datasource": { @@ -1638,27 +1260,32 @@ } ] }, - "unit": "reqps" + "unit": "none" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 21 + "h": 10, + "w": 8, + "x": 0, + "y": 40 }, - "id": 620, + "id": 32, + "links": [], "options": { "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "single" } }, + "pluginVersion": "8.3.3", "targets": [ { "datasource": { @@ -1666,13 +1293,17 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "rate(openmldb_info_schema_deploy_response_time_seconds_count{job=~\"$job\", deploy_path=~\"$deploy_path\"}[5m])", + "expr": "openmldb_table_rows{job=~\"$job\", table_path=~\"$table_path\"}", + "format": "time_series", + "hide": false, + "instant": false, "interval": "", - "legendFormat": "{{deploy_path}}", + "intervalFactor": 1, + "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", "refId": "A" } ], - "title": "Deploy Query QPS in 5m duration $deploy_path", + "title": "Table Rows", "type": "timeseries" }, { @@ -1698,7 +1329,7 @@ "tooltip": false, "viz": false }, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1727,27 +1358,32 @@ } ] }, - "unit": "s" + "unit": "bytes" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 29 + "h": 10, + "w": 8, + "x": 8, + "y": 40 }, - "id": 692, + "id": 2, + "links": [], "options": { "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "single" } }, + "pluginVersion": "8.3.3", "targets": [ { "datasource": { @@ -1755,13 +1391,17 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "rate(openmldb_info_schema_deploy_response_time_seconds_sum{job=~\"$job\", deploy_path=~\"$deploy_path\"}[5m]) / rate(openmldb_info_schema_deploy_response_time_seconds_count{job=~\"$job\", deploy_path=~\"$deploy_path\"}[5m])", + "expr": "openmldb_table_memory_bytes{job=~\"$job\", table_path=~\"$table_path\"}", + "format": "time_series", + "hide": false, + "instant": false, "interval": "", - "legendFormat": "{{deploy_path}}", + "intervalFactor": 1, + "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", "refId": "A" } ], - "title": "Deploy Query AVG duration in past 5m $deploy_path", + "title": "Table Memory Usage", "type": "timeseries" }, { @@ -1769,7 +1409,6 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -1787,7 +1426,7 @@ "tooltip": false, "viz": false }, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1809,47 +1448,37 @@ "steps": [ { "color": "green" + }, + { + "color": "red", + "value": 80 } ] }, - "unit": "s" + "unit": "bytes" }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "0.001" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "blue", - "mode": "fixed" - } - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 29 + "h": 10, + "w": 8, + "x": 16, + "y": 40 }, - "id": 676, + "id": 65, "options": { "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "single" } }, - "pluginVersion": "8.3.3", "targets": [ { "datasource": { @@ -1857,79 +1486,394 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "histogram_quantile(0.5, rate(openmldb_info_schema_deploy_response_time_seconds_bucket{job=~\"$job\", deploy_path=~\"$deploy_path\"}[5m]))", - "hide": false, - "interval": "", - "legendFormat": "0.5", - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "histogram_quantile(0.9, rate(openmldb_info_schema_deploy_response_time_seconds_bucket{job=~\"$job\", deploy_path=~\"$deploy_path\"}[5m]))", + "expr": "openmldb_table_disk_bytes{job=~\"$job\", table_path=~\"$table_path\"}", "interval": "", - "legendFormat": "0.9", + "legendFormat": "{{table_path}}-{{tid}}-{{storage_mode}}", "refId": "A" + } + ], + "title": "Table Disk Usage", + "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 }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "histogram_quantile(0.95, rate(openmldb_info_schema_deploy_response_time_seconds_bucket{job=~\"$job\", deploy_path=~\"$deploy_path\"}[5m]))", - "hide": false, - "interval": "", - "legendFormat": "0.95", - "refId": "B" + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "exemplar": true, - "expr": "histogram_quantile(0.99, rate(openmldb_info_schema_deploy_response_time_seconds_bucket{job=~\"$job\", deploy_path=~\"$deploy_path\"}[5m]))", - "hide": false, - "interval": "", - "legendFormat": "0.99", - "refId": "D" + { + "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 }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "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 }, - "exemplar": true, - "expr": "histogram_quantile(0.999, rate(openmldb_info_schema_deploy_response_time_seconds_bucket{job=~\"$job\", deploy_path=~\"$deploy_path\"}[5m]))", - "hide": false, - "interval": "", - "legendFormat": "0.999", - "refId": "E" + { + "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" } - ], - "title": "0.5/0.9/0.95/0.99/0.999 quantile for deploy query response time $deploy_path", - "type": "timeseries" + }, + "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 } ], - "repeat": "deploy_path", - "title": "Deploy Query Response Time: $deploy_path", - "type": "row" + "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": 20 + "y": 19 }, "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": { @@ -1938,7 +1882,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -1950,7 +1895,7 @@ "h": 5, "w": 6, "x": 0, - "y": 4 + "y": 6 }, "id": 78, "options": { @@ -1968,7 +1913,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.3.11", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -2003,7 +1948,8 @@ "mode": "percentage", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "#EAB839", @@ -2023,7 +1969,7 @@ "h": 5, "w": 4, "x": 6, - "y": 4 + "y": 6 }, "id": 266, "options": { @@ -2038,7 +1984,7 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "8.3.11", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -2072,7 +2018,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2084,7 +2031,7 @@ "h": 5, "w": 3, "x": 10, - "y": 4 + "y": 6 }, "id": 265, "options": { @@ -2101,7 +2048,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.11", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -2133,7 +2080,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2145,7 +2093,7 @@ "h": 5, "w": 3, "x": 13, - "y": 4 + "y": 6 }, "id": 679, "options": { @@ -2162,7 +2110,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.11", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -2194,7 +2142,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2206,7 +2155,7 @@ "h": 5, "w": 3, "x": 16, - "y": 4 + "y": 6 }, "id": 681, "options": { @@ -2223,7 +2172,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.11", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -2255,7 +2204,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2267,7 +2217,7 @@ "h": 5, "w": 3, "x": 19, - "y": 4 + "y": 6 }, "id": 680, "options": { @@ -2284,7 +2234,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.11", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -2313,6 +2263,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2324,6 +2276,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2345,7 +2298,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2357,7 +2311,7 @@ "h": 12, "w": 6, "x": 0, - "y": 9 + "y": 11 }, "id": 267, "links": [], @@ -2367,10 +2321,12 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.3.3", @@ -2427,6 +2383,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2438,6 +2396,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2459,7 +2418,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2475,7 +2435,7 @@ "h": 12, "w": 6, "x": 6, - "y": 9 + "y": 11 }, "id": 97, "options": { @@ -2484,10 +2444,12 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -2518,6 +2480,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2529,6 +2493,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2550,7 +2515,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2562,7 +2528,7 @@ "h": 12, "w": 6, "x": 12, - "y": 9 + "y": 11 }, "id": 677, "links": [], @@ -2572,10 +2538,12 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.3.3", @@ -2623,6 +2591,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2634,6 +2604,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2655,7 +2626,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2667,7 +2639,7 @@ "h": 12, "w": 6, "x": 18, - "y": 9 + "y": 11 }, "id": 268, "links": [], @@ -2677,10 +2649,12 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.3.3", @@ -2726,6 +2700,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2737,6 +2713,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2758,7 +2735,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2770,7 +2748,7 @@ "h": 10, "w": 6, "x": 0, - "y": 21 + "y": 23 }, "id": 545, "links": [], @@ -2780,10 +2758,12 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.3.3", @@ -2817,6 +2797,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2828,6 +2810,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2849,7 +2832,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2861,7 +2845,7 @@ "h": 10, "w": 6, "x": 6, - "y": 21 + "y": 23 }, "id": 269, "links": [], @@ -2871,10 +2855,12 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.3.3", @@ -2907,6 +2893,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -2918,6 +2906,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2939,7 +2928,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2951,17 +2941,19 @@ "h": 10, "w": 6, "x": 12, - "y": 21 + "y": 23 }, "id": 678, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.3.3", @@ -2995,16 +2987,29 @@ } ], "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": 145 + "y": 20 }, "id": 283, "panels": [ @@ -3024,7 +3029,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3036,7 +3042,7 @@ "h": 5, "w": 12, "x": 0, - "y": 18 + "y": 7 }, "id": 423, "options": { @@ -3053,7 +3059,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.3", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -3086,7 +3092,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3098,7 +3105,7 @@ "h": 5, "w": 12, "x": 12, - "y": 18 + "y": 7 }, "id": 382, "options": { @@ -3115,7 +3122,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.3", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -3148,7 +3155,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3160,7 +3168,7 @@ "h": 5, "w": 12, "x": 0, - "y": 23 + "y": 12 }, "id": 471, "options": { @@ -3177,7 +3185,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.3", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -3210,7 +3218,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3222,7 +3231,7 @@ "h": 5, "w": 12, "x": 12, - "y": 23 + "y": 12 }, "id": 469, "options": { @@ -3239,7 +3248,7 @@ }, "textMode": "auto" }, - "pluginVersion": "8.3.3", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -3268,6 +3277,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -3279,6 +3290,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3300,7 +3312,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3312,7 +3325,7 @@ "h": 14, "w": 8, "x": 0, - "y": 28 + "y": 17 }, "id": 484, "links": [], @@ -3323,10 +3336,12 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.3.3", @@ -3338,12 +3353,14 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "exemplar": true, "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{instance}}-count", + "range": true, "refId": "A" }, { @@ -3376,6 +3393,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -3387,6 +3406,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3408,7 +3428,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3420,7 +3441,7 @@ "h": 14, "w": 8, "x": 0, - "y": 42 + "y": 31 }, "id": 87, "links": [], @@ -3431,10 +3452,12 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.3.3", @@ -3484,6 +3507,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -3495,6 +3520,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3516,7 +3542,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3528,7 +3555,7 @@ "h": 14, "w": 8, "x": 0, - "y": 56 + "y": 45 }, "id": 336, "links": [], @@ -3539,10 +3566,12 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.3.3", @@ -3592,6 +3621,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -3603,6 +3634,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3624,7 +3656,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -3636,7 +3669,7 @@ "h": 14, "w": 8, "x": 0, - "y": 70 + "y": 59 }, "id": 378, "links": [], @@ -3647,10 +3680,12 @@ "lastNotNull" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.3.3", @@ -3693,120 +3728,679 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 0, + "y": 73 + }, + "id": 66, + "links": [], + "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" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "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 + }, + "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" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { + { + "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": { "legend": false, "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "viz": true } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 8, - "x": 0, - "y": 84 + } + ] + } + ] + }, + "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}" }, - "id": 66, - "links": [], - "options": { - "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom" + "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 }, - "tooltip": { - "mode": "single" + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "8.3.3", - "repeat": "tablet_endpoint", - "repeatDirection": "h", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "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" + { + "color": "red", + "value": 80 + } + ] + }, + "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 }, - { - "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" + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "title": "Tablet $tablet_endpoint Memory (Application & Actual Memory)", - "type": "timeseries" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "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 } ], - "title": "Tablet Specific status $tablet_endpoint", - "type": "row" + "title": "HTTP Methods Max Latency", + "type": "timeseries" } ], - "refresh": false, - "schemaVersion": 34, + "refresh": "1m", + "schemaVersion": 38, "style": "dark", "tags": [ "openmldb" @@ -3958,17 +4552,41 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "definition": "label_values(openmldb_info_schema_deploy_response_time_seconds_count, deploy_path)", - "description": "{db_name}}_{{deploy_name}} for a deployment name", + "definition": "label_values(deployment_count,db)", + "description": "{db_name}} for a deployment name", "hide": 0, - "includeAll": true, - "label": "Deploy Path", - "multi": true, - "name": "deploy_path", + "includeAll": false, + "label": "Database", + "multi": false, + "name": "db", "options": [], "query": { - "query": "label_values(openmldb_info_schema_deploy_response_time_seconds_count, deploy_path)", - "refId": "StandardVariableQuery" + "query": "label_values(deployment_count,db)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "definition": "label_values(deployment_count{db=\"$db\"},deployment)", + "description": "{deployment} name", + "hide": 0, + "includeAll": false, + "label": "Deployment", + "multi": false, + "name": "deployment", + "options": [], + "query": { + "query": "label_values(deployment_count{db=\"$db\"},deployment)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -4008,8 +4626,8 @@ ] }, "timezone": "", - "title": "OpenMLDB dashboard", - "uid": "SXUXvsbMk", - "version": 2, + "title": "OpenMLDB Dashboard", + "uid": "SXUXvsbMk3", + "version": 3, "weekStart": "" } \ No newline at end of file From 6be4d7fb9b5381406c6e729310fd40f7033a603e Mon Sep 17 00:00:00 2001 From: HuangWei Date: Thu, 23 Nov 2023 14:49:15 +0800 Subject: [PATCH 2/5] 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 +} From e49799ef9438c0f20ac5430c200a38194dff683d Mon Sep 17 00:00:00 2001 From: HuangWei Date: Thu, 23 Nov 2023 14:52:48 +0800 Subject: [PATCH 3/5] external shared --- openmldb_mixin/openmldb_dashboard.json | 363 ++++++++++++------------- 1 file changed, 175 insertions(+), 188 deletions(-) diff --git a/openmldb_mixin/openmldb_dashboard.json b/openmldb_mixin/openmldb_dashboard.json index 4e20a6d..28e68b3 100644 --- a/openmldb_mixin/openmldb_dashboard.json +++ b/openmldb_mixin/openmldb_dashboard.json @@ -1,9 +1,52 @@ { + "__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": "8.3.11" + }, + { + "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": "hCnkmqSSk", + "datasource": "${DS_PROMETHEUS}", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -23,8 +66,8 @@ "fiscalYearStartMonth": 0, "gnetId": 17843, "graphTooltip": 1, - "id": 2, - "iteration": 1700718597149, + "id": null, + "iteration": 1700722204943, "links": [], "liveNow": false, "panels": [ @@ -44,7 +87,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "whether a component is online or offline", "fieldConfig": { @@ -111,7 +154,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_status{job=~\"$job\", openmldb_status=\"online\", endpoint=~\"$endpoint\"}", @@ -127,7 +170,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "connected time in seconds for each components in the OpenMLDB cluster", "fieldConfig": { @@ -176,7 +219,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_connected_seconds_total{job=~\"$job\", endpoint=~\"$endpoint\"}", @@ -193,7 +236,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -243,7 +286,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_memory_virtual{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -258,7 +301,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -306,7 +349,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_query_count\", job=~\"$component_job\"})", @@ -321,7 +364,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -369,7 +412,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_count\", job=~\"$component_job\"})", @@ -384,7 +427,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -432,7 +475,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_count\", job=~\"$component_job\"})", @@ -447,7 +490,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -495,7 +538,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_count\", job=~\"$component_job\"})", @@ -510,7 +553,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "Table Rows Count for all tables", "fieldConfig": { @@ -557,7 +600,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(openmldb_table_rows{job=~\"$job\"})", @@ -572,7 +615,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "Table Memory Used for all tables", "fieldConfig": { @@ -620,7 +663,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(openmldb_table_memory_bytes{job=~\"$job\"})", @@ -635,7 +678,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "Table Disk Used for all tables", "fieldConfig": { @@ -683,7 +726,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum (openmldb_table_disk_bytes{job=~\"$job\"})", @@ -708,7 +751,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -755,7 +798,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": false, "expr": "openmldb_table_partitions{job=~\"$job\", table_path=~\"$table_path\"}", @@ -773,7 +816,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -820,7 +863,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_table_replica{job=~\"$job\", table_path=~\"$table_path\"}", @@ -836,7 +879,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -883,7 +926,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_table_rows{job=~\"$job\", table_path=~\"$table_path\"}", @@ -899,7 +942,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -947,7 +990,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_table_memory_bytes{job=~\"$job\", table_path=~\"$table_path\"}", @@ -963,7 +1006,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -1011,7 +1054,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_table_disk_bytes{job=~\"$job\", table_path=~\"$table_path\"}", @@ -1027,7 +1070,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -1078,7 +1121,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_table_partitions_unalive{job=~\"$job\", table_path=~\"$table_path\"}", @@ -1096,7 +1139,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -1174,7 +1217,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_table_rows{job=~\"$job\", table_path=~\"$table_path\"}", @@ -1193,7 +1236,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -1271,7 +1314,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_table_memory_bytes{job=~\"$job\", table_path=~\"$table_path\"}", @@ -1290,7 +1333,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -1365,7 +1408,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_table_disk_bytes{job=~\"$job\", table_path=~\"$table_path\"}", @@ -1395,7 +1438,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "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": { @@ -1436,8 +1479,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1469,7 +1511,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum({__name__=~\".*_deployment_count\", db=\"$db\", deployment=\"$deployment\"})", @@ -1484,7 +1526,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "calc in recent 75s(by default, specified by [-bvar_dump_interval])", "fieldConfig": { @@ -1525,8 +1567,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1559,7 +1600,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum({__name__=~\".*_deployment_qps\", db=\"$db\", deployment=\"$deployment\"})", @@ -1574,7 +1615,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "calc in recent 75s(by default, specified by [-bvar_dump_interval])", "fieldConfig": { @@ -1615,8 +1656,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -1662,7 +1702,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "label_replace({__name__=~\".*_deployment_latency\", db=\"$db\", deployment=\"$deployment\"}, \"quantile\", \"avg\", \"quantile\", \"\")", @@ -1734,7 +1774,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_uptime{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -1751,7 +1791,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "Uptime for a single component, whether connected to the cluster is not considered", "fieldConfig": { @@ -1804,7 +1844,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_cpu_usage{job=\"$component_job\", instance=~\"$endpoint\"}", @@ -1821,7 +1861,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -1867,7 +1907,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "rpc_channel_connection_count{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -1882,7 +1922,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -1928,7 +1968,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": " process_thread_count{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -1943,7 +1983,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -1989,7 +2029,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_fd_count{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2004,7 +2044,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -2050,7 +2090,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "bthread_count{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2065,7 +2105,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -2139,7 +2179,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_cpu_usage{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2152,7 +2192,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_cpu_usage_user{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2164,7 +2204,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_cpu_usage_system{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2180,7 +2220,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -2255,7 +2295,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_memory_virtual{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2270,7 +2310,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "bytes read/write per second", "fieldConfig": { @@ -2344,7 +2384,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": " process_io_read_bytes_second{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2357,7 +2397,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": " process_io_write_bytes_second{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2375,7 +2415,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "bytes read/write per second", "fieldConfig": { @@ -2449,7 +2489,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_disk_read_bytes_second{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2462,7 +2502,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_disk_write_bytes_second{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2478,7 +2518,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "bytes read/write per second", "fieldConfig": { @@ -2552,7 +2592,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "process_uptime{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2569,7 +2609,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "bytes read/write per second", "fieldConfig": { @@ -2643,7 +2683,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_connected_seconds_total{job=~\"$job\", endpoint=~\"$endpoint\"}", @@ -2660,7 +2700,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -2730,7 +2770,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": " process_io_write_second{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2741,7 +2781,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": " process_io_read_second{job=~\"$component_job\", instance=~\"$endpoint\"}", @@ -2772,7 +2812,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -2819,7 +2859,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", @@ -2834,7 +2874,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -2881,7 +2921,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": " ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"})", @@ -2896,7 +2936,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -2943,7 +2983,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", @@ -2958,7 +2998,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -3005,7 +3045,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": " ({__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"})", @@ -3020,7 +3060,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -3097,7 +3137,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", @@ -3110,7 +3150,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", @@ -3128,7 +3168,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -3205,7 +3245,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", @@ -3218,7 +3258,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__=~\"rpc_server_.*_openmldb_api_tablet_server_sub_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", @@ -3236,7 +3276,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -3313,7 +3353,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", @@ -3326,7 +3366,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sqlbatch_request_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", @@ -3344,7 +3384,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -3421,7 +3461,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_count\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", @@ -3434,7 +3474,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_sub_batch_request_query_error\", job=~\"$component_job\", instance=~\"$tablet_endpoint\"}", @@ -3452,7 +3492,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -3535,7 +3575,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_tablet_memory_actual_used_bytes{endpoint=~\"$tablet_endpoint\", job=~\"$job\"}", @@ -3548,7 +3588,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "openmldb_tablet_memory_application_bytes{endpoint=~\"$tablet_endpoint\", job=~\"$job\"}", @@ -3578,7 +3618,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "description": "include subquery", "fieldConfig": { @@ -3619,8 +3659,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3653,7 +3692,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__ =~ \"rpc_server_.*_openmldb_api_tablet_server_query\"}", @@ -3682,7 +3721,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -3722,8 +3761,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3756,7 +3794,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "label_replace({__name__=~\".*_http_method_latency\"}, \"quantile\", \"avg\", \"quantile\", \"\")", @@ -3771,7 +3809,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -3811,8 +3849,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3845,7 +3882,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__=~\".*_http_method_max_latency\"}", @@ -3860,7 +3897,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -3900,8 +3937,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3934,7 +3970,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__=~\".*_http_method_qps\"}", @@ -3949,7 +3985,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -3989,8 +4025,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4023,7 +4058,7 @@ { "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "{__name__=~\".*_http_route\"}", @@ -4068,18 +4103,10 @@ "type": "datasource" }, { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "definition": "label_values(openmldb_status, job)", "description": "Name of the prometheus job that pulls OpenMLDB DB-Level Metrics", @@ -4100,18 +4127,10 @@ "type": "query" }, { - "current": { - "selected": true, - "text": [ - "apiserver" - ], - "value": [ - "apiserver" - ] - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "definition": "label_values(process_uptime, job)", "description": "The name of prometheus job that pulls Component-Level metrics ", @@ -4132,14 +4151,10 @@ "type": "query" }, { - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "definition": "label_values(process_uptime, instance)", "description": "The 'IP:PORT' endpoint of a component", @@ -4160,14 +4175,10 @@ "type": "query" }, { - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "definition": "label_values(openmldb_table_rows, table_path)", "description": "${db_name}_${table_name} to a table", @@ -4188,18 +4199,10 @@ "type": "query" }, { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "definition": "label_values(openmldb_tablet_memory_application_bytes, endpoint)", "description": "Endpoint to a Tablet", @@ -4220,18 +4223,10 @@ "type": "query" }, { - "current": { - "selected": true, - "text": [ - "demo_db" - ], - "value": [ - "demo_db" - ] - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "definition": "label_values({__name__=~\".*_deployment_count\"},db)", "description": "{{db_name}} for a deployment name", @@ -4252,18 +4247,10 @@ "type": "query" }, { - "current": { - "selected": true, - "text": [ - "demo_data_service" - ], - "value": [ - "demo_data_service" - ] - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "hCnkmqSSk" + "uid": "${DS_PROMETHEUS}" }, "definition": "label_values({__name__=~\".*_deployment_count\",db=\"$db\"},deployment)", "description": "{deployment} name", From 11782b11dc658b523570f615fce9b58ffffc557d Mon Sep 17 00:00:00 2001 From: HuangWei Date: Wed, 29 Nov 2023 12:59:03 +0800 Subject: [PATCH 4/5] fix by review --- openmldb_mixin/openmldb_dashboard.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmldb_mixin/openmldb_dashboard.json b/openmldb_mixin/openmldb_dashboard.json index 28e68b3..3d8dc76 100644 --- a/openmldb_mixin/openmldb_dashboard.json +++ b/openmldb_mixin/openmldb_dashboard.json @@ -1514,7 +1514,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "sum({__name__=~\".*_deployment_count\", db=\"$db\", deployment=\"$deployment\"})", + "expr": "sum({__name__=~\".*_deployment_count\", db=\"$db\", deployment=~\"$deployment\"})", "interval": "", "legendFormat": "", "refId": "A" @@ -4231,7 +4231,7 @@ "definition": "label_values({__name__=~\".*_deployment_count\"},db)", "description": "{{db_name}} for a deployment name", "hide": 0, - "includeAll": false, + "includeAll": true, "label": "Database", "multi": true, "name": "db", From 4cd9a6b22c2d1fc6170805880b027f013641f367 Mon Sep 17 00:00:00 2001 From: HuangWei Date: Wed, 29 Nov 2023 13:01:57 +0800 Subject: [PATCH 5/5] fix --- openmldb_mixin/openmldb_dashboard.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openmldb_mixin/openmldb_dashboard.json b/openmldb_mixin/openmldb_dashboard.json index 3d8dc76..fdc5129 100644 --- a/openmldb_mixin/openmldb_dashboard.json +++ b/openmldb_mixin/openmldb_dashboard.json @@ -1514,7 +1514,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "sum({__name__=~\".*_deployment_count\", db=\"$db\", deployment=~\"$deployment\"})", + "expr": "sum({__name__=~\".*_deployment_count\", db=~\"$db\", deployment=~\"$deployment\"})", "interval": "", "legendFormat": "", "refId": "A" @@ -1603,7 +1603,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "sum({__name__=~\".*_deployment_qps\", db=\"$db\", deployment=\"$deployment\"})", + "expr": "sum({__name__=~\".*_deployment_qps\", db=~\"$db\", deployment=~\"$deployment\"})", "interval": "", "legendFormat": "", "refId": "A" @@ -1705,7 +1705,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "label_replace({__name__=~\".*_deployment_latency\", db=\"$db\", deployment=\"$deployment\"}, \"quantile\", \"avg\", \"quantile\", \"\")", + "expr": "label_replace({__name__=~\".*_deployment_latency\", db=~\"$db\", deployment=~\"$deployment\"}, \"quantile\", \"avg\", \"quantile\", \"\")", "hide": false, "interval": "", "legendFormat": "{{instance}}-{{quantile}}", @@ -4252,7 +4252,7 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "definition": "label_values({__name__=~\".*_deployment_count\",db=\"$db\"},deployment)", + "definition": "label_values({__name__=~\".*_deployment_count\",db=~\"$db\"},deployment)", "description": "{deployment} name", "hide": 0, "includeAll": false, @@ -4261,7 +4261,7 @@ "name": "deployment", "options": [], "query": { - "query": "label_values({__name__=~\".*_deployment_count\",db=\"$db\"},deployment)", + "query": "label_values({__name__=~\".*_deployment_count\",db=~\"$db\"},deployment)", "refId": "StandardVariableQuery" }, "refresh": 1,