This is an automated email from the ASF dual-hosted git repository. wusheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push: new ccb00ab5fd Fix the mismatch between the unit and calculation of the "Network Bandwidth Usage" widget in Windows-Service Dashboard. (#12477) ccb00ab5fd is described below commit ccb00ab5fd0afb1a50478f47968a7cc89ed375e4 Author: Chen Ziyan <clairelove.c...@gmail.com> AuthorDate: Thu Jul 25 20:37:00 2024 +0800 Fix the mismatch between the unit and calculation of the "Network Bandwidth Usage" widget in Windows-Service Dashboard. (#12477) --- docs/en/changes/changes.md | 2 ++ .../os_windows/windows-service.json | 14 +++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index 96247d3255..12559cc48b 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -45,6 +45,8 @@ * Add Error URL in the browser log. * Add a SolonMVC icon. * Adding cilium icon and i18n for menu. +* Fix the mismatch between the unit and calculation of the "Network Bandwidth Usage" widget in Windows-Service Dashboard. + #### Documentation diff --git a/oap-server/server-starter/src/main/resources/ui-initialized-templates/os_windows/windows-service.json b/oap-server/server-starter/src/main/resources/ui-initialized-templates/os_windows/windows-service.json index 042e0f8858..d9d95eead2 100644 --- a/oap-server/server-starter/src/main/resources/ui-initialized-templates/os_windows/windows-service.json +++ b/oap-server/server-starter/src/main/resources/ui-initialized-templates/os_windows/windows-service.json @@ -20,8 +20,16 @@ "showYAxis": true }, "expressions": [ - "meter_win_network_receive", - "meter_win_network_transmit" + "meter_win_network_receive/1024", + "meter_win_network_transmit/1024" + ], + "metricConfig": [ + { + "label": "receive" + }, + { + "label": "transmit" + } ] }, { @@ -49,7 +57,7 @@ "label": "read" }, { - "calculation": "written" + "label": "written" } ] },