This is an automated email from the ASF dual-hosted git repository.
shenghang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
The following commit(s) were added to refs/heads/master by this push:
new b7969e78c [improve]: enable md040 rules (#2607)
b7969e78c is described below
commit b7969e78c97a5d8b5b55a5c9a723f66a1f37a54a
Author: shown <[email protected]>
AuthorDate: Mon Aug 26 13:10:13 2024 +0800
[improve]: enable md040 rules (#2607)
Signed-off-by: yuluo-yx <[email protected]>
Co-authored-by: Jast <[email protected]>
---
.markdownlint-cli2.jsonc | 2 +-
home/blog/2022-06-19-hertzbeat-v1.1.0.md | 4 ++--
home/blog/2022-06-22-one-step-up.md | 4 ++--
home/blog/2022-10-08-hertzbeat-v1.2.0.md | 20 ++++++++------------
home/blog/2023-01-05-monitor-iotdb.md | 2 +-
home/blog/2023-01-08-monitor-shenyu.md | 2 +-
home/blog/2023-02-02-monitor-dynamic-tp.md | 2 +-
home/blog/2023-02-11-monitor-mysql.md | 2 +-
home/blog/2023-02-15-monitor-linux.md | 2 +-
home/blog/2023-03-15-hertzbeat-v1.3.0.md | 4 ++--
home/blog/2023-03-22-monitor-springboot2.md | 2 +-
home/blog/2023-05-09-hertzbeat-v1.3.1.md | 2 +-
home/blog/2023-07-05-hertzbeat-v1.3.2.md | 2 +-
home/blog/2023-08-14-hertzbeat-v1.4.0.md | 2 +-
home/blog/2023-09-26-hertzbeat-v1.4.1.md | 2 +-
home/blog/2023-11-12-hertzbeat-v1.4.2.md | 2 +-
home/blog/2023-12-11-hertzbeat-v1.4.3.md | 2 +-
home/blog/2024-01-18-hertzbeat-v1.4.4.md | 2 +-
home/blog/2024-06-11-hertzbeat-v1.6.0-update.md | 6 +++---
home/docs/advanced/extend-http-example-hertzbeat.md | 4 ++--
home/docs/advanced/extend-ssh.md | 2 +-
home/docs/advanced/extend-tutorial.md | 4 ++--
home/docs/community/code-style-and-quality-guide.md | 4 ----
home/docs/community/how-to-release.md | 18 +++++++++---------
home/docs/help/iotdb.md | 2 +-
home/docs/help/nacos.md | 2 +-
home/docs/help/redis_cluster.md | 4 ++--
home/docs/help/time_expression.md | 2 +-
home/docs/start/docker-compose-deploy.md | 8 ++++----
home/docs/start/greptime-init.md | 2 --
home/docs/start/influxdb-init.md | 2 --
home/docs/start/mysql-change.md | 4 ++--
home/docs/start/package-deploy.md | 8 ++++----
home/docs/start/quickstart.md | 2 +-
home/docs/start/tdengine-init.md | 10 ++++------
home/docs/start/update-1.6.0.md | 6 +++---
home/docs/start/victoria-metrics-init.md | 4 +---
.../2022-06-19-hertzbeat-v1.1.0.md | 4 ++--
.../2022-06-22-one-step-up.md | 4 ++--
.../2022-10-08-hertzbeat-v1.2.0.md | 8 ++++----
.../2023-01-05-monitor-iotdb.md | 4 ++--
.../2023-01-08-monitor-shenyu.md | 2 +-
.../2023-02-02-monitor-dynamic-tp.md | 2 +-
.../2023-02-11-monitor-mysql.md | 2 +-
.../2023-02-15-monitor-linux.md | 2 +-
.../2023-03-15-hertzbeat-v1.3.0.md | 4 ++--
.../2023-03-22-monitor-springboot2.md | 2 +-
.../2023-05-09-hertzbeat-v1.3.1.md | 2 +-
.../advanced/extend-http-example-hertzbeat.md | 4 ++--
.../current/advanced/extend-ssh.md | 2 +-
.../current/advanced/extend-tutorial.md | 4 ++--
.../community/code-style-and-quality-guide.md | 4 ----
.../current/community/how-to-release.md | 18 +++++++++---------
.../current/community/new_committer_process.md | 6 +++---
.../current/help/iotdb.md | 2 +-
.../current/help/kubernetes.md | 2 +-
.../current/help/nacos.md | 2 +-
.../current/help/redis_cluster.md | 4 ++--
.../current/help/time_expression.md | 2 +-
.../current/start/custom-config.md | 2 +-
.../current/start/docker-compose-deploy.md | 8 ++++----
.../current/start/greptime-init.md | 2 --
.../current/start/influxdb-init.md | 2 --
.../current/start/iotdb-init.md | 2 +-
.../current/start/mysql-change.md | 4 ++--
.../current/start/package-deploy.md | 1 -
.../current/start/tdengine-init.md | 6 ++----
.../current/start/victoria-metrics-init.md | 4 +---
.../advanced/extend-http-example-hertzbeat.md | 4 ++--
.../version-v1.5.x/advanced/extend-ssh.md | 2 +-
.../version-v1.5.x/advanced/extend-tutorial.md | 4 ++--
.../community/code-style-and-quality-guide.md | 4 ----
.../version-v1.5.x/community/how-to-release.md | 18 +++++++++---------
.../version-v1.5.x/help/time_expression.md | 2 +-
.../version-v1.5.x/start/custom-config.md | 2 +-
.../version-v1.5.x/start/greptime-init.md | 2 --
.../version-v1.5.x/start/influxdb-init.md | 2 --
.../version-v1.5.x/start/mysql-change.md | 4 ++--
.../version-v1.5.x/start/package-deploy.md | 5 ++---
.../version-v1.5.x/start/postgresql-change.md | 6 +++---
.../version-v1.5.x/start/tdengine-init.md | 12 +++++-------
.../version-v1.5.x/start/victoria-metrics-init.md | 2 --
.../advanced/extend-http-example-hertzbeat.md | 4 ++--
.../version-v1.5.x/advanced/extend-ssh.md | 2 +-
.../version-v1.5.x/advanced/extend-tutorial.md | 4 ++--
.../community/code-style-and-quality-guide.md | 4 ----
.../version-v1.5.x/community/how-to-release.md | 18 +++++++++---------
.../version-v1.5.x/help/time_expression.md | 2 +-
.../version-v1.5.x/start/docker-deploy.md | 2 +-
.../version-v1.5.x/start/iotdb-init.md | 2 +-
.../version-v1.5.x/start/mysql-change.md | 4 ++--
.../version-v1.5.x/start/postgresql-change.md | 6 +++---
.../version-v1.5.x/start/tdengine-init.md | 8 ++++----
.../version-v1.5.x/start/victoria-metrics-init.md | 2 --
package.json | 5 +++++
95 files changed, 180 insertions(+), 223 deletions(-)
diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc
index 844b297a9..626362c51 100644
--- a/.markdownlint-cli2.jsonc
+++ b/.markdownlint-cli2.jsonc
@@ -32,7 +32,7 @@
"MD029": true,
"MD033": false,
"MD036": false,
- "MD040": false,
+ "MD040": true,
"MD045": false,
"MD046": false,
"MD047": true
diff --git a/home/blog/2022-06-19-hertzbeat-v1.1.0.md
b/home/blog/2022-06-19-hertzbeat-v1.1.0.md
index 3e0c69bf8..be1b6d3a7 100644
--- a/home/blog/2022-06-19-hertzbeat-v1.1.0.md
+++ b/home/blog/2022-06-19-hertzbeat-v1.1.0.md
@@ -42,7 +42,7 @@ Windows Monitor coming:
⚠️ ⚠️⚠️⚠️Please note that upgrading to v1.1.0 from other versions requires
running the following SQL script. Now, our table names have a unified prefix
"hzb_prefix".
-```
+```properties
ALTER TABLE alert RENAME TO hzb_alert;
ALTER TABLE alert_define RENAME TO hzb_alert_define;
ALTER TABLE alert_define_monitor_bind RENAME TO hzb_alert_define_monitor_bind;
@@ -96,7 +96,7 @@ Windows Monitor coming:
⚠️ ⚠️⚠️⚠️Attention other version upgrade to v1.1.0 need run sql script. Now
the tables name has hzb_ prefix.
-```
+```properties
ALTER TABLE alert RENAME TO hzb_alert;
ALTER TABLE alert_define RENAME TO hzb_alert_define;
ALTER TABLE alert_define_monitor_bind RENAME TO hzb_alert_define_monitor_bind;
diff --git a/home/blog/2022-06-22-one-step-up.md
b/home/blog/2022-06-22-one-step-up.md
index 84e5381f2..ce93f9a89 100644
--- a/home/blog/2022-06-22-one-step-up.md
+++ b/home/blog/2022-06-22-one-step-up.md
@@ -42,7 +42,7 @@ Windows Monitor is coming:
⚠️ ⚠️⚠️⚠️Please note that upgrading to v1.1.0 from other versions requires
running the following SQL script. Now, our table names have a unified prefix
hzb_prefix.
-```
+```properties
ALTER TABLE alert RENAME TO hzb_alert;
ALTER TABLE alert_define RENAME TO hzb_alert_define;
ALTER TABLE alert_define_monitor_bind RENAME TO hzb_alert_define_monitor_bind;
@@ -96,7 +96,7 @@ Windows Monitor coming:
⚠️ ⚠️⚠️⚠️Attention other version upgrade to v1.1.0 need run sql script. Now
the tables name has hzb_ prefix.
-```
+```properties
ALTER TABLE alert RENAME TO hzb_alert;
ALTER TABLE alert_define RENAME TO hzb_alert_define;
ALTER TABLE alert_define_monitor_bind RENAME TO hzb_alert_define_monitor_bind;
diff --git a/home/blog/2022-10-08-hertzbeat-v1.2.0.md
b/home/blog/2022-10-08-hertzbeat-v1.2.0.md
index dad19834f..598e304fe 100644
--- a/home/blog/2022-10-08-hertzbeat-v1.2.0.md
+++ b/home/blog/2022-10-08-hertzbeat-v1.2.0.md
@@ -59,7 +59,7 @@ Have Fun!
Need Convert `application.yml`.
-```
+```yaml
spring.
resources: static-locations.
static-locations.
@@ -68,16 +68,12 @@ spring.
```
To
-``
-spring.
-web.
-resources: static-locations.
-static-locations.
-
-- classpath:/dist/
-- classpath:... /dist/
-```
-
-----
+```yaml
+spring.
+ web.
+ resources: static-locations.
+ static-locations.
+ - classpath:/dist/
+ - classpath:... /dist/
```
diff --git a/home/blog/2023-01-05-monitor-iotdb.md
b/home/blog/2023-01-05-monitor-iotdb.md
index 6ab4d25f1..b6e6fa841 100644
--- a/home/blog/2023-01-05-monitor-iotdb.md
+++ b/home/blog/2023-01-05-monitor-iotdb.md
@@ -109,7 +109,7 @@ tags: [opensource, practice]
### Finished, now wait for the warning message to come. ding ding ding ding
-```
+```text
[HertzBeat warning notification]
Alarm target object: iotdb.cluster_node_status.status
Affiliated monitoring ID: 205540620349696
diff --git a/home/blog/2023-01-08-monitor-shenyu.md
b/home/blog/2023-01-08-monitor-shenyu.md
index c271fa9a2..cc01f2b55 100644
--- a/home/blog/2023-01-08-monitor-shenyu.md
+++ b/home/blog/2023-01-08-monitor-shenyu.md
@@ -141,7 +141,7 @@ Of course, just looking at it is not perfect, monitoring is
often accompanied by
### Over and out, now wait for the alert message to come through. Ding, ding,
ding, ding
-```
+```text
[HertzBeat Alert Notification]
Alert target object : shenyu.process_open_fds.value
Task ID : 205540620349696
diff --git a/home/blog/2023-02-02-monitor-dynamic-tp.md
b/home/blog/2023-02-02-monitor-dynamic-tp.md
index 9cc7d45a3..c9e526547 100644
--- a/home/blog/2023-02-02-monitor-dynamic-tp.md
+++ b/home/blog/2023-02-02-monitor-dynamic-tp.md
@@ -153,7 +153,7 @@ Of course, just watching is not perfect, monitoring is
often accompanied by alar
### Over and out, now wait for the alert message to come through. Ding, ding,
ding, ding
-```
+```text
[HertzBeat alert notification]
Alert target object : dynamic_tp.thread_pool_running.run_timeout_count
Task ID : 205540620349493
diff --git a/home/blog/2023-02-11-monitor-mysql.md
b/home/blog/2023-02-11-monitor-mysql.md
index 485855fa8..4afbe9aeb 100644
--- a/home/blog/2023-02-11-monitor-mysql.md
+++ b/home/blog/2023-02-11-monitor-mysql.md
@@ -103,7 +103,7 @@ Of course, just looking at it is definitely not perfect.
Monitoring is often acc
### Finished, now wait for the warning message to come. ding ding ding ding
-```
+```text
[HertzBeat warning notification]
Alarm target object: mysql.cahce.query_cache_hit_rate
Affiliated monitoring ID: 205540620394932
diff --git a/home/blog/2023-02-15-monitor-linux.md
b/home/blog/2023-02-15-monitor-linux.md
index 9128c72f4..99b52cd10 100644
--- a/home/blog/2023-02-15-monitor-linux.md
+++ b/home/blog/2023-02-15-monitor-linux.md
@@ -104,7 +104,7 @@ Of course, just looking at it is definitely not perfect.
Monitoring is often acc
### Finished, now wait for the warning message to come. ding ding ding ding
-```
+```text
[HertzBeat warning notification]
Alarm target object: linux.cpu.usage
Affiliated monitoring ID: 483783444839382
diff --git a/home/blog/2023-03-15-hertzbeat-v1.3.0.md
b/home/blog/2023-03-15-hertzbeat-v1.3.0.md
index 170c2fa15..b15a9501b 100644
--- a/home/blog/2023-03-15-hertzbeat-v1.3.0.md
+++ b/home/blog/2023-03-15-hertzbeat-v1.3.0.md
@@ -62,7 +62,7 @@ For users who previously used iotdb or tdengine to store
metrics data, you need
Modify `application.yml` and set `warehouse.store.jpa.enabled` parameter to
false
-```
+```yaml
warehouse:
store:
jpa:
@@ -71,7 +71,7 @@ warehouse:
Execute SQL script
-```
+```text
ALTER table hzb_monitor modify job_id bigint default null;
COMMIT;
```
diff --git a/home/blog/2023-03-22-monitor-springboot2.md
b/home/blog/2023-03-22-monitor-springboot2.md
index 2772d3584..8f8279691 100644
--- a/home/blog/2023-03-22-monitor-springboot2.md
+++ b/home/blog/2023-03-22-monitor-springboot2.md
@@ -157,7 +157,7 @@ Of course, it is impossible to manually check the metrics
in real time. Monitori
### Finished, now wait for the warning message to come. ding ding ding ding
-```
+```text
[HertzBeat warning notification]
Alarm target object: springboot2.threads.size
Affiliated monitoring ID: 483783444839322
diff --git a/home/blog/2023-05-09-hertzbeat-v1.3.1.md
b/home/blog/2023-05-09-hertzbeat-v1.3.1.md
index e2b4e50c1..85cd5b5b7 100644
--- a/home/blog/2023-05-09-hertzbeat-v1.3.1.md
+++ b/home/blog/2023-05-09-hertzbeat-v1.3.1.md
@@ -49,7 +49,7 @@ If use tdengine before, please upgrade tdengine to 3.0+
Please Run SQL Script When Upgrade.
-```
+```text
ALTER table hzb_alert_define modify field varchar(255) default null;
COMMIT;
```
diff --git a/home/blog/2023-07-05-hertzbeat-v1.3.2.md
b/home/blog/2023-07-05-hertzbeat-v1.3.2.md
index c676c9602..b8f331082 100644
--- a/home/blog/2023-07-05-hertzbeat-v1.3.2.md
+++ b/home/blog/2023-07-05-hertzbeat-v1.3.2.md
@@ -72,7 +72,7 @@ ALTER TABLE HZB_PARAM DROP CONSTRAINT CONSTRAINT_82;;
How to Enable H2 WEB Console:
Modify `application.yml` and restart, access `ip:1157/h2-console`
-```
+```yaml
spring:
h2:
console:
diff --git a/home/blog/2023-08-14-hertzbeat-v1.4.0.md
b/home/blog/2023-08-14-hertzbeat-v1.4.0.md
index b769ec923..4ca5d9c12 100644
--- a/home/blog/2023-08-14-hertzbeat-v1.4.0.md
+++ b/home/blog/2023-08-14-hertzbeat-v1.4.0.md
@@ -85,7 +85,7 @@ As for open source commercialization, the premise of open
source commercializati
3. Deploy collector clusters
- ```
+ ```shell
docker run -d -e IDENTITY=custom-collector-name -e MANAGER_IP=127.0.0.1 -e
MANAGER_PORT=1158 --name hertzbeat-collector apache/hertzbeat-collector
```
diff --git a/home/blog/2023-09-26-hertzbeat-v1.4.1.md
b/home/blog/2023-09-26-hertzbeat-v1.4.1.md
index e04b55bc7..275a0b61c 100644
--- a/home/blog/2023-09-26-hertzbeat-v1.4.1.md
+++ b/home/blog/2023-09-26-hertzbeat-v1.4.1.md
@@ -68,7 +68,7 @@ keywords: [open source monitoring system, alerting system,
Linux monitoring]
3. Deploy collector clusters
- ```
+ ```shell
docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1
-e MANAGER_PORT=1158 --name hertzbeat-collector apache/hertzbeat-collector
```
diff --git a/home/blog/2023-11-12-hertzbeat-v1.4.2.md
b/home/blog/2023-11-12-hertzbeat-v1.4.2.md
index d59e5076d..51634bba6 100644
--- a/home/blog/2023-11-12-hertzbeat-v1.4.2.md
+++ b/home/blog/2023-11-12-hertzbeat-v1.4.2.md
@@ -50,7 +50,7 @@ keywords: [open source monitoring system, alerting system,
Linux monitoring]
3. Deploy collector clusters
- ```
+ ```shell
docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1
-e MANAGER_PORT=1158 --name hertzbeat-collector apache/hertzbeat-collector
```
diff --git a/home/blog/2023-12-11-hertzbeat-v1.4.3.md
b/home/blog/2023-12-11-hertzbeat-v1.4.3.md
index 966946b4f..ff0d1e5d3 100644
--- a/home/blog/2023-12-11-hertzbeat-v1.4.3.md
+++ b/home/blog/2023-12-11-hertzbeat-v1.4.3.md
@@ -56,7 +56,7 @@ Compatible with the Prometheus ecosystem, now we can monitor
what Prometheus can
3. Deploy collector clusters
- ```
+ ```shell
docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1
-e MANAGER_PORT=1158 --name hertzbeat-collector apache/hertzbeat-collector
```
diff --git a/home/blog/2024-01-18-hertzbeat-v1.4.4.md
b/home/blog/2024-01-18-hertzbeat-v1.4.4.md
index 420d9e145..255e30729 100644
--- a/home/blog/2024-01-18-hertzbeat-v1.4.4.md
+++ b/home/blog/2024-01-18-hertzbeat-v1.4.4.md
@@ -57,7 +57,7 @@ keywords: [open source monitoring system, alerting system]
3. Deploy collector clusters
- ```
+ ```shell
docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1
-e MANAGER_PORT=1158 --name hertzbeat-collector apache/hertzbeat-collector
```
diff --git a/home/blog/2024-06-11-hertzbeat-v1.6.0-update.md
b/home/blog/2024-06-11-hertzbeat-v1.6.0-update.md
index 47dfe69fb..7ae352ff7 100644
--- a/home/blog/2024-06-11-hertzbeat-v1.6.0-update.md
+++ b/home/blog/2024-06-11-hertzbeat-v1.6.0-update.md
@@ -106,7 +106,7 @@ Next, run the start-up script as before to experience the
latest HertzBeat 1.6.0
- Stop the HertzBeat container:
- ```
+ ```shell
docker stop hertzbeat
```
@@ -123,7 +123,7 @@ Next, run HertzBeat using Docker as before to experience
the latest HertzBeat 1.
- Stop the HertzBeat container:
- ```
+ ```shell
docker stop hertzbeat
```
@@ -132,7 +132,7 @@ Next, run HertzBeat using Docker as before to experience
the latest HertzBeat 1.
- Download the H2 driver jar from
[https://mvnrepository.com/artifact/com.h2database/h2/2.2.220](https://mvnrepository.com/artifact/com.h2database/h2/2.2.220).
- Start the database locally using the H2 driver jar:
- ```
+ ```shell
java -jar h2-2.2.220.jar -url jdbc:h2:file:./hertzbeat -user sa -password
123456
```
diff --git a/home/docs/advanced/extend-http-example-hertzbeat.md
b/home/docs/advanced/extend-http-example-hertzbeat.md
index 5dabc1078..2d154d81b 100644
--- a/home/docs/advanced/extend-http-example-hertzbeat.md
+++ b/home/docs/advanced/extend-http-example-hertzbeat.md
@@ -12,7 +12,7 @@ Before reading this tutorial, we hope that you are familiar
with how to customiz
> In many scenarios, we need to monitor the provided HTTP API interface and
> obtain the index value returned by the interface. In this article, we use
> the http custom protocol to parse our common http interface response
> structure, and obtain the fields in the returned body as metric data.
-```
+```json
{
"code": 200,
"msg": "success",
@@ -24,7 +24,7 @@ Before reading this tutorial, we hope that you are familiar
with how to customiz
As above, usually our background API interface will design such a general
return. The same is true for the background of the hertzbeat system. Today, we
will use the hertzbeat API as an example, add a new monitoring type
**hertzbeat**, and monitor and collect its system summary statistics API
`http://localhost:1157/api/summary`, the response data is:
-```
+```json
{
"msg": null,
"code": 0,
diff --git a/home/docs/advanced/extend-ssh.md b/home/docs/advanced/extend-ssh.md
index 3a5486c39..62f9453a2 100644
--- a/home/docs/advanced/extend-ssh.md
+++ b/home/docs/advanced/extend-ssh.md
@@ -29,7 +29,7 @@ Then the query script of the two Metrics in hertzbeat is(Use
`;` Connect them to
`hostname; uptime | awk -F "," '{print $1}'`
The data responded by the terminal is:
-```
+```shell
tombook
14:00:15 up 72 days
```
diff --git a/home/docs/advanced/extend-tutorial.md
b/home/docs/advanced/extend-tutorial.md
index 8db349d96..23d460d09 100644
--- a/home/docs/advanced/extend-tutorial.md
+++ b/home/docs/advanced/extend-tutorial.md
@@ -12,7 +12,7 @@ Before reading this tutorial, we hope that you are familiar
with how to customiz
> In many scenarios, we need to monitor the provided HTTP API interface and
> obtain the index value returned by the interface. In this article, we use
> the http custom protocol to parse our common http interface response
> structure, and obtain the fields in the returned body as metric data.
-```
+```json
{
"code": 200,
"msg": "success",
@@ -24,7 +24,7 @@ Before reading this tutorial, we hope that you are familiar
with how to customiz
As above, usually our background API interface will design such a general
return. The same is true for the background of the hertzbeat system. Today, we
will use the hertzbeat API as an example, add a new monitoring type
**hertzbeat**, and monitor and collect its system summary statistics API
`http://localhost:1157/api/summary`, the response data is:
-```
+```json
{
"msg": null,
"code": 0,
diff --git a/home/docs/community/code-style-and-quality-guide.md
b/home/docs/community/code-style-and-quality-guide.md
index 7e65b0c0a..e0ec5231c 100644
--- a/home/docs/community/code-style-and-quality-guide.md
+++ b/home/docs/community/code-style-and-quality-guide.md
@@ -647,7 +647,3 @@ public void process(String input) {
- <https://rules.sonarsource.com/java/>
- <https://junit.org/junit5/>
- <https://streampark.apache.org/>
-
-```
-
-```
diff --git a/home/docs/community/how-to-release.md
b/home/docs/community/how-to-release.md
index 46ab8a2bc..6a3eeb54c 100644
--- a/home/docs/community/how-to-release.md
+++ b/home/docs/community/how-to-release.md
@@ -250,7 +250,7 @@ for i in *.tar.gz; do echo $i; sha512sum $i > $i.sha512 ;
done
> The final file list is as follows
-```
+```text
apache-hertzbeat-1.6.0-incubating-src.tar.gz
apache-hertzbeat-1.6.0-incubating-src.tar.gz.asc
apache-hertzbeat-1.6.0-incubating-src.tar.gz.sha512
@@ -347,7 +347,7 @@ Send a voting email in the community requires at least
three `+1` and no `-1`.
> `Title`: [VOTE] Release Apache HertzBeat (incubating) 1.6.0 rc1 <br />
> `Body`:
-```
+```text
Hello HertzBeat Community:
This is a call for vote to release Apache HertzBeat (incubating) version
release-1.6.0-RC1.
@@ -403,7 +403,7 @@ After 72 hours, the voting results will be counted, and the
voting result email
> `Title`: [RESULT][VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br
> />
> `Body`:
-```
+```text
Dear HertzBeat community,
Thanks for your review and vote for "Release Apache HertzBeat (incubating)
1.6.0-rc1"
@@ -439,7 +439,7 @@ Send a voting email in the incubator community requires at
least three `+1` and
> `Title`: [VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br />
> `Body`:
-```
+```text
Hello Incubator Community:
This is a call for a vote to release Apache HertzBeat (incubating) version
1.6.0-RC1.
@@ -492,7 +492,7 @@ If there is no -1 after 72 hours, reply to the email as
follows
> `Send to`: <[email protected]> <br />
> `Body`:
-```
+```text
Thanks everyone for review and vote, 72H passed. I'll announce the vote result
soon.
Best,
@@ -505,7 +505,7 @@ Then the voting results will be counted, and the voting
result email will be sen
> `Title`: [RESULT][VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br
> />
> `Body`:
-```
+```text
Hi Incubator Community,
The vote to release Apache HertzBeat (incubating) 1.6.0-rc4 has passed with 3
+1 binding and no +0 or -1 votes.
@@ -560,13 +560,13 @@ Then enter Release Title and Describe
- Release Title:
-```
+```text
v1.6.0
```
- Describe:
-```
+```text
xxx
release note: xxx
```
@@ -582,7 +582,7 @@ The rename the release-1.6.0-rc1 branch to release-1.6.0.
> `Title`: [ANNOUNCE] Apache HertzBeat (incubating) 1.6.0 released <br />
> `Body`:
-```
+```text
Hi Community,
We are glad to announce the release of Apache HertzBeat (incubating) 1.6.0.
diff --git a/home/docs/help/iotdb.md b/home/docs/help/iotdb.md
index c87f4fba7..5399caa3c 100644
--- a/home/docs/help/iotdb.md
+++ b/home/docs/help/iotdb.md
@@ -17,7 +17,7 @@ The main steps are as follows:
1. The metric collection is disabled by default, you need to modify the
parameters in `conf/iotdb-metric.yml` first, then restart the server
- ```
+ ```yaml
# Whether to start the monitoring module, the default is false
enableMetric: true
diff --git a/home/docs/help/nacos.md b/home/docs/help/nacos.md
index 3eeafc9ac..eb4cb0b5e 100644
--- a/home/docs/help/nacos.md
+++ b/home/docs/help/nacos.md
@@ -14,7 +14,7 @@ keywords: [open source monitoring tool, open source
middleware monitoring tool,
1. Deploy the Nacos cluster according to [deployment
document](https://nacos.io/en-us/docs/deployment.html).
2. Configure the application. properties file to expose metrics data.
- ```
+ ```properties
management.endpoints.web.exposure.include=*
```
diff --git a/home/docs/help/redis_cluster.md b/home/docs/help/redis_cluster.md
index b10d3ff68..a805c2f97 100644
--- a/home/docs/help/redis_cluster.md
+++ b/home/docs/help/redis_cluster.md
@@ -11,7 +11,7 @@ keywords: [ open source monitoring tool, open source Redis
Cluster monitoring to
*redis.config*
- ```
+ ```shell
port 6379
cluster-enabled yes
cluster-config-file nodes.conf
@@ -93,7 +93,7 @@ keywords: [ open source monitoring tool, open source Redis
Cluster monitoring to
docker network inspect hertzbeat-redis-cluste
```
- ```
+ ```json
"Containers": {
"187b879f73c473b3cbb82ff95f668e65af46115ddaa27f3ff1a712332b981531": {
...
diff --git a/home/docs/help/time_expression.md
b/home/docs/help/time_expression.md
index 2f0711c4c..07eea14a8 100644
--- a/home/docs/help/time_expression.md
+++ b/home/docs/help/time_expression.md
@@ -11,7 +11,7 @@ HertzBeat supports using expressions to calculate relative
time during monitorin
### Syntax
-```
+```shell
${FORMATTER [{ + | - }<DURATION> <TIME_UNIT>]}
```
diff --git a/home/docs/start/docker-compose-deploy.md
b/home/docs/start/docker-compose-deploy.md
index 9caefdbf6..fb16819c6 100644
--- a/home/docs/start/docker-compose-deploy.md
+++ b/home/docs/start/docker-compose-deploy.md
@@ -28,13 +28,13 @@ Run the `docker compose version` command to check if you
have a Docker Compose e
- Unzip the script package
- ```
+ ```shell
tar zxvf apache-hertzbeat-1.6.0-incubating-docker-compose.tar.gz
```
- Enter the decompression directory and select `HertzBeat + PostgreSQL +
VictoriaMetrics` for one-click deployment
- ```
+ ```shell
cd apache-hertzbeat-1.6.0-incubating-docker-compose
cd hertzbeat-postgresql-victoria-metrics
```
@@ -43,7 +43,7 @@ Run the `docker compose version` command to check if you have
a Docker Compose e
> Run script in `hertzbeat-postgresql-victoria-metrics` directory
- ```
+ ```shell
docker-compose up -d
```
@@ -51,7 +51,7 @@ Run the `docker compose version` command to check if you have
a Docker Compose e
> View the running status of each container, up is the normal running
status
- ```
+ ```shell
docker-compose ps
```
diff --git a/home/docs/start/greptime-init.md b/home/docs/start/greptime-init.md
index 57b4e9504..a04823dfc 100644
--- a/home/docs/start/greptime-init.md
+++ b/home/docs/start/greptime-init.md
@@ -16,8 +16,6 @@ It's designed to work on infrastructure of the cloud era, and
users benefit from
### Install GreptimeDB via Docker
-> Refer to the official website [installation
tutorial](https://docs.greptime.com/getting-started/overview)
-
1. Download and install Docker environment
Docker tools download refer to [Docker official
document](https://docs.docker.com/get-docker/).
After the installation you can check if the Docker version normally output at
the terminal.
diff --git a/home/docs/start/influxdb-init.md b/home/docs/start/influxdb-init.md
index 8f11e9c4c..19a45147c 100644
--- a/home/docs/start/influxdb-init.md
+++ b/home/docs/start/influxdb-init.md
@@ -22,8 +22,6 @@ Note⚠️ Need InfluxDB 1.x Version.
### 2. Install TDengine via Docker
-> Refer to the official website [installation
tutorial](https://hub.docker.com/_/influxdb)
-
1. Download and install Docker environment
Docker tools download refer to [Docker official
document](https://docs.docker.com/get-docker/).
After the installation you can check if the Docker version normally output at
the terminal.
diff --git a/home/docs/start/mysql-change.md b/home/docs/start/mysql-change.md
index 70c6fab5b..1d1a6aabd 100644
--- a/home/docs/start/mysql-change.md
+++ b/home/docs/start/mysql-change.md
@@ -14,14 +14,14 @@ MYSQL is a reliable relational database. In addition to
default built-in H2 data
For Docker installation, please refer to the [Docker official
documentation](https://docs.docker.com/get-docker/).
After the installation, please verify in the terminal that the Docker
version can be printed normally.
- ```
+ ```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```
2. Install MYSQl with Docker
- ```
+ ```shell
$ docker run -d --name mysql \
-p 3306:3306 \
-v /opt/data:/var/lib/mysql \
diff --git a/home/docs/start/package-deploy.md
b/home/docs/start/package-deploy.md
index 56a7313ed..fdd2e7a6a 100644
--- a/home/docs/start/package-deploy.md
+++ b/home/docs/start/package-deploy.md
@@ -20,7 +20,7 @@ Deployment via package relies on Java runtime environment,
ensure you have Java1
Unzip the installation package to the host eg: /opt/hertzbeat
- ```
+ ```shell
tar zxvf apache-hertzbeat-xxx-incubating-bin.tar.gz
```
@@ -44,7 +44,7 @@ Deployment via package relies on Java runtime environment,
ensure you have Java1
Execute the startup script in the installation directory `bin/`, or
`startup.bat` in windows.
- ```
+ ```shell
./startup.sh
```
@@ -70,7 +70,7 @@ Deploying multiple HertzBeat Collectors can achieve high
availability, load bala
Unzip the installation package to the host eg: /opt/hertzbeat-collector
- ```
+ ```shell
tar zxvf apache-hertzbeat-collector-xxx-incubating-bin.tar.gz
```
@@ -116,7 +116,7 @@ Deploying multiple HertzBeat Collectors can achieve high
availability, load bala
download JAVA installation package: [mirror
website](https://repo.huaweicloud.com/java/jdk/)
After installation use command line to check whether you install it
successfully.
- ```
+ ```shell
$ java -version
java version "17.0.9"
Java(TM) SE Runtime Environment 17.0.9 (build 17.0.9+8-LTS-237)
diff --git a/home/docs/start/quickstart.md b/home/docs/start/quickstart.md
index 830fc8f9d..be0336f1a 100644
--- a/home/docs/start/quickstart.md
+++ b/home/docs/start/quickstart.md
@@ -22,7 +22,7 @@ sidebar_label: Quick Start
3. Deploy collector clusters(Optional)
- ```
+ ```shell
docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1
-e MANAGER_PORT=1158 --name hertzbeat-collector apache/hertzbeat-collector
```
diff --git a/home/docs/start/tdengine-init.md b/home/docs/start/tdengine-init.md
index 82f269cb0..25a1b7793 100644
--- a/home/docs/start/tdengine-init.md
+++ b/home/docs/start/tdengine-init.md
@@ -18,8 +18,6 @@ Note⚠️ Need TDengine 3.x Version.
### Install TDengine via Docker
-> Refer to the official website [installation
tutorial](https://docs.taosdata.com/get-started/docker/)
-
1. Download and install Docker environment
Docker tools download refer to [Docker official
document](https://docs.docker.com/get-docker/).
After the installation you can check if the Docker version normally output at
the terminal.
@@ -46,14 +44,14 @@ After the installation you can check if the Docker version
normally output at th
1. Enter database Docker container
- ```
+ ```shell
docker exec -it tdengine /bin/bash
```
2. Create database named hertzbeat
After entering the container,execute `taos` command as follows:
- ```
+ ```shell
root@tdengine-server:~/TDengine-server# taos
Welcome to the TDengine shell from Linux, Client Version
Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.
@@ -62,7 +60,7 @@ After the installation you can check if the Docker version
normally output at th
execute commands to create database
- ```
+ ```shell
taos> show databases;
taos> CREATE DATABASE hertzbeat KEEP 90 DURATION 10 BUFFER 16;
```
@@ -72,7 +70,7 @@ After the installation you can check if the Docker version
normally output at th
3. Check if hertzbeat database has been created success
- ```
+ ```shell
taos> show databases;
taos> use hertzbeat;
```
diff --git a/home/docs/start/update-1.6.0.md b/home/docs/start/update-1.6.0.md
index 2a5b2581e..512a43d2d 100644
--- a/home/docs/start/update-1.6.0.md
+++ b/home/docs/start/update-1.6.0.md
@@ -112,7 +112,7 @@ Next, run the start-up script as before to experience the
latest HertzBeat 1.6.0
- Stop the HertzBeat container:
- ```
+ ```shell
docker stop hertzbeat
```
@@ -129,7 +129,7 @@ Next, run HertzBeat using Docker as before to experience
the latest HertzBeat 1.
- Stop the HertzBeat container:
- ```
+ ```shell
docker stop hertzbeat
```
@@ -138,7 +138,7 @@ Next, run HertzBeat using Docker as before to experience
the latest HertzBeat 1.
- Download the H2 driver jar from
[https://mvnrepository.com/artifact/com.h2database/h2/2.2.220](https://mvnrepository.com/artifact/com.h2database/h2/2.2.220).
- Start the database locally using the H2 driver jar:
- ```
+ ```shell
java -jar h2-2.2.220.jar -url jdbc:h2:file:./hertzbeat -user sa -password
123456
```
diff --git a/home/docs/start/victoria-metrics-init.md
b/home/docs/start/victoria-metrics-init.md
index b89b26a8f..45490fa80 100644
--- a/home/docs/start/victoria-metrics-init.md
+++ b/home/docs/start/victoria-metrics-init.md
@@ -17,13 +17,11 @@ VictoriaMetrics is a fast, cost-effective and scalable
monitoring solution and t
### Install VictoriaMetrics via Docker
-> Refer to the official website [installation
tutorial](https://docs.victoriametrics.com/Quick-Start.html#how-to-install)
-
1. Download and install Docker environment
Docker tools download refer to [Docker official
document](https://docs.docker.com/get-docker/).
After the installation you can check if the Docker version normally output at
the terminal.
- ```
+ ```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-06-19-hertzbeat-v1.1.0.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-06-19-hertzbeat-v1.1.0.md
index c5f4f874f..4601c791c 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-06-19-hertzbeat-v1.1.0.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-06-19-hertzbeat-v1.1.0.md
@@ -42,7 +42,7 @@ Windows Monitor coming:
⚠️ ⚠️⚠️⚠️请注意其它版本升级到v1.1.0需要先执行下面的SQL脚本. 现在我们的表名称有个统一前缀 hzb_ prefix.
-```
+```properties
ALTER TABLE alert RENAME TO hzb_alert;
ALTER TABLE alert_define RENAME TO hzb_alert_define;
ALTER TABLE alert_define_monitor_bind RENAME TO hzb_alert_define_monitor_bind;
@@ -96,7 +96,7 @@ Windows Monitor coming:
⚠️ ⚠️⚠️⚠️Attention other version upgrade to v1.1.0 need run sql script. Now
the tables name has hzb_ prefix.
-```
+```properties
ALTER TABLE alert RENAME TO hzb_alert;
ALTER TABLE alert_define RENAME TO hzb_alert_define;
ALTER TABLE alert_define_monitor_bind RENAME TO hzb_alert_define_monitor_bind;
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-06-22-one-step-up.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-06-22-one-step-up.md
index c5f4f874f..4601c791c 100644
--- a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-06-22-one-step-up.md
+++ b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-06-22-one-step-up.md
@@ -42,7 +42,7 @@ Windows Monitor coming:
⚠️ ⚠️⚠️⚠️请注意其它版本升级到v1.1.0需要先执行下面的SQL脚本. 现在我们的表名称有个统一前缀 hzb_ prefix.
-```
+```properties
ALTER TABLE alert RENAME TO hzb_alert;
ALTER TABLE alert_define RENAME TO hzb_alert_define;
ALTER TABLE alert_define_monitor_bind RENAME TO hzb_alert_define_monitor_bind;
@@ -96,7 +96,7 @@ Windows Monitor coming:
⚠️ ⚠️⚠️⚠️Attention other version upgrade to v1.1.0 need run sql script. Now
the tables name has hzb_ prefix.
-```
+```properties
ALTER TABLE alert RENAME TO hzb_alert;
ALTER TABLE alert_define RENAME TO hzb_alert_define;
ALTER TABLE alert_define_monitor_bind RENAME TO hzb_alert_define_monitor_bind;
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-10-08-hertzbeat-v1.2.0.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-10-08-hertzbeat-v1.2.0.md
index bcb685779..f66f3ee92 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-10-08-hertzbeat-v1.2.0.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2022-10-08-hertzbeat-v1.2.0.md
@@ -59,7 +59,7 @@ Have Fun!
Need Convert `application.yml`
-```
+```yaml
spring:
resources:
static-locations:
@@ -69,7 +69,7 @@ spring:
To
-```
+```yaml
spring:
web:
resources:
@@ -133,7 +133,7 @@ Have Fun!
需要将配置文件内容 `application.yml`
-```
+```yaml
spring:
resources:
static-locations:
@@ -143,7 +143,7 @@ spring:
变更为
-```
+```yaml
spring:
web:
resources:
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-01-05-monitor-iotdb.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-01-05-monitor-iotdb.md
index 519b35f12..7aa20f2db 100644
--- a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-01-05-monitor-iotdb.md
+++ b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-01-05-monitor-iotdb.md
@@ -32,7 +32,7 @@ keywords: [开源监控系统, 开源数据库监控, IotDB数据库监控]
1. metric 采集默认是关闭的,需要先到 `conf/iotdb-metric.yml` 中修改参数打开后重启 server
- ```
+ ```yaml
# 是否启动监控模块,默认为false
enableMetric: true
@@ -110,7 +110,7 @@ keywords: [开源监控系统, 开源数据库监控, IotDB数据库监控]
### 完毕,现在坐等告警消息过来了。叮叮叮叮
-```
+```text
[HertzBeat告警通知]
告警目标对象 : iotdb.cluster_node_status.status
所属监控任务ID : 205540620349696
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-01-08-monitor-shenyu.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-01-08-monitor-shenyu.md
index 74e87d119..b643540e9 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-01-08-monitor-shenyu.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-01-08-monitor-shenyu.md
@@ -141,7 +141,7 @@ tags: [opensource, practice]
### 完毕,现在坐等告警消息过来啦。叮叮叮叮
-```
+```text
[HertzBeat告警通知]
告警目标对象 : shenyu.process_open_fds.value
所属监控任务ID : 205540620349696
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-02-monitor-dynamic-tp.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-02-monitor-dynamic-tp.md
index 6fcb608a7..539424907 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-02-monitor-dynamic-tp.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-02-monitor-dynamic-tp.md
@@ -153,7 +153,7 @@ tags: [opensource, practice]
### 完毕,现在坐等告警消息过来啦。叮叮叮叮
-```
+```text
[HertzBeat告警通知]
告警目标对象 : dynamic_tp.thread_pool_running.run_timeout_count
所属监控任务ID : 205540620349493
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-11-monitor-mysql.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-11-monitor-mysql.md
index 4ec31b392..68d41d4be 100644
--- a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-11-monitor-mysql.md
+++ b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-11-monitor-mysql.md
@@ -103,7 +103,7 @@ keywords: [开源监控系统, 开源数据库监控, Mysql数据库监控]
### 完毕,现在坐等告警消息过来啦。叮叮叮叮
-```
+```text
[HertzBeat告警通知]
告警目标对象 : mysql.cahce.query_cache_hit_rate
所属监控任务ID : 205540620394932
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-15-monitor-linux.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-15-monitor-linux.md
index 2734281bb..6286fdaea 100644
--- a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-15-monitor-linux.md
+++ b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-02-15-monitor-linux.md
@@ -164,7 +164,7 @@ Github: <https://github.com/apache/hertzbeat>
### 完毕,现在坐等告警消息过来啦。叮叮叮叮
-```
+```text
[HertzBeat告警通知]
告警目标对象 : linux.cpu.usage
所属监控任务ID : 483783444839382
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-03-15-hertzbeat-v1.3.0.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-03-15-hertzbeat-v1.3.0.md
index 5d622de36..f53461152 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-03-15-hertzbeat-v1.3.0.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-03-15-hertzbeat-v1.3.0.md
@@ -117,7 +117,7 @@ Bugfix.
修改 `application.yml` 并设置 `warehouse.store.jpa.enabled` 参数为 false
-```
+```yaml
warehouse:
store:
jpa:
@@ -126,7 +126,7 @@ warehouse:
执行SQL脚本
-```
+```shell
ALTER table hzb_monitor modify job_id bigint default null;
COMMIT;
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-03-22-monitor-springboot2.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-03-22-monitor-springboot2.md
index 413e9a7d0..4dcc3a21c 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-03-22-monitor-springboot2.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-03-22-monitor-springboot2.md
@@ -153,7 +153,7 @@ Github: <https://github.com/apache/hertzbeat>
### 完毕,现在坐等告警消息过来啦。叮叮叮叮
-```
+```text
[HertzBeat告警通知]
告警目标对象 : springboot2.threads.size
所属监控任务ID : 483783444839322
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-05-09-hertzbeat-v1.3.1.md
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-05-09-hertzbeat-v1.3.1.md
index b58b533d3..a1961b33a 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-05-09-hertzbeat-v1.3.1.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-blog/2023-05-09-hertzbeat-v1.3.1.md
@@ -44,7 +44,7 @@ keywords: [open source monitoring system, alerting system,
Linux monitoring]
需要执行SQL升级脚本
-```
+```shell
ALTER table hzb_alert_define modify field varchar(255) default null;
COMMIT;
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-http-example-hertzbeat.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-http-example-hertzbeat.md
index 9e576543a..82a80523f 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-http-example-hertzbeat.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-http-example-hertzbeat.md
@@ -12,7 +12,7 @@ sidebar_label: 教程一:适配一款HTTP协议监控
> 很多场景我们需要对提供的 HTTP API
> 接口进行监控,获取接口返回的指标值。这篇文章我们通过http自定义协议来解析我们常见的http接口响应结构,获取返回体中的字段作为指标数据。
-```
+```json
{
"code": 200,
"msg": "success",
@@ -24,7 +24,7 @@ sidebar_label: 教程一:适配一款HTTP协议监控
如上,通常我们的后台API接口会设计这这样一个通用返回。hertzbeat系统的后台也是如此,我们今天就用hertzbeat的 API
做样例,新增适配一款新的监控类型 **hertzbeat**,监控采集它的系统摘要统计API
`http://localhost:1157/api/summary`, 其响应数据为:
-```
+```json
{
"msg": null,
"code": 0,
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-ssh.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-ssh.md
index 451e2b3a5..9ae2ba22c 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-ssh.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-ssh.md
@@ -29,7 +29,7 @@ SHELL脚本查询回来的数据字段和我们需要的指标映射,就能获
`hostname; uptime | awk -F "," '{print $1}'`
终端响应的数据为:
-```
+```shell
tombook
14:00:15 up 72 days
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-tutorial.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-tutorial.md
index 221ee168b..8635126fd 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-tutorial.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/advanced/extend-tutorial.md
@@ -12,7 +12,7 @@ sidebar_label: 教程案例
> 很多场景我们需要对提供的 HTTP API
> 接口进行监控,获取接口返回的指标值。这篇文章我们通过http自定义协议来解析我们常见的http接口响应结构,获取返回体中的字段作为指标数据。
-```
+```json
{
"code": 200,
"msg": "success",
@@ -24,7 +24,7 @@ sidebar_label: 教程案例
如上,通常我们的后台API接口会设计这这样一个通用返回。hertzbeat系统的后台也是如此,我们今天就用hertzbeat的 API
做样例,新增适配一款新的监控类型 **hertzbeat**,监控采集它的系统摘要统计API
`http://localhost:1157/api/summary`, 其响应数据为:
-```
+```json
{
"msg": null,
"code": 0,
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/code-style-and-quality-guide.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/code-style-and-quality-guide.md
index eb1d4e1bd..ca23f3db7 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/code-style-and-quality-guide.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/code-style-and-quality-guide.md
@@ -648,7 +648,3 @@ public void process(String input) {
- <https://rules.sonarsource.com/java/>
- <https://junit.org/junit5/>
- <https://streampark.apache.org/>
-
-```
-
-```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/how-to-release.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/how-to-release.md
index 5402bc696..a7ee981cd 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/how-to-release.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/how-to-release.md
@@ -252,7 +252,7 @@ for i in *.tar.gz; do echo $i; sha512sum $i > $i.sha512 ;
done
> 最终文件列表如下
-```
+```text
apache-hertzbeat-1.6.0-incubating-src.tar.gz
apache-hertzbeat-1.6.0-incubating-src.tar.gz.asc
apache-hertzbeat-1.6.0-incubating-src.tar.gz.sha512
@@ -347,7 +347,7 @@ svn commit -m "release for HertzBeat 1.6.0-RC1"
> `Title`: [VOTE] Release Apache HertzBeat (incubating) 1.6.0 rc1 <br />
> `Body`:
-```
+```text
Hello HertzBeat Community:
This is a call for vote to release Apache HertzBeat (incubating) version
release-1.6.0-RC1.
@@ -403,7 +403,7 @@ Thanks!
> `Title`: [RESULT][VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br
> />
> `Body`:
-```
+```text
Dear HertzBeat community,
Thanks for your review and vote for "Release Apache HertzBeat (incubating)
1.6.0-rc1"
@@ -439,7 +439,7 @@ ChunJin Mu
> `Title`: [VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br />
> `Body`:
-```
+```text
Hello Incubator Community:
This is a call for a vote to release Apache HertzBeat (incubating) version
1.6.0-RC1.
@@ -492,7 +492,7 @@ ChunJin Mu
> `Send to`: <[email protected]> <br />
> `Body`:
-```
+```text
Thanks everyone for review and vote, 72H passed. I'll announce the vote result
soon.
Best,
@@ -505,7 +505,7 @@ Chunjin Mu
> `Title`: [RESULT][VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br
> />
> `Body`:
-```
+```text
Hi Incubator Community,
The vote to release Apache HertzBeat (incubating) 1.6.0-rc4 has passed with 3
+1 binding and no +0 or -1 votes.
@@ -560,13 +560,13 @@ svn mv
https://dist.apache.org/repos/dist/dev/incubator/hertzbeat/1.6.0-RC1 http
- 发版标题:
-```
+```text
v1.6.0
```
- 描述:
-```
+```text
xxx
release note: xxx
```
@@ -582,7 +582,7 @@ release note: xxx
> `Title`: [ANNOUNCE] Apache HertzBeat (incubating) 1.6.0 released <br />
> `Body`:
-```
+```text
Hi Community,
We are glad to announce the release of Apache HertzBeat (incubating) 1.6.0.
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/new_committer_process.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/new_committer_process.md
index f931dc556..f3cb4afad 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/new_committer_process.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/community/new_committer_process.md
@@ -287,7 +287,7 @@ Best Wishes!
当通过PMC内部投票后,PMC会向您索要个人邮箱,之后您会收到一封邮件,邮件会指引您进行下一步操作,内容为:
-```
+```text
Hello xxxx,
The HertzBeat Project Management Committee (PPMC)
@@ -336,7 +336,7 @@ establishing you as a committer.
如果您接受邀请,请回复该邮件,记住要**回复全部**,回复内容为:
-```
+```text
hi, i accept. Thanks for invitaion.
```
@@ -406,7 +406,7 @@ hi, i accept. Thanks for invitaion.
正文:
- ```
+ ```text
Hello Apache,
I am willing contribute to the ASF. The attachment is my ICLA
information. My Github account is : https://github.com/xxxx.
Thanks !
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/iotdb.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/iotdb.md
index e266fa96f..88a20e4ab 100644
--- a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/iotdb.md
+++ b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/iotdb.md
@@ -17,7 +17,7 @@ keywords: [开源监控系统, 开源数据库监控, IoTDB数据库监控]
1. metric 采集默认是关闭的,需要先到 `conf/iotdb-metric.yml` 中修改参数打开后重启 server
- ```
+ ```text
# 是否启动监控模块,默认为false
enableMetric: true
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/kubernetes.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/kubernetes.md
index 162262ab8..58ed7e3fc 100644
--- a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/kubernetes.md
+++ b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/kubernetes.md
@@ -29,7 +29,7 @@ keywords: [开源监控系统, 开源Kubernetes监控]
### 方式二
-```
+```shell
kubectl create serviceaccount cluster-admin
kubectl create clusterrolebinding cluster-admin-manual
--clusterrole=cluster-admin --serviceaccount=default:cluster-admin
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/nacos.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/nacos.md
index 0b3cf7045..f95da705d 100644
--- a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/nacos.md
+++ b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/nacos.md
@@ -14,7 +14,7 @@ keywords: [开源监控系统, 中间件监控, Nacos分布式监控]
1. 按照[部署文档](https://nacos.io/zh-cn/docs/deployment.html)搭建好Nacos集群。
2. 配置application.properties文件,暴露metrics数据。
- ```
+ ```properties
management.endpoints.web.exposure.include=*
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/redis_cluster.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/redis_cluster.md
index e5aed34ba..c34681ba9 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/redis_cluster.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/redis_cluster.md
@@ -11,7 +11,7 @@ keywords: [开源监控系统, 开源数据库监控, RedisCluster数据库监
*redis.config*
- ```
+ ```properties
port 6379
cluster-enabled yes
cluster-config-file nodes.conf
@@ -93,7 +93,7 @@ keywords: [开源监控系统, 开源数据库监控, RedisCluster数据库监
docker network inspect hertzbeat-redis-cluste
```
- ```
+ ```json
"Containers": {
"187b879f73c473b3cbb82ff95f668e65af46115ddaa27f3ff1a712332b981531": {
...
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/time_expression.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/time_expression.md
index 1a6b02b45..4c3bd7b3e 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/time_expression.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/time_expression.md
@@ -11,7 +11,7 @@ HertzBeat支持使用表达式计算监控采集时的相对时间,支持更
### 语法
-```
+```shell
${FORMATTER [{ + | - }<DURATION> <TIME_UNIT>]}
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/custom-config.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/custom-config.md
index 6c30086e1..4e70646d1 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/custom-config.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/custom-config.md
@@ -36,7 +36,7 @@ sidebar_label: 常见参数配置
1.2 腾讯云短信创建正文模板(template-id)
- ```
+ ```text
监控:{1},告警级别:{2}。内容:{3}
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/docker-compose-deploy.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/docker-compose-deploy.md
index ff2f22d3a..e1c911875 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/docker-compose-deploy.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/docker-compose-deploy.md
@@ -28,13 +28,13 @@ sidebar_label: Docker Compose方式安装
- 解压脚本包
- ```
+ ```shell
tar zxvf apache-hertzbeat-1.6.0-incubating-docker-compose.tar.gz
```
- 进入解压目录, 选择 `HertzBeat + PostgreSQL + VictoriaMetrics` 一键部署
- ```
+ ```shell
cd apache-hertzbeat-1.6.0-incubating-docker-compose
cd hertzbeat-postgresql-victoria-metrics
```
@@ -43,7 +43,7 @@ sidebar_label: Docker Compose方式安装
> 在 `hertzbeat-postgresql-victoria-metrics` 目录下执行以下命令
- ```
+ ```shell
docker-compose up -d
```
@@ -51,7 +51,7 @@ sidebar_label: Docker Compose方式安装
> 查看各个容器的运行状态,up 为正常运行状态
- ```
+ ```shell
docker-compose ps
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/greptime-init.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/greptime-init.md
index 1f24f70f3..7c40e2a82 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/greptime-init.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/greptime-init.md
@@ -15,8 +15,6 @@ It's designed to work on infrastructure of the cloud era, and
users benefit from
### 通过Docker方式安装GreptimeDB
-> 可参考官方网站[安装教程](https://docs.greptime.com/getting-started/overview)
-
1. 下载安装Docker环境
Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后终端查看Docker版本是否正常输出。
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/influxdb-init.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/influxdb-init.md
index 1c97c2ccf..12dc86fd6 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/influxdb-init.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/influxdb-init.md
@@ -23,8 +23,6 @@ InfluxDB是一个由InfluxData开发的开源时序型数据库,专注于海
### 2. 通过Docker方式安装InfluxDB
-> 可参考官方网站[安装教程](https://hub.docker.com/_/influxdb)
-
1. 下载安装Docker环境
Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后终端查看Docker版本是否正常输出。
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/iotdb-init.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/iotdb-init.md
index f2ce6087d..af9e6531d 100644
--- a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/iotdb-init.md
+++ b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/iotdb-init.md
@@ -24,7 +24,7 @@ Apache IoTDB是一体化收集、存储、管理与分析物联网时序数据
Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后终端查看Docker版本是否正常输出。
- ```
+ ```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/mysql-change.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/mysql-change.md
index e05bfde2a..1fcdad7e8 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/mysql-change.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/mysql-change.md
@@ -16,14 +16,14 @@ MYSQL是一款值得信赖的关系型数据库,Apache HertzBeat (incubating)
Docker 的安装请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后请于终端检查Docker版本输出是否正常。
- ```
+ ```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```
2. Docker安装MYSQl
- ```
+ ```shell
$ docker run -d --name mysql \
-p 3306:3306 \
-v /opt/data:/var/lib/mysql \
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/package-deploy.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/package-deploy.md
index bd758bc15..fd7d1e55f 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/package-deploy.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/package-deploy.md
@@ -124,7 +124,6 @@ HertzBeat Collector 是一个轻量级的数据采集器,用于采集并将数
java version "17.0.9"
Java(TM) SE Runtime Environment 17.0.9 (build 17.0.9+8-LTS-237)
Java HotSpot(TM) 64-Bit Server VM 17.0.9 (build 17.0.9+8-LTS-237, mixed
mode)
-
```
2. 按照流程部署,访问 <http://ip:1157/> 无界面
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/tdengine-init.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/tdengine-init.md
index ee447e1be..c8c84be28 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/tdengine-init.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/tdengine-init.md
@@ -17,8 +17,6 @@ TDengine是一款开源物联网时序型数据库,我们用其存储采集到
### 通过Docker方式安装TDengine
-> 可参考官方网站[安装教程](https://docs.taosdata.com/get-started/docker/)
-
1. 下载安装Docker环境
Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后终端查看Docker版本是否正常输出。
@@ -56,7 +54,7 @@ Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.c
> 建议您修改密码。TDengine默认的账户密码是 root/taosdata
> 进入容器后,执行 `taos` 命令进入TDengine CLI , 如下:
- ```
+ ```shell
root@tdengine-server:~/TDengine-server# taos
Welcome to the TDengine shell from Linux, Client Version
Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.
@@ -85,7 +83,7 @@ Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.c
5. 退出TDengine CLI
- ```
+ ```text
输入 q 或 quit 或 exit 回车
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/victoria-metrics-init.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/victoria-metrics-init.md
index 24cb43f7b..ffd99ca6d 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/victoria-metrics-init.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/victoria-metrics-init.md
@@ -15,9 +15,7 @@ VictoriaMetrics,是一个快速高效、经济并且可扩展的监控解决
> 如果您已有VictoriaMetrics环境,可直接跳到YML配置那一步。
-### 通过Docker方式安装VictoriaMetrics
-
->
可参考官方网站[安装教程](https://docs.victoriametrics.com/Quick-Start.html#how-to-install)
+### 通过Docker方式安装VictoriaMetrics
1. 下载安装Docker环境
Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-http-example-hertzbeat.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-http-example-hertzbeat.md
index 56e9b125e..c2574f030 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-http-example-hertzbeat.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-http-example-hertzbeat.md
@@ -12,7 +12,7 @@ sidebar_label: 教程一:适配一款HTTP协议监控
> 很多场景我们需要对提供的 HTTP API
> 接口进行监控,获取接口返回的指标值。这篇文章我们通过http自定义协议来解析我们常见的http接口响应结构,获取返回体中的字段作为指标数据。
-```
+```json
{
"code": 200,
"msg": "success",
@@ -24,7 +24,7 @@ sidebar_label: 教程一:适配一款HTTP协议监控
如上,通常我们的后台API接口会设计这这样一个通用返回。hertzbeat系统的后台也是如此,我们今天就用hertzbeat的 API
做样例,新增适配一款新的监控类型 **hertzbeat**,监控采集它的系统摘要统计API
`http://localhost:1157/api/summary`, 其响应数据为:
-```
+```json
{
"msg": null,
"code": 0,
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-ssh.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-ssh.md
index 451e2b3a5..9ae2ba22c 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-ssh.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-ssh.md
@@ -29,7 +29,7 @@ SHELL脚本查询回来的数据字段和我们需要的指标映射,就能获
`hostname; uptime | awk -F "," '{print $1}'`
终端响应的数据为:
-```
+```shell
tombook
14:00:15 up 72 days
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-tutorial.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-tutorial.md
index a2b602f78..80dc3f360 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-tutorial.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/advanced/extend-tutorial.md
@@ -12,7 +12,7 @@ sidebar_label: 教程案例
> 很多场景我们需要对提供的 HTTP API
> 接口进行监控,获取接口返回的指标值。这篇文章我们通过http自定义协议来解析我们常见的http接口响应结构,获取返回体中的字段作为指标数据。
-```
+```json
{
"code": 200,
"msg": "success",
@@ -24,7 +24,7 @@ sidebar_label: 教程案例
如上,通常我们的后台API接口会设计这这样一个通用返回。hertzbeat系统的后台也是如此,我们今天就用hertzbeat的 API
做样例,新增适配一款新的监控类型 **hertzbeat**,监控采集它的系统摘要统计API
`http://localhost:1157/api/summary`, 其响应数据为:
-```
+```json
{
"msg": null,
"code": 0,
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/community/code-style-and-quality-guide.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/community/code-style-and-quality-guide.md
index d3e6a1aa7..dea85bc8a 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/community/code-style-and-quality-guide.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/community/code-style-and-quality-guide.md
@@ -585,7 +585,3 @@ public void process(String input) {
- <https://rules.sonarsource.com/java/>
- <https://junit.org/junit5/>
- <https://streampark.apache.org/>
-
-```
-
-```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/community/how-to-release.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/community/how-to-release.md
index 5402bc696..419d0ad34 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/community/how-to-release.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/community/how-to-release.md
@@ -252,7 +252,7 @@ for i in *.tar.gz; do echo $i; sha512sum $i > $i.sha512 ;
done
> 最终文件列表如下
-```
+```properties
apache-hertzbeat-1.6.0-incubating-src.tar.gz
apache-hertzbeat-1.6.0-incubating-src.tar.gz.asc
apache-hertzbeat-1.6.0-incubating-src.tar.gz.sha512
@@ -347,7 +347,7 @@ svn commit -m "release for HertzBeat 1.6.0-RC1"
> `Title`: [VOTE] Release Apache HertzBeat (incubating) 1.6.0 rc1 <br />
> `Body`:
-```
+```text
Hello HertzBeat Community:
This is a call for vote to release Apache HertzBeat (incubating) version
release-1.6.0-RC1.
@@ -403,7 +403,7 @@ Thanks!
> `Title`: [RESULT][VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br
> />
> `Body`:
-```
+```text
Dear HertzBeat community,
Thanks for your review and vote for "Release Apache HertzBeat (incubating)
1.6.0-rc1"
@@ -439,7 +439,7 @@ ChunJin Mu
> `Title`: [VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br />
> `Body`:
-```
+```text
Hello Incubator Community:
This is a call for a vote to release Apache HertzBeat (incubating) version
1.6.0-RC1.
@@ -492,7 +492,7 @@ ChunJin Mu
> `Send to`: <[email protected]> <br />
> `Body`:
-```
+```text
Thanks everyone for review and vote, 72H passed. I'll announce the vote result
soon.
Best,
@@ -505,7 +505,7 @@ Chunjin Mu
> `Title`: [RESULT][VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br
> />
> `Body`:
-```
+```text
Hi Incubator Community,
The vote to release Apache HertzBeat (incubating) 1.6.0-rc4 has passed with 3
+1 binding and no +0 or -1 votes.
@@ -560,13 +560,13 @@ svn mv
https://dist.apache.org/repos/dist/dev/incubator/hertzbeat/1.6.0-RC1 http
- 发版标题:
-```
+```text
v1.6.0
```
- 描述:
-```
+```text
xxx
release note: xxx
```
@@ -582,7 +582,7 @@ release note: xxx
> `Title`: [ANNOUNCE] Apache HertzBeat (incubating) 1.6.0 released <br />
> `Body`:
-```
+```text
Hi Community,
We are glad to announce the release of Apache HertzBeat (incubating) 1.6.0.
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/help/time_expression.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/help/time_expression.md
index 1a6b02b45..4c3bd7b3e 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/help/time_expression.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/help/time_expression.md
@@ -11,7 +11,7 @@ HertzBeat支持使用表达式计算监控采集时的相对时间,支持更
### 语法
-```
+```shell
${FORMATTER [{ + | - }<DURATION> <TIME_UNIT>]}
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/custom-config.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/custom-config.md
index 6c30086e1..4e70646d1 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/custom-config.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/custom-config.md
@@ -36,7 +36,7 @@ sidebar_label: 常见参数配置
1.2 腾讯云短信创建正文模板(template-id)
- ```
+ ```text
监控:{1},告警级别:{2}。内容:{3}
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/greptime-init.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/greptime-init.md
index d8a86a88a..ae0368407 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/greptime-init.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/greptime-init.md
@@ -15,8 +15,6 @@ It's designed to work on infrastructure of the cloud era, and
users benefit from
### 通过Docker方式安装GreptimeDB
-> 可参考官方网站[安装教程](https://docs.greptime.com/getting-started/overview)
->
1. 下载安装Docker环境
Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后终端查看Docker版本是否正常输出。
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/influxdb-init.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/influxdb-init.md
index bbba8a1df..bd4390fc3 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/influxdb-init.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/influxdb-init.md
@@ -23,8 +23,6 @@ InfluxDB是一个由InfluxData开发的开源时序型数据库,专注于海
### 2. 通过Docker方式安装InfluxDB
-> 可参考官方网站[安装教程](https://hub.docker.com/_/influxdb)
-
1. 下载安装Docker环境
Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后终端查看Docker版本是否正常输出。
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/mysql-change.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/mysql-change.md
index 874de9a03..7df3aa4b0 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/mysql-change.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/mysql-change.md
@@ -16,14 +16,14 @@ MYSQL是一款值得信赖的关系型数据库,Apache HertzBeat (incubating)
Docker 的安装请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后请于终端检查Docker版本输出是否正常。
- ```
+ ```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```
2. Docker安装MYSQl
- ```
+ ```shell
$ docker run -d --name mysql \
-p 3306:3306 \
-v /opt/data:/var/lib/mysql \
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/package-deploy.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/package-deploy.md
index 39744f8ef..344c42801 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/package-deploy.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/package-deploy.md
@@ -12,7 +12,7 @@ sidebar_label: 安装包方式部署
2. 配置HertzBeat的配置文件(可选)
解压安装包到主机 eg: /opt/hertzbeat
- ```
+ ```shell
$ tar zxvf hertzbeat-xx.tar.gz
or
$ unzip -o hertzbeat-xx.zip
@@ -33,7 +33,7 @@ sidebar_label: 安装包方式部署
4. 部署启动
执行位于安装目录hertzbeat/bin/下的启动脚本 startup.sh, windows环境下为 startup.bat
- ```
+ ```shell
./startup.sh
```
@@ -76,7 +76,6 @@ sidebar_label: 安装包方式部署
java version "17.0.9"
Java(TM) SE Runtime Environment 17.0.9 (build 17.0.9+8-LTS-237)
Java HotSpot(TM) 64-Bit Server VM 17.0.9 (build 17.0.9+8-LTS-237, mixed
mode)
-
```
2. **按照流程部署,访问 <http://ip:1157/> 无界面**
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/postgresql-change.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/postgresql-change.md
index e3a6b66a4..e3c2a933a 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/postgresql-change.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/postgresql-change.md
@@ -16,14 +16,14 @@ PostgreSQL是一个功能强大,开源的关系型数据库管理系统(RDBM
Docker tools download refer to [Docker official
document](https://docs.docker.com/get-docker/)。
After the installation you can check if the Docker version normally output
at the terminal.
- ```
+ ```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```
2. Docker安装 PostgreSQL
- ```
+ ```shell
docker run -d --name postgresql -p 5432:5432 -e POSTGRES_USER=root -e
POSTGRES_PASSWORD=123456 -e TZ=Asia/Shanghai postgresql:15
```
@@ -35,7 +35,7 @@ PostgreSQL是一个功能强大,开源的关系型数据库管理系统(RDBM
1. 进入 PostgreSQL 或使用客户端连接 PostgreSQL 服务
- ```
+ ```shell
su - postgres
psql
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/tdengine-init.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/tdengine-init.md
index 813eb94ad..4ba4c9765 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/tdengine-init.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/tdengine-init.md
@@ -17,8 +17,6 @@ TDengine是一款开源物联网时序型数据库,我们用其存储采集到
### 通过Docker方式安装TDengine
-> 可参考官方网站[安装教程](https://docs.taosdata.com/get-started/docker/)
-
1. 下载安装Docker环境
Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后终端查看Docker版本是否正常输出。
@@ -47,7 +45,7 @@ Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.c
1. 进入数据库Docker容器
- ```
+ ```shell
docker exec -it tdengine /bin/bash
```
@@ -56,7 +54,7 @@ Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.c
> 建议您修改密码。TDengine默认的账户密码是 root/taosdata
> 进入容器后,执行 `taos` 命令进入TDengine CLI , 如下:
- ```
+ ```shell
root@tdengine-server:~/TDengine-server# taos
Welcome to the TDengine shell from Linux, Client Version
Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.
@@ -69,7 +67,7 @@ Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.c
执行创建数据库命令
- ```
+ ```shell
taos> show databases;
taos> CREATE DATABASE hertzbeat KEEP 90 DURATION 10 BUFFER 16;
```
@@ -78,14 +76,14 @@ Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.c
4. 查看hertzbeat数据库是否成功创建
- ```
+ ```shell
taos> show databases;
taos> use hertzbeat;
```
5. 退出TDengine CLI
- ```
+ ```text
输入 q 或 quit 或 exit 回车
```
diff --git
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/victoria-metrics-init.md
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/victoria-metrics-init.md
index c38e59b31..4fda51312 100644
---
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/victoria-metrics-init.md
+++
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.5.x/start/victoria-metrics-init.md
@@ -17,8 +17,6 @@ VictoriaMetrics,是一个快速高效、经济并且可扩展的监控解决
### 通过Docker方式安装VictoriaMetrics
->
可参考官方网站[安装教程](https://docs.victoriametrics.com/Quick-Start.html#how-to-install)
-
1. 下载安装Docker环境
Docker 工具自身的下载请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后终端查看Docker版本是否正常输出。
diff --git
a/home/versioned_docs/version-v1.5.x/advanced/extend-http-example-hertzbeat.md
b/home/versioned_docs/version-v1.5.x/advanced/extend-http-example-hertzbeat.md
index 0d1a7112b..c941befb3 100644
---
a/home/versioned_docs/version-v1.5.x/advanced/extend-http-example-hertzbeat.md
+++
b/home/versioned_docs/version-v1.5.x/advanced/extend-http-example-hertzbeat.md
@@ -12,7 +12,7 @@ Before reading this tutorial, we hope that you are familiar
with how to customiz
> In many scenarios, we need to monitor the provided HTTP API interface and
> obtain the index value returned by the interface. In this article, we use
> the http custom protocol to parse our common http interface response
> structure, and obtain the fields in the returned body as metric data.
-```
+```json
{
"code": 200,
"msg": "success",
@@ -24,7 +24,7 @@ Before reading this tutorial, we hope that you are familiar
with how to customiz
As above, usually our background API interface will design such a general
return. The same is true for the background of the hertzbeat system. Today, we
will use the hertzbeat API as an example, add a new monitoring type
**hertzbeat**, and monitor and collect its system summary statistics API
`http://localhost:1157/api/summary`, the response data is:
-```
+```json
{
"msg": null,
"code": 0,
diff --git a/home/versioned_docs/version-v1.5.x/advanced/extend-ssh.md
b/home/versioned_docs/version-v1.5.x/advanced/extend-ssh.md
index 3a5486c39..a4dc46d1d 100644
--- a/home/versioned_docs/version-v1.5.x/advanced/extend-ssh.md
+++ b/home/versioned_docs/version-v1.5.x/advanced/extend-ssh.md
@@ -29,7 +29,7 @@ Then the query script of the two Metrics in hertzbeat is(Use
`;` Connect them to
`hostname; uptime | awk -F "," '{print $1}'`
The data responded by the terminal is:
-```
+```text
tombook
14:00:15 up 72 days
```
diff --git a/home/versioned_docs/version-v1.5.x/advanced/extend-tutorial.md
b/home/versioned_docs/version-v1.5.x/advanced/extend-tutorial.md
index c9759063f..fbf4f6ea7 100644
--- a/home/versioned_docs/version-v1.5.x/advanced/extend-tutorial.md
+++ b/home/versioned_docs/version-v1.5.x/advanced/extend-tutorial.md
@@ -12,7 +12,7 @@ Before reading this tutorial, we hope that you are familiar
with how to customiz
> In many scenarios, we need to monitor the provided HTTP API interface and
> obtain the index value returned by the interface. In this article, we use
> the http custom protocol to parse our common http interface response
> structure, and obtain the fields in the returned body as metric data.
-```
+```json
{
"code": 200,
"msg": "success",
@@ -24,7 +24,7 @@ Before reading this tutorial, we hope that you are familiar
with how to customiz
As above, usually our background API interface will design such a general
return. The same is true for the background of the hertzbeat system. Today, we
will use the hertzbeat API as an example, add a new monitoring type
**hertzbeat**, and monitor and collect its system summary statistics API
`http://localhost:1157/api/summary`, the response data is:
-```
+```json
{
"msg": null,
"code": 0,
diff --git
a/home/versioned_docs/version-v1.5.x/community/code-style-and-quality-guide.md
b/home/versioned_docs/version-v1.5.x/community/code-style-and-quality-guide.md
index 342c17667..ef27d0d5f 100644
---
a/home/versioned_docs/version-v1.5.x/community/code-style-and-quality-guide.md
+++
b/home/versioned_docs/version-v1.5.x/community/code-style-and-quality-guide.md
@@ -585,7 +585,3 @@ public void process(String input) {
- <https://rules.sonarsource.com/java/>
- <https://junit.org/junit5/>
- <https://streampark.apache.org/>
-
-```
-
-```
diff --git a/home/versioned_docs/version-v1.5.x/community/how-to-release.md
b/home/versioned_docs/version-v1.5.x/community/how-to-release.md
index 46ab8a2bc..8c8628054 100644
--- a/home/versioned_docs/version-v1.5.x/community/how-to-release.md
+++ b/home/versioned_docs/version-v1.5.x/community/how-to-release.md
@@ -250,7 +250,7 @@ for i in *.tar.gz; do echo $i; sha512sum $i > $i.sha512 ;
done
> The final file list is as follows
-```
+```properties
apache-hertzbeat-1.6.0-incubating-src.tar.gz
apache-hertzbeat-1.6.0-incubating-src.tar.gz.asc
apache-hertzbeat-1.6.0-incubating-src.tar.gz.sha512
@@ -347,7 +347,7 @@ Send a voting email in the community requires at least
three `+1` and no `-1`.
> `Title`: [VOTE] Release Apache HertzBeat (incubating) 1.6.0 rc1 <br />
> `Body`:
-```
+```text
Hello HertzBeat Community:
This is a call for vote to release Apache HertzBeat (incubating) version
release-1.6.0-RC1.
@@ -403,7 +403,7 @@ After 72 hours, the voting results will be counted, and the
voting result email
> `Title`: [RESULT][VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br
> />
> `Body`:
-```
+```text
Dear HertzBeat community,
Thanks for your review and vote for "Release Apache HertzBeat (incubating)
1.6.0-rc1"
@@ -439,7 +439,7 @@ Send a voting email in the incubator community requires at
least three `+1` and
> `Title`: [VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br />
> `Body`:
-```
+```text
Hello Incubator Community:
This is a call for a vote to release Apache HertzBeat (incubating) version
1.6.0-RC1.
@@ -492,7 +492,7 @@ If there is no -1 after 72 hours, reply to the email as
follows
> `Send to`: <[email protected]> <br />
> `Body`:
-```
+```text
Thanks everyone for review and vote, 72H passed. I'll announce the vote result
soon.
Best,
@@ -505,7 +505,7 @@ Then the voting results will be counted, and the voting
result email will be sen
> `Title`: [RESULT][VOTE] Release Apache HertzBeat (incubating) 1.6.0-rc1 <br
> />
> `Body`:
-```
+```text
Hi Incubator Community,
The vote to release Apache HertzBeat (incubating) 1.6.0-rc4 has passed with 3
+1 binding and no +0 or -1 votes.
@@ -560,13 +560,13 @@ Then enter Release Title and Describe
- Release Title:
-```
+```text
v1.6.0
```
- Describe:
-```
+```text
xxx
release note: xxx
```
@@ -582,7 +582,7 @@ The rename the release-1.6.0-rc1 branch to release-1.6.0.
> `Title`: [ANNOUNCE] Apache HertzBeat (incubating) 1.6.0 released <br />
> `Body`:
-```
+```text
Hi Community,
We are glad to announce the release of Apache HertzBeat (incubating) 1.6.0.
diff --git a/home/versioned_docs/version-v1.5.x/help/time_expression.md
b/home/versioned_docs/version-v1.5.x/help/time_expression.md
index 2f0711c4c..07eea14a8 100644
--- a/home/versioned_docs/version-v1.5.x/help/time_expression.md
+++ b/home/versioned_docs/version-v1.5.x/help/time_expression.md
@@ -11,7 +11,7 @@ HertzBeat supports using expressions to calculate relative
time during monitorin
### Syntax
-```
+```shell
${FORMATTER [{ + | - }<DURATION> <TIME_UNIT>]}
```
diff --git a/home/versioned_docs/version-v1.5.x/start/docker-deploy.md
b/home/versioned_docs/version-v1.5.x/start/docker-deploy.md
index 255216c9a..bd385b6c6 100644
--- a/home/versioned_docs/version-v1.5.x/start/docker-deploy.md
+++ b/home/versioned_docs/version-v1.5.x/start/docker-deploy.md
@@ -10,7 +10,7 @@ sidebar_label: Install via Docker
Docker tools download refer to [Docker official
document](https://docs.docker.com/get-docker/)。
After the installation you can check if the Docker version normally output
at the terminal.
- ```
+ ```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```
diff --git a/home/versioned_docs/version-v1.5.x/start/iotdb-init.md
b/home/versioned_docs/version-v1.5.x/start/iotdb-init.md
index 9cd1157db..52a5fcf90 100644
--- a/home/versioned_docs/version-v1.5.x/start/iotdb-init.md
+++ b/home/versioned_docs/version-v1.5.x/start/iotdb-init.md
@@ -24,7 +24,7 @@ Apache IoTDB is a software system that integrates the
collection, storage, manag
Docker tools download refer to [Docker official
document](https://docs.docker.com/get-docker/).
After the installation you can check if the Docker version normally output
at the terminal.
- ```
+ ```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```
diff --git a/home/versioned_docs/version-v1.5.x/start/mysql-change.md
b/home/versioned_docs/version-v1.5.x/start/mysql-change.md
index e78d414af..f3dfed786 100644
--- a/home/versioned_docs/version-v1.5.x/start/mysql-change.md
+++ b/home/versioned_docs/version-v1.5.x/start/mysql-change.md
@@ -14,14 +14,14 @@ MYSQL is a reliable relational database. In addition to
default built-in H2 data
For Docker installation, please refer to the [Docker official
documentation](https://docs.docker.com/get-docker/).
After the installation, please verify in the terminal that the Docker
version can be printed normally.
- ```
+ ```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```
2. Install MYSQl with Docker
- ```
+ ```shell
$ docker run -d --name mysql \
-p 3306:3306 \
-v /opt/data:/var/lib/mysql \
diff --git a/home/versioned_docs/version-v1.5.x/start/postgresql-change.md
b/home/versioned_docs/version-v1.5.x/start/postgresql-change.md
index 26eff086c..e9cd31cd4 100644
--- a/home/versioned_docs/version-v1.5.x/start/postgresql-change.md
+++ b/home/versioned_docs/version-v1.5.x/start/postgresql-change.md
@@ -14,14 +14,14 @@ PostgreSQL is a RDBMS emphasizing extensibility and SQL
compliance. In addition
Docker tools download refer to [Docker official
document](https://docs.docker.com/get-docker/)。
After the installation you can check if the Docker version normally output
at the terminal.
- ```
+ ```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```
2. Install PostgreSQL with Docker
- ```
+ ```shell
docker run -d --name postgresql -p 5432:5432 -e POSTGRES_USER=root -e
POSTGRES_PASSWORD=123456 -e TZ=Asia/Shanghai postgresql:15
```
@@ -33,7 +33,7 @@ PostgreSQL is a RDBMS emphasizing extensibility and SQL
compliance. In addition
1. Enter postgreSQL or use the client to connect postgreSQL service
- ```
+ ```shell
su - postgres
psql
```
diff --git a/home/versioned_docs/version-v1.5.x/start/tdengine-init.md
b/home/versioned_docs/version-v1.5.x/start/tdengine-init.md
index e2d6e2193..99c888253 100644
--- a/home/versioned_docs/version-v1.5.x/start/tdengine-init.md
+++ b/home/versioned_docs/version-v1.5.x/start/tdengine-init.md
@@ -46,14 +46,14 @@ After the installation you can check if the Docker version
normally output at th
1. Enter database Docker container
- ```
+ ```shell
docker exec -it tdengine /bin/bash
```
2. Create database named hertzbeat
After entering the container,execute `taos` command as follows:
- ```
+ ```shell
root@tdengine-server:~/TDengine-server# taos
Welcome to the TDengine shell from Linux, Client Version
Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.
@@ -62,7 +62,7 @@ After the installation you can check if the Docker version
normally output at th
execute commands to create database
- ```
+ ```shell
taos> show databases;
taos> CREATE DATABASE hertzbeat KEEP 90 DURATION 10 BUFFER 16;
```
@@ -72,7 +72,7 @@ After the installation you can check if the Docker version
normally output at th
3. Check if hertzbeat database has been created success
- ```
+ ```shell
taos> show databases;
taos> use hertzbeat;
```
diff --git a/home/versioned_docs/version-v1.5.x/start/victoria-metrics-init.md
b/home/versioned_docs/version-v1.5.x/start/victoria-metrics-init.md
index 9d1d1f76f..a593e794d 100644
--- a/home/versioned_docs/version-v1.5.x/start/victoria-metrics-init.md
+++ b/home/versioned_docs/version-v1.5.x/start/victoria-metrics-init.md
@@ -17,8 +17,6 @@ VictoriaMetrics is a fast, cost-effective and scalable
monitoring solution and t
### Install VictoriaMetrics via Docker
-> Refer to the official website [installation
tutorial](https://docs.victoriametrics.com/Quick-Start.html#how-to-install)
-
1. Download and install Docker environment
Docker tools download refer to [Docker official
document](https://docs.docker.com/get-docker/).
After the installation you can check if the Docker version normally output at
the terminal.
diff --git a/package.json b/package.json
new file mode 100644
index 000000000..5d3eff22d
--- /dev/null
+++ b/package.json
@@ -0,0 +1,5 @@
+{
+ "devDependencies": {
+ "markdownlint": "^0.34.0"
+ }
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]