You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2022/08/08 03:43:12 UTC
[skywalking] branch master updated: Sync ui: add a calculation to convert seconds to days (#9434)
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 fedc20991d Sync ui: add a calculation to convert seconds to days (#9434)
fedc20991d is described below
commit fedc20991d1cae2d89741dce5788e2042da639c6
Author: Fine0830 <fi...@outlook.com>
AuthorDate: Mon Aug 8 11:43:06 2022 +0800
Sync ui: add a calculation to convert seconds to days (#9434)
---
docs/en/changes/changes.md | 2 ++
docs/en/ui/README.md | 18 ++++++++++++++++++
skywalking-ui | 2 +-
3 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md
index b700c66c32..2e3e5494a7 100644
--- a/docs/en/changes/changes.md
+++ b/docs/en/changes/changes.md
@@ -67,10 +67,12 @@
* Associate the event widget with the trace and log widget.
* Add the MYSQL layer and update layer routers.
* Fix query order for trace list.
+* Add a calculation to convert seconds to days.
#### Documentation
* Fix invalid links in release docs.
* Clean up doc about event metrics.
+* Add a table for metric calculations in the ui doc.
All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/136?closed=1)
diff --git a/docs/en/ui/README.md b/docs/en/ui/README.md
index 9429d0c4cd..dc9e5ee34e 100644
--- a/docs/en/ui/README.md
+++ b/docs/en/ui/README.md
@@ -24,6 +24,24 @@ so).
**Notice, dashboard editable is disabled on release; set system env(**SW_ENABLE_UPDATE_UI_TEMPLATE=true**) to activate
them.** Before you save the edited dashboard, it is just stored in memory. Closing a tab would **LOSE** the change permanently.
+There are some calculations for metric values in the dashboard.
+
+|Label|Calculation|
+|----|----|
+|Percentage|Value / 100|
+|Apdex|Value / 10000|
+|Average|Sum of values / Count of values|
+|Percentage + Avg-preview|Sum of values / Count of values / 100|
+|Apdex + Avg-preview|Sum of values / Count of values / 10000|
+|Byte to KB|Value / 1024|
+|Byte to MB|Value / 1024 / 1024|
+|Byte to GB|Value / 1024 / 1024 / 1024|
+|Seconds to YYYY-MM-DD HH:mm:ss|dayjs(value * 1000).format("YYYY-MM-DD HH:mm:ss")|
+|Milliseconds to YYYY-MM-DD HH:mm:ss|dayjs(value).format("YYYY-MM-DD HH:mm:ss")|
+|Precision|Value.toFixed(2)|
+|Milliseconds to seconds|Value / 1000|
+|Seconds to days|Value / 86400|
+
## Settings
Settings provide language, server time zone, and auto-fresh options. These settings are stored in the browser's local storage. Unless you clear them manually, those will not change.
diff --git a/skywalking-ui b/skywalking-ui
index 732b834749..f5bcd5da2e 160000
--- a/skywalking-ui
+++ b/skywalking-ui
@@ -1 +1 @@
-Subproject commit 732b834749a1c8c21edf2d1a519ff1e46aa8e0b8
+Subproject commit f5bcd5da2e2e52b2ff2d749bfa4c4b38d327e5c5