crossoverJie commented on code in PR #2040:
URL: https://github.com/apache/hertzbeat/pull/2040#discussion_r1616573009
##########
home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/api.md:
##########
@@ -9,23 +9,23 @@ keywords: [开源监控系统, 开源网站监控, HTTP API监控]
### 配置参数
-| 参数名称 | 参数帮助描述 |
-| ----------- | ----------- |
-| 监控Host | 被监控的对端IPV4,IPV6或域名。注意⚠️不带协议头(eg: https://, http://)。 |
-| 任务名称 | 标识此监控的名称,名称需要保证唯一性。 |
-| 端口 | 网站对外提供的端口,http一般默认为80,https一般默认为443。 |
-| 相对路径 | 网站地址除IP端口外的后缀路径,例如 `www.tancloud.cn/console` 网站的相对路径为 `/console`。
|
-| 请求方式 | 设置接口调用的请求方式:GET,POST,PUT,DELETE。 |
-| 启用HTTPS | 是否通过HTTPS访问网站,注意⚠️开启HTTPS一般默认对应端口需要改为443 |
-| 用户名 | 接口Basic认证或Digest认证时使用的用户名 |
-| 密码 | 接口Basic认证或Digest认证时使用的密码 |
-| 请求Headers | HTTP 请求头 |
-| 查询Params | HTTP查询参数,支持[时间表达式](time_expression) |
-| Content-Type | 设置携带BODY请求体数据请求时的资源类型 |
-| 请求BODY | 设置携带BODY请求体数据,PUT POST请求方式时有效 |
-| 采集间隔 | 监控周期性采集数据间隔时间,单位秒,可设置的最小间隔为30秒 |
-| 是否探测 | 新增监控前是否先探测检查监控可用性,探测成功才会继续新增修改操作 |
-| 描述备注 | 更多标识和描述此监控的备注信息,用户可以在这里备注信息 |
+| 参数名称 | 参数帮助描述
|
Review Comment:
Similar to above.
It is also recommended to check other tables.
##########
home/docs/help/api.md:
##########
@@ -9,23 +9,23 @@ keywords: [open source monitoring tool, monitoring http api]
### Configuration parameter
-| Parameter name | Parameter help description |
-| ----------- | ----------- |
-| Monitoring Host | Monitored IPV4, IPV6 or domain name. Note⚠️Without
protocol header (eg: https://, http://) |
-| Monitoring name | Identify the name of this monitoring. The name needs
to be unique |
-| Port | Ports provided by website, http generally defaults to 80 and
https generally defaults to 443 |
-| Relative path | Suffix path of website address except IP port. For
example, the relative path of `www.tancloud.cn/console` website is `/console` |
-| Request mode | Set the request mode of interface call:GET, POST, PUT,
DELETE |
-| Enable HTTPS | Whether to access the website through HTTPS. Note⚠️When
HTTPS is enabled, the default corresponding port needs to be changed to 443 |
-| Username | User name used for interface Basic authentication or Digest
authentication |
-| Password | Password used for interface Basic authentication or Digest
authentication |
-| Headers | HTTP request headers
|
-| Params | HTTP query params, support [time
expression](time_expression) |
-| Content-Type | Set the resource type when carrying the BODY request body
data request |
-| Request BODY | Set the carry BODY request body data, which is valid when
PUT or POST request method is used |
-| Collection interval | Interval time of monitor periodic data collection,
unit: second, and the minimum interval that can be set is 30 seconds |
+| Parameter name | Parameter help description
|
+| -----------
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
Review Comment:
Please adjust the format of the table, you can use intellij ide to reformat
the table.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]