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