未验证 提交 7534cc00 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

docs: fix img links (#12504)

* docs: 3rd parties doc in English

[TD-15558]

* fix link to broder

* docs: third parties doc in English

[TD-15558]

* docs: 3rd parties doc in English

translate reference doc

* fix img link

* fix img links
上级 6a7c50de
......@@ -3,7 +3,7 @@ sidebar_label: Grafana
title: Grafana
---
TDengine can be quickly integrated with the open-source data visualization system [Grafana](https://www.grafana.com/) to build a data monitoring and alerting system. The whole process does not require any code development. And you can visualize the contents of the data tables in TDengine on a DashBoard.
TDengine can be quickly integrated with the open-source data visualization system [Grafana](https://www.grafana.com/) to build a data monitoring and alerting system. The whole process does not require any code development. And you can visualize the contents of the data tables in TDengine on a DashBoard.
You can learn more about using the TDengine plugin on [GitHub](https://github.com/taosdata/grafanaplugin/blob/master/README.md).
......@@ -54,31 +54,31 @@ GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=tdengine-datasource
### Configuring Data Sources
Users can log in to the Grafana server (username/password: admin/admin) directly through the URL http://localhost:3000 and add a datasource through `Configuration -> Data Sources` on the left side, as shown in the following figure.
Users can log in to the Grafana server (username/password: admin/admin) directly through the URL `http://localhost:3000` and add a datasource through `Configuration -> Data Sources` on the left side, as shown in the following figure.
![img](/img/connections/add_datasource1.jpg)
![img](./grafana/add_datasource1.jpg)
Click `Add data source` to enter the Add data source page, and enter TDengine in the query box to add it, as shown in the following figure.
![img](/img/connections/add_datasource2.jpg)
![img](./grafana/add_datasource2.jpg)
Enter the datasource configuration page, and follow the default prompts to modify the corresponding configuration.
![img](/img/connections/add_datasource3.jpg)
![img](./grafana/add_datasource3.jpg)
- Host: IP address of the server where the components of the TDengine cluster provide REST service (offered by taosd before 2.4 and by taosAdapter since 2.4) and the port number of the TDengine REST service (6041), default http://localhost:6041.
- Host: IP address of the server where the components of the TDengine cluster provide REST service (offered by taosd before 2.4 and by taosAdapter since 2.4) and the port number of the TDengine REST service (6041), by default use `http://localhost:6041`.
- User: TDengine user name.
- Password: TDengine user password.
Click `Save & Test` to test. Follows are a success.
![img](/img/connections/add_datasource4.jpg)
![img](./grafana/add_datasource4.jpg)
### Create Dashboard
Go back to the main interface to create the Dashboard, click Add Query to enter the panel query page:
![img](/img/connections/create_dashboard1.jpg)
![img](./grafana/create_dashboard1.jpg)
As shown above, select the `TDengine` data source in the `Query` and enter the corresponding SQL in the query box below for query.
......@@ -88,7 +88,7 @@ As shown above, select the `TDengine` data source in the `Query` and enter the c
Follow the default prompt to query the average system memory usage for the specified interval on the server where the current TDengine deployment is located as follows.
![img](/img/connections/create_dashboard2.jpg)
![img](./grafana/create_dashboard2.jpg)
> For more information on how to use Grafana to create the appropriate monitoring interface and for more details on using Grafana, refer to the official Grafana [documentation](https://grafana.com/docs/).
......
......@@ -45,25 +45,25 @@ Since the configuration interface of EMQX differs from version to version, here
Use your browser to open the URL http://IP:18083 and log in to EMQX Dashboard. The initial installation username is `admin` and the password is: `public`.
! [img](. /emqx/login-dashboard.png)
![img](./emqx/login-dashboard.png)
### Creating Rules
Select "Rule" in the "Rule Engine" on the left and click the "Create" button: !
! [img](. /emqx/rule-engine.png)
![img](./emqx/rule-engine.png)
### Edit SQL fields
! [img](. /emqx/create-rule.png)
![img](./emqx/create-rule.png)
### Add "action handler"
! [img](. /emqx/add-action-handler.png)
![img](./emqx/add-action-handler.png)
### Add "Resource"
! [img](. /emqx/create-resource.png)
![img](./emqx/create-resource.png)
Select "Send Data to Web Service" and click the "New Resource" button.
......@@ -71,7 +71,7 @@ Select "Send Data to Web Service" and click the "New Resource" button.
Select "Send Data to Web Service" and fill in the request URL as the address and port of the server running taosAdapter (default is 6041). Leave the other properties at their default values.
! [img](. /emqx/edit-resource.png)
![img](./emqx/edit-resource.png)
### Edit "action"
......@@ -164,7 +164,7 @@ Edit the resource configuration to add the key/value pairing for Authorization a
Note: CLIENT_NUM in the code can be set to a smaller value at the beginning of the test to avoid hardware performance not being able to handle a more significant number of concurrent clients.
! [img](. /emqx/client-num.png)
![img](./emqx/client-num.png)
## Execute tests to simulate sending MQTT data
......@@ -173,19 +173,19 @@ npm install mqtt mockjs --save ---registry=https://registry.npm.taobao.org
node mock.js
```
! [img](. /emqx/run-mock.png)
![img](./emqx/run-mock.png)
## Verify that EMQX is receiving data
Refresh the EMQX Dashboard rules engine interface to see how many records were received correctly:
! [img](. /emqx/check-rule-matched.png)
![img](./emqx/check-rule-matched.png)
## Verify that data writing to TDengine
Use the TDengine CLI program to log in and query the appropriate databases and tables to verify that the data is being written to TDengine correctly:
! [img](. /emqx/check-result-in-taos.png)
![img](./emqx/check-result-in-taos.png)
Please refer to the [TDengine official documentation](https://docs.taosdata.com/) for more details on how to use TDengine.
EMQX Please refer to the [EMQ official documentation](https://www.emqx.io/docs/en/v4.4/rule/rule-engine.html) for details on how to use EMQX.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册