You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ho...@apache.org on 2020/10/08 06:48:06 UTC

[skywalking-cli] branch master updated: Doc: add use cases for `dashboard global` (#65)

This is an automated email from the ASF dual-hosted git repository.

hoshea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a5b99c  Doc: add use cases for `dashboard global` (#65)
3a5b99c is described below

commit 3a5b99c0294fa2a1ae031ac258c4002a1db0ae40
Author: Hoshea Jiang <fg...@gmail.com>
AuthorDate: Thu Oct 8 14:47:59 2020 +0800

    Doc: add use cases for `dashboard global` (#65)
---
 README.md | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/README.md b/README.md
index c1d0dee..62ee0da 100644
--- a/README.md
+++ b/README.md
@@ -579,6 +579,17 @@ $ ./bin/swctl --display=graph metrics thermodynamic --name all_heatmap
 
 <details>
 
+<summary>Query the data of global dashboard</summary>
+
+```shell
+$ ./bin/swctl db g
+{"metrics":[[{"name":"projectC.business-zone","id":"","value":"210","refId":null},{"name":"projectD.business-zone","id":"","value":"198","refId":null},{"name":"projectB.business-zone","id":"","value":"198","refId":null},{"name":"load balancer1.system","id":"","value":"197","refId":null},{"name":"load balancer2.system","id":"","value":"197","refId":null},{"name":"projectA.business-zone","id":"","value":"197","refId":null}],[{"name":"projectC.business-zone","id":"","value":"4576","refId":n [...]
+```
+
+</details>
+
+<details>
+
 <summary>Display the spans of a trace</summary>
 
 ```shell
@@ -599,6 +610,16 @@ $ ./bin/swctl --display graph trace ls --start='2020-08-13 1754' --end='2020-08-
 
 <details>
 
+<summary>Display the global dashboard</summary>
+
+```shell
+$ ./bin/swctl --display graph db g
+```
+
+</details>
+
+<details>
+
 <summary>Automatically convert to server side timezone</summary>
 
 if your backend nodes are deployed in docker and the timezone is UTC, you may not want to convert your timezone to UTC every time you type a command, `--timezone` comes to your rescue.