Skip to content

Commit

Permalink
Update doc: Add topology configuration in UI-Grafana doc (apache#11322)
Browse files Browse the repository at this point in the history
  • Loading branch information
wankai123 authored Sep 13, 2023
1 parent 1b90dc7 commit 337a546
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/changes/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#### Documentation

* Separate storage docs to different files, and add an estimated timeline for BanyanDB(end of 2023).
* Add topology configuration in UI-Grafana doc.


All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/193?closed=1)
18 changes: 18 additions & 0 deletions docs/en/setup/backend/ui-grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ Grafana UI is an extension on our support of PromQL APIs. We don't maintain or p
In the data source config panel, chose the `Prometheus` and set the url to the OAP server address, the default port is `9090`.
<img src="https://skywalking.apache.org/screenshots/9.6.0/promql/grafana-datasource.jpg"/>

### SkyWalking Data Source
Before you start, please install the [SkyWalking data source plugin](https://github.com/apache/skywalking-grafana-plugins).
In the data source config panel, chose the `SkyWalking` and set the url to the OAP server `graphql` service address, the default port is `12800`.
<img src="https://skywalking.apache.org/screenshots/9.7.0/promql/grafana-skywalking-datasource.jpg"/>

### Loki Data Source
In the data source config panel, chose the `Loki` and set the url to the OAP server address, the default port is `3100`.
<img src="https://skywalking.apache.org/screenshots/9.6.0/logql/grafana-loki-datasource.jpg"/>
Expand Down Expand Up @@ -60,6 +65,19 @@ General settings:
#### Sampled Records
Same as the Sort Metrics.

## Configure Topology Dashboards

### Dashboards Settings
For now, SkyWalking support `General Service` and `Service Mesh` topology dashboards, the layer is `GENERAL` and `MESH` respectively.
The following configuration can reuse the above `General Service` dashboard and add a new variable `Plugin_SkyWalking` for the dashboard:
<img src="https://skywalking.apache.org/screenshots/9.7.0/promql/grafana-variables-plugin-sw.jpg"/>

### Add Topology Panel
1. Chose the Node Graph chart.
2. Set `Layer` and `Service` by the variables. If you want to show all services in this layer, set `Service` empty.
3. Set `Node Metrics` and `Edge Metrics` which you want to show on the topology.
<img src="https://skywalking.apache.org/screenshots/9.7.0/promql/grafana-panels-topology.jpg"/>

## Configure Log Dashboard
### Dashboards Settings
The following steps are the example of config a log dashboard:
Expand Down

0 comments on commit 337a546

Please sign in to comment.