From 69e8924b1ca28f86739fdb44f02d409364f699e5 Mon Sep 17 00:00:00 2001 From: zwd1208 Date: Fri, 17 Dec 2021 14:43:16 +0800 Subject: [PATCH] [skip e2e]Add go heap idle panel for grafana (#13584) Signed-off-by: Weida Zhu --- .../monitor/grafana/milvus-dashboard.json | 129 +++++++++++++++--- 1 file changed, 111 insertions(+), 18 deletions(-) diff --git a/deployments/monitor/grafana/milvus-dashboard.json b/deployments/monitor/grafana/milvus-dashboard.json index 6f0d08055..433574d0f 100644 --- a/deployments/monitor/grafana/milvus-dashboard.json +++ b/deployments/monitor/grafana/milvus-dashboard.json @@ -16,7 +16,7 @@ "gnetId": null, "graphTooltip": 0, "id": 27, - "iteration": 1639553003214, + "iteration": 1639710092805, "links": [], "panels": [ { @@ -2293,7 +2293,7 @@ "dashLength": 10, "dashes": false, "datasource": "$datasource", - "description": "Total cpu usage of all milvus components.", + "description": "Total cpu usage of all milvus components", "fieldConfig": { "defaults": {}, "overrides": [] @@ -2681,7 +2681,7 @@ "dashLength": 10, "dashes": false, "datasource": "prometheus", - "description": "Process memory of milvus pods.", + "description": "Process memory of milvus pod", "fieldConfig": { "defaults": {}, "overrides": [] @@ -3818,7 +3818,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Memory bytes allocated rate", + "title": "Memory Allocated Rate", "tooltip": { "shared": true, "sort": 0, @@ -3953,6 +3953,104 @@ "align": false, "alignLevel": null } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "description": "Number of heap bytes waiting to be used", + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 8, + "x": 16, + "y": 81 + }, + "hiddenSeries": false, + "id": 123219, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.5.4", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "go_memstats_heap_idle_bytes{app_kubernetes_io_name=\"$app_name\", app_kubernetes_io_instance=~\"$instance\", namespace=\"$namespace\"}", + "interval": "", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "queryType": "randomWalk", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Go Heap idle", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": null, + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], "refresh": false, @@ -4040,6 +4138,7 @@ { "allValue": null, "current": { + "isNone": true, "selected": false, "text": "None", "value": "" @@ -4071,13 +4170,10 @@ { "allValue": null, "current": { + "isNone": true, "selected": false, - "text": [ - "None" - ], - "value": [ - "" - ] + "text": "None", + "value": "" }, "datasource": "$datasource", "definition": "label_values(go_info{namespace=\"$namespace\", app_kubernetes_io_instance=~\"$instance\",app_kubernetes_io_name=\"$app_name\"} , pod)", @@ -4106,13 +4202,10 @@ { "allValue": null, "current": { + "isNone": true, "selected": false, - "text": [ - "None" - ], - "value": [ - "" - ] + "text": "None", + "value": "" }, "datasource": "${datasource}", "definition": "label_values(go_info{namespace=\"$namespace\", app_kubernetes_io_instance=~\"$instance\",app_kubernetes_io_name=\"$app_name\"} , app_kubernetes_io_component)", @@ -4141,7 +4234,7 @@ ] }, "time": { - "from": "now-1h", + "from": "now-15m", "to": "now" }, "timepicker": { @@ -4174,5 +4267,5 @@ "timezone": "browser", "title": "Milvus2.0", "uid": "uLf5cJ3Gz", - "version": 208 + "version": 210 } \ No newline at end of file -- GitLab