Skip to content

Commit b4ffd10

Browse files
authored
Merge b7b580a into a85ec54
2 parents a85ec54 + b7b580a commit b4ffd10

File tree

87 files changed

+1723
-197
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+1723
-197
lines changed

.github/ISSUE_TEMPLATE/bug-report-on-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Bug report On xxxx
33
about: Create a report to help us improve
44
title: Bug report for xxxx On xxxx
5-
labels: bug
5+
labels: Bug
66
assignees: ''
77

88
---
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Documentation report
3+
about: Report something incorrect or missing in documentation
4+
title: Documentation for XXXX
5+
labels: Documentation
6+
assignees: ''
7+
8+
---
9+
10+
(you don't have to strictly follow this form)
11+
12+
**Describe the issue**
13+
A clear and concise description of what's wrong in documentation.
14+
15+
**Additional context**
16+
Add any other context about the problem here.
17+

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Feature request
33
about: Suggest an idea for this project
44
title: Feature request for XXXX
5-
labels: enhancement
5+
labels: Enhancement
66
assignees: ''
77

88
---

.github/ISSUE_TEMPLATE/release-notes-for-version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Release notes for Version
33
about: New version released
44
title: Release notes for XXXX
5-
labels: release
5+
labels: Release
66
assignees: ''
77

88
---
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
53.3 KB
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

docs/docs/development/version/1.14.0-development.md renamed to docs/docs/development/version/1.15.0-development.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ template: overrides/main.html
33
icon: material/gesture-tap-button
44
---
55

6-
DBM Version for `1.14.0` is development!
6+
DBM Version for `1.15.0` is development!
77

88
!!! danger "Warning"
99

@@ -13,27 +13,24 @@ DBM Version for `1.14.0` is development!
1313

1414
---
1515

16-
1716
#### UI
1817

1918
---
2019

21-
2220
#### Optimize
2321

2422
----
2523

26-
2724
#### Docs
2825

2926
---
3027

31-
3228
#### Bug
3329

3430
---
3531

36-
3732
#### Contributors (In no particular order)
3833

3934
---
35+
36+
- @qianmoQ
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
---
2+
template: overrides/main.html
3+
---
4+
5+
The data source is mainly used to manage the Clickhouse service data source for later query monitoring.
6+
7+
### Create a data source
8+
9+
---
10+
11+
Move the mouse to the top menu `Management` and wait for the drop-down options to appear, click `DataSource` to enter the data source management interface, which is similar to the following page
12+
13+
![Index](../../assets/images/others/management/datasource/index.png)
14+
15+
!!! note
16+
17+
When opening the software for the first time, an `Add` blue button will be displayed in the middle of the page!
18+
19+
Click the `Add` button (blue) to add a data source. The following popup appears:
20+
21+
##### DataSource Type
22+
23+
---
24+
25+
![Select Type](../../assets/images/others/management/datasource/select_type.png)
26+
27+
In the first step, we need to select the type of data source. We click the `ClickHouse` icon to select the data source, and click `Next` to configure the parameters.
28+
29+
##### DataSource Configuration
30+
31+
---
32+
33+
![Configuration](../../assets/images/others/management/datasource/configuration.png)
34+
35+
It has two types of datasource parameters:
36+
37+
###### Basic Settings
38+
39+
- `Alias`: This field is only used to mark the alias of the current property. The default `localhost` is easy to remember and has no special meaning.
40+
- `Protocol`: Connection service protocol, default `http`
41+
- `Host`: Enter the hostname or IP address of the remote server here, the default is `localhost`
42+
- `Port`: Enter the host address of the remote server here, corresponding to the open port, the default is `8123`
43+
- `User Name`: Connection service user name, input when setting, default `default`
44+
- `Password`: Connection service user password, if set, please enter
45+
46+
###### Experimental Settings
47+
48+
!!! note "Warning"
49+
50+
This configuration may be unstable, but it will not cause software errors, only some functions will not take effect, and will continue to be converted to official functions in the future
51+
52+
- `MaxTotal`: Maximum number of data query rows
53+
54+
---
55+
56+
When we fill in the basic configuration, click the `Test` button at the bottom, and the `OK` button can be clicked after the test is passed.
57+
58+
After clicking the `OK` button, we will save the configuration information you wrote for the next time
59+
60+
Configuration information can be saved in two states
61+
62+
- `Stop`: A stopped state, meaning the service is currently unavailable, marked with a stop icon
63+
- `Start`: Available status, indicating that the service is currently available for operations such as query, and is marked with a play icon
64+
65+
!!! note
66+
67+
We do not allow saving of untested services, please make sure it is available to save again.
68+
69+
After the configuration is saved successfully, the pop-up box will be closed and the list of data just saved will be displayed on the page
70+
71+
![List](../../assets/images/others/management/datasource/list.png)
72+
73+
#### DataSource Operations
74+
75+
---
76+
77+
There are two buttons at the top of the list
78+
79+
:material-plus-circle:{.blue} for adding new data sources
80+
81+
:material-refresh: for refreshing all data sources
82+
83+
!!! warning
84+
85+
This operation will traverse all data sources to request to verify the availability of data sources
86+
87+
##### List of data sources
88+
89+
|Field| Description |
90+
|---|-----------------------------------------------|
91+
|Alias| DataSource Alias |
92+
|Name| The name of the data source build |
93+
| Host | The hostname of the data source configuration |
94+
|Protocol| access protocol used |
95+
|User Name| Username to access the service |
96+
|Version| The version of the current server |
97+
|Action| Additional Operations for Data Sources |
98+
99+
If the test fails, the following list will be displayed
100+
101+
![Service failure](../../assets/images/1.13.0/service_failure.png)
102+
103+
##### Delete DataSource
104+
105+
There is a :material-delete-circle:{.red} icon under the `Action` column of the list data of the data source, when we click it, the following content will appear
106+
107+
![Delete](../../assets/images/others/management/datasource/delete.png)
108+
109+
The data source will be deleted after clicking the `OK` button
110+
111+
Click `Cancel` to close the prompt box without doing anything
112+
113+
##### Modify DataSource
114+
115+
The modification and addition operations are basically the same, the difference is that the modification will fill the data into the corresponding input box when the pop-up box is called up.
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
---
2+
template: overrides/main.html
3+
---
4+
5+
数据源主要用于管理 Clickhouse 服务数据源,用于后期查询监控。
6+
7+
### 创建数据源
8+
9+
---
10+
11+
鼠标移向顶部菜单 `Management` 等待下拉选择项出来后, 点击 `DataSource` 即可进入数据源管理界面, 它类似于以下页面
12+
13+
![Index](../../assets/images/others/management/datasource/index.png)
14+
15+
!!! note
16+
17+
初次打开入软件时,在页面中间会展示一个 `Add` 蓝色按钮!
18+
19+
单击 `Add` 按钮(蓝色)添加数据源。出现以下弹出框:
20+
21+
##### 数据源类型
22+
23+
---
24+
25+
![Select Type](../../assets/images/others/management/datasource/select_type.png)
26+
27+
第一步我们需要选择数据源的类型, 我们点击 `ClickHouse` 图标选择该数据源,点击 `Next` 下一步进行参数配置
28+
29+
##### 数据源配置
30+
31+
---
32+
33+
![Configuration](../../assets/images/others/management/datasource/configuration.png)
34+
35+
有两种类型的数据源参数:
36+
37+
###### 基本设置
38+
39+
- `Alias`: 该字段仅用于标记当前属性的别名,默认 `localhost` 好记,无特殊含义
40+
- `Protocol`: 连接服务协议,默认 `http`
41+
- `Host`: 这里输入远程服务器的主机名或IP地址,默认 `localhost`
42+
- `Port`: 这里输入远程服务器的主机地址,对应开放的端口,默认 `8123`
43+
- `User Name`: 连接服务用户名,设置时输入,默认 `default`
44+
- `Password`: 连接服务用户密码,如果设置请输入
45+
46+
###### 实验性设置
47+
48+
!!! note "注意"
49+
50+
该配置可能不稳定,但是它不会导致软件错误,只会出现部分功能不生效,后续会持续转换为正式功能
51+
52+
- `MaxTotal`: 最大的数据查询行数
53+
54+
---
55+
56+
当我们填写基本配置完成后点击底部 `Test` 按钮, 测试通过后 `OK` 按钮即可点击.
57+
58+
点击 `OK` 按钮后, 我们将保存您编写的配置信息,以备下次使用
59+
60+
配置信息可以两种状态保存
61+
62+
- `Stop`: 停止状态,表示服务当前不可用,标有停止图标
63+
- `Start`: 可用状态, 表示该服务当前可用于查询等操作,并标有播放图标
64+
65+
!!! note
66+
67+
未测试通过的服务我们不允许保存,请确保它可用再次进行保存操作.
68+
69+
配置保存成功后会关闭弹出框并展示刚刚保存的数据列表在页面中
70+
71+
![List](../../assets/images/others/management/datasource/list.png)
72+
73+
#### 数据源操作
74+
75+
---
76+
77+
在列表的顶部拥有两个按钮
78+
79+
:material-plus-circle:{.blue} 按钮用于添加新数据源
80+
81+
:material-refresh: 按钮用于刷新所有数据源
82+
83+
!!! warning
84+
85+
该操作将会遍历所有的数据源进行请求验证数据源的可用性
86+
87+
##### 数据源列表
88+
89+
|字段| 描述 |
90+
|---|----------|
91+
|Alias| 该数据源别名 |
92+
|Name| 数据源构建的名称 |
93+
| Host | 数据源配置的主机名 |
94+
|Protocol| 使用的访问协议 |
95+
|User Name| 访问服务的用户名 |
96+
|Version|当前服务器的版本|
97+
|Action|数据源的额外操作|
98+
99+
如果测试有失败的会展示如下列表
100+
101+
![Service failure](../../assets/images/1.13.0/service_failure.png)
102+
103+
##### 删除数据源
104+
105+
在数据源的列表数据的 `Action` 列下拥有一个 :material-delete-circle:{.red} 图标, 当我们点击它后会出现如下内容
106+
107+
![Delete](../../assets/images/others/management/datasource/delete.png)
108+
109+
点击 `OK` 按钮后数据源将被删除
110+
111+
点击 `Cancel` 关闭提示框不做任何处理
112+
113+
##### 修改数据源
114+
115+
修改和添加操作基本一致,不同的是修改在调起弹出框时会将数据填充到相应的输入框内.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
template: overrides/main.html
3+
---
4+
5+
This document mainly introduces how we use the connection monitoring function provided by the software.
6+
7+
Move the mouse to the top menu `Monitor` and wait for the drop-down options to appear, click `Connection` to enter the connection monitoring interface, which is similar to the following page
8+
9+
![img.png](../../assets/images/others/monitor/connection/img.png)
10+
11+
The upper part of the page is the data chart display & function configuration area, and the lower part is the detailed data list area
12+
13+
#### Data charting & Feature Configuration
14+
15+
---
16+
17+
The drop-down selection box on the top left is used to select the configured data source. After selection, the software will initiate a request to the service to obtain information, and return a data chart similar to the following
18+
19+
![img_1.png](../../assets/images/others/monitor/connection/img_1.png)
20+
21+
The graph shows the number of various active connections
22+
23+
On the top right side there is a `Numeric` and `Selector`
24+
25+
`Numeric input` is used to mark the split time of refresh data (unit: second)
26+
27+
The `selector` is used to mark whether to automatically refresh the data. When this option is turned on, the software will refresh the data according to the `digital input` data
28+
29+
#### Details of the data
30+
31+
---
32+
33+
The drop-down selection box on the top left is used to select the configured data source. After selection, the software will initiate a request to the service to obtain information, and return results similar to the following
34+
35+
![img_2.png](../../assets/images/others/monitor/connection/img_2.png)
36+
37+
| Property | Description |
38+
|------------|----------------------------------------|
39+
| categories | Connection type (using name tag) |
40+
| value | The number of uses of the current type |
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
template: overrides/main.html
3+
---
4+
5+
本文档主要介绍我们如何使用软件提供的连接监控功能。
6+
7+
鼠标移向顶部菜单 `Monitor` 等待下拉选择项出来后, 点击 `Connection` 即可进入连接监控界面, 它类似于以下页面
8+
9+
![img.png](../../assets/images/others/monitor/connection/img.png)
10+
11+
在页面中上半部分为数据图表展示&功能配置区, 下半部分为详细数据列表区
12+
13+
#### 数据图表 & 功能配置
14+
15+
---
16+
17+
在顶部左侧下拉选择框用于选择配置好的数据源, 选择后软件会向服务发起请求获取信息, 返回类似以下数据图表
18+
19+
![img_1.png](../../assets/images/others/monitor/connection/img_1.png)
20+
21+
图表中会展示各种活跃连接的数量
22+
23+
在顶部的右侧有一个 `数字输入器``选择器`
24+
25+
`数字输入器` 用于标记刷新数据的分割时间(单位秒)
26+
27+
`选择器` 用于标记是否自动刷新数据,当开启该选项时,软件会根据 `数字输入器` 数据进行数据刷新
28+
29+
#### 数据详情
30+
31+
---
32+
33+
在顶部左侧下拉选择框用于选择配置好的数据源, 选择后软件会向服务发起请求获取信息, 返回类似以下结果
34+
35+
![img_2.png](../../assets/images/others/monitor/connection/img_2.png)
36+
37+
| 属性 | 描述 |
38+
|------------|--------------|
39+
| categories | 连接类型(使用名称标记) |
40+
| value | 当前类型的使用数量 |

0 commit comments

Comments
 (0)