From 4e750e69fbe34a9d6e87b4db7dda955a335736db Mon Sep 17 00:00:00 2001 From: Kai Date: Wed, 6 Apr 2022 16:43:28 +0800 Subject: [PATCH] add missing unit (#8821) --- .../mesh_cp/mesh-control-plane-service.json | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/oap-server/server-starter/src/main/resources/ui-initialized-templates/mesh_cp/mesh-control-plane-service.json b/oap-server/server-starter/src/main/resources/ui-initialized-templates/mesh_cp/mesh-control-plane-service.json index 13503cc96213..04623c1f8f70 100644 --- a/oap-server/server-starter/src/main/resources/ui-initialized-templates/mesh_cp/mesh-control-plane-service.json +++ b/oap-server/server-starter/src/main/resources/ui-initialized-templates/mesh_cp/mesh-control-plane-service.json @@ -105,7 +105,7 @@ "i": "3", "type": "Widget", "widget": { - "title": "Memory" + "title": "Memory (MB)" }, "graph": { "type": "Area", @@ -138,7 +138,24 @@ "readMetricsValues", "readMetricsValues" ], - "moved": false + "moved": false, + "metricConfig": [ + { + "calculation": "byteToMB" + }, + { + "calculation": "byteToMB" + }, + { + "calculation": "byteToMB" + }, + { + "calculation": "byteToMB" + }, + { + "calculation": "byteToMB" + } + ] }, { "x": 8, @@ -336,9 +353,10 @@ "moved": false } ], - "name": "Mesh-Control-Plane-Service", "layer": "MESH_CP", "entity": "Service", + "name": "Mesh-Control-Plane-Service", + "id": "Mesh-Control-Plane-Service", "isRoot": false } }