Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve] improve markdown format for MD045 #2658

Merged
merged 7 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .markdownlint-cli2.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"MD036": false,
"MD040": true,
"MD045": false,
"MD045": true,
"MD046": true,
"MD047": true,
"MD052": true
Expand Down
2 changes: 1 addition & 1 deletion home/blog/2022-06-19-hertzbeat-v1.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Online at <https://console.tancloud.cn>.
---
Windows Monitor coming:

![2022-06-19 11:30:57](https://user-images.githubusercontent.com/24788200/174481159-b8a73c87-aff5-4c4c-befb-bd0d26685d71.png)
![HertzBeat](https://user-images.githubusercontent.com/24788200/174481159-b8a73c87-aff5-4c4c-befb-bd0d26685d71.png)

⚠️ ⚠️⚠️⚠️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".

Expand Down
2 changes: 1 addition & 1 deletion home/blog/2022-06-22-one-step-up.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Online at [https://console.tancloud.cn](https://console.tancloud.cn).
---
Windows Monitor is coming:

![2022-06-19 11:30:57](https://user-images.githubusercontent.com/24788200/174481159-b8a73c87-aff5-4c4c-befb-bd0d26685d71.png)
![HertzBeat](https://user-images.githubusercontent.com/24788200/174481159-b8a73c87-aff5-4c4c-befb-bd0d26685d71.png)

⚠️ ⚠️⚠️⚠️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.

Expand Down
22 changes: 11 additions & 11 deletions home/blog/2022-09-10-ssl-practice.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,52 +38,52 @@ gitee: <https://gitee.com/hertzbeat/hertzbeat>

> System Page -> Monitor Menu -> SSL Certificates -> New SSL Certificate

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/bd53f343a5b54feab62e71458d076441~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/bd53f343a5b54feab62e71458d076441~tplv-k3u1fbpfcp-zoom-1.image)

2. Configure monitoring website

> Here is an example to monitor Baidu website, configure the host domain name, name, collection interval, etc. > Click OK.
> Click OK. Note that ⚠️ will test the connectivity of the website before adding it by default, and it will add it only if the connection is successful, of course, you can also gray out the **Whether to test** button.

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ad1154670648413bb82c8bdeb5b13609~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ad1154670648413bb82c8bdeb5b13609~tplv-k3u1fbpfcp-zoom-1.image)

3. Viewing Test Indicator Data

> You can view the task status in the monitor list, and go into the monitor details to view the metrics data graphs etc.

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/f874b45e909c4bb0acdd28b3fb034a61~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/f874b45e909c4bb0acdd28b3fb034a61~tplv-k3u1fbpfcp-zoom-1.image)

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ef5d7443f8c04818ae5aa28d421203be~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ef5d7443f8c04818ae5aa28d421203be~tplv-k3u1fbpfcp-zoom-1.image)

4. Set the threshold (triggered when the certificate expires)

> System Page -> Alarms -> Alarm Thresholds -> Add Thresholds

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/8d6205172d43463aa34e534477f132f1~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/8d6205172d43463aa34e534477f132f1~tplv-k3u1fbpfcp-zoom-1.image)

> Configure thresholds, select SSL certificate indicator object, configure alert expression - triggered when indicator `expired` is `true`, i.e. `equals(expired, "true")` , set alert level notification template message etc.

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/83d17b381d994f26a6240e01915b2001~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/83d17b381d994f26a6240e01915b2001~tplv-k3u1fbpfcp-zoom-1.image)

> Associate thresholds with monitors, set which monitors this threshold should be applied to in the threshold list.

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/9b9063d7bcf9454387be0491fc382bd1~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/9b9063d7bcf9454387be0491fc382bd1~tplv-k3u1fbpfcp-zoom-1.image)

5. set the threshold (triggered one week before certificate expiration)

> Same as above, add a new configuration threshold, configure the alert expression - when the indicator validity timestamp `end_timestamp`, `now()` function for the current timestamp, if you configure to trigger the alert one week in advance i.e.: `end_timestamp <= (now() + 604800000)` , where `604800000` is the total time difference of 7 days. milliseconds.

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0d6f837f57c247e09f668f60eff4a0ff~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0d6f837f57c247e09f668f60eff4a0ff~tplv-k3u1fbpfcp-zoom-1.image)

> Eventually you can see the triggered alarms in the alarm center.

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/5a61b23127524976b2c209ce0ca6a339~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/5a61b23127524976b2c209ce0ca6a339~tplv-k3u1fbpfcp-zoom-1.image)

6. Alarm notification (timely notification via NailWeChatFlysheet, etc.)

> Monitoring System -> Alert Notification -> Add Recipients

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/7f36956060ef410a82bbecafcbb2957f~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/7f36956060ef410a82bbecafcbb2957f~tplv-k3u1fbpfcp-zoom-1.image)

You can refer to the help file for the token configuration of Nail WeChat Flying Book, etc.

Expand All @@ -92,7 +92,7 @@ gitee: <https://gitee.com/hertzbeat/hertzbeat>

> Alert Notification -> Add new alert notification policy -> Enable notification for the recipients you just configured

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/d976343e81f843138344a039f3aff8a3~tplv-k3u1fbpfcp-zoom-1.image)
![HertzBeat](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/d976343e81f843138344a039f3aff8a3~tplv-k3u1fbpfcp-zoom-1.image)

7. OK When the threshold is triggered, we can receive the corresponding alarm message, if there is no notification, you can also view the alarm information in the alarm center.

Expand Down
16 changes: 8 additions & 8 deletions home/blog/2023-01-05-monitor-iotdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,26 @@ tags: [opensource, practice]

Path: Menu -> Database Monitoring -> IoTDB Monitoring -> Add IoTDB Monitoring

![hertzbeat](/img/blog/monitor-iotdb-1.png)
![HertzBeat](/img/blog/monitor-iotdb-1.png)

2. Configure the parameters required for monitoring IoTDB

Fill in the IoTDB **service IP** and **monitoring port** (default 9091) on the monitoring page, and finally click OK to add.
For other parameters such as **collection interval**, **timeout period**, etc., please refer to [Help Documentation](https://hertzbeat.com/docs/help/iotdb/) <https://hertzbeat.com/docs/help> /iotdb/

![hertzbeat](/img/blog/monitor-iotdb-2.png)
![HertzBeat](/img/blog/monitor-iotdb-2.png)

3. Complete ✅, now we have added the monitoring of IoTDB, check the monitoring list to see our added items.

![hertzbeat](/img/blog/monitor-iotdb-3.png)
![HertzBeat](/img/blog/monitor-iotdb-3.png)

4. Click **Operation**->**Monitoring Details Icon** of the monitoring list item to browse the real-time monitoring metric data of IoTDB.

![hertzbeat](/img/blog/monitor-iotdb-4.png)
![HertzBeat](/img/blog/monitor-iotdb-4.png)

5. Click **Monitoring History Details TAB** to browse IoTDB's historical monitoring metric data chart📈.

![hertzbeat](/img/blog/monitor-iotdb-5.png)
![HertzBeat](/img/blog/monitor-iotdb-5.png)

**Complete DONE! Through the above steps, it is actually two steps to sum up**

Expand All @@ -88,7 +88,7 @@ tags: [opensource, practice]
- Select the configured metric object. IotDB monitors many metrics, one of which is related to the status of the node `cluster_node_status` -> `status` (node status, 1=online 2=offline).
- Here we configure to send an alarm when the metric `status==2`, the alarm level is **Critical Alarm**, which is triggered once, as shown in the figure below.

![hertzbeat](/img/blog/monitor-iotdb-6.png)
![HertzBeat](/img/blog/monitor-iotdb-6.png)

2. Add message notification recipients

Expand All @@ -101,11 +101,11 @@ tags: [opensource, practice]

【Alarm Notification】->【New Recipient】->【Select DingTalk Robot Notification Method】->【Set DingTalk Robot ACCESS_TOKEN】->【OK】

![hertzbeat](/img/blog/alert-notice-1.png)
![HertzBeat](/img/blog/alert-notice-1.png)

3. Configure the associated alarm notification strategy ⚠️ [Add notification strategy] -> [Associate the recipient just set] -> [OK]

![hertzbeat](/img/blog/alert-notice-2.png)
![HertzBeat](/img/blog/alert-notice-2.png)

### Finished, now wait for the warning message to come. ding ding ding ding

Expand Down
18 changes: 9 additions & 9 deletions home/blog/2023-01-08-monitor-shenyu.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,28 +72,28 @@ tags: [opensource, practice]

Path: Menu -> Middleware Monitor -> ShenYu Monitor -> Add ShenYu Monitor

![hertzbeat](/img/blog/monitor-shenyu-1.png)
![HertzBeat](/img/blog/monitor-shenyu-1.png)

2. Configure the parameters required for monitoring ShenYu

On the monitor page, fill in ShenYu **service IP**, **monitor port** (default 8090), and click OK to add.
For other parameters such as **collection interval**, **timeout**, etc., you can refer to the [help file](https://hertzbeat.com/docs/help/shenyu/) <https://hertzbeat.com/docs/help/shenyu/>

![hertzbeat](/img/blog/monitor-shenyu-1.png)
![HertzBeat](/img/blog/monitor-shenyu-1.png)

3. Done ✅, now we have added monitoring for ShenYu, check the monitor list to see our additions.

![hertzbeat](/img/blog/monitor-shenyu-3.png)
![HertzBeat](/img/blog/monitor-shenyu-3.png)

4. Click **Options**->**Monitoring Details icon** in the monitor list to view ShenYu's real-time monitoring metrics.

![hertzbeat](/img/blog/monitor-shenyu-4.png)
![HertzBeat](/img/blog/monitor-shenyu-4.png)

5. Click the **Monitor History TAB** to view ShenYu's historical monitoring metrics graphs 📈.

![hertzbeat](/img/blog/monitor-shenyu-5.png)
![HertzBeat](/img/blog/monitor-shenyu-5.png)

![hertzbeat](/img/blog/monitor-shenyu-6.png)
![HertzBeat](/img/blog/monitor-shenyu-6.png)

**DONE! With the above steps, it's really only two steps**

Expand All @@ -116,7 +116,7 @@ Of course, just looking at it is not perfect, monitoring is often accompanied by
- There are a lot of metrics in ShenYu monitoring, for example, we will set the threshold for the `number of open file descriptors` `process_open_fds` -> `value` metric, which will alert you when the number of open file descriptors on the server side is greater than 3,000.
- Here we configure an alert to be issued when the `value' of`process_open_fds` exceeds 3000, with an alert level of **Warning alert**, which is triggered three times, as shown in the following figure.

![hertzbeat](/img/blog/monitor-shenyu-7.png)
![HertzBeat](/img/blog/monitor-shenyu-7.png)

2. Add message notification recipients

Expand All @@ -131,13 +131,13 @@ Of course, just looking at it is not perfect, monitoring is often accompanied by

[Alert Notification] -> [Add Recipient] -> [Select Nailed Bot Notification Method] -> [Set Nailed Bot ACCESS_TOKEN] -> [OK]

![hertzbeat](/img/blog/alert-notice-1.png)
![HertzBeat](/img/blog/alert-notice-1.png)

3. Configure the associated alert notification policy ⚠️ [Add Notification Policy] -> [Associate the recipient you just set] -> [OK] !

> Configure the alert notification policy to bind alert messages to recipients so that you can decide which alerts go to which person.

![hertzbeat](/img/blog/alert-notice-2.png)
![HertzBeat](/img/blog/alert-notice-2.png)

### Over and out, now wait for the alert message to come through. Ding, ding, ding, ding

Expand Down
18 changes: 9 additions & 9 deletions home/blog/2023-02-02-monitor-dynamic-tp.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,28 +84,28 @@ tags: [opensource, practice]

Path: Menu -> Middleware Monitor -> DynamicTp Monitor -> Add DynamicTp Monitor

![hertzbeat](/img/blog/monitor-dynamic-tp-1.png)
![HertzBeat](/img/blog/monitor-dynamic-tp-1.png)

2. Configure the parameters required for monitoring DynamicTp.

On the monitor page, fill in DynamicTp **service IP**, **monitoring port** (default 8080), and finally click OK to add it.
For other parameters such as **collection interval**, **timeout**, etc., you can refer to [help](https://hertzbeat.com/docs/help/dynamic_tp/) <https://hertzbeat.com/docs/help/dynamic_tp/>

![hertzbeat](/img/blog/monitor-dynamic-tp-2.png)
![HertzBeat](/img/blog/monitor-dynamic-tp-2.png)

3. Done ✅, now we have added monitoring for DynamicTp, check the monitor list to see our additions.

![hertzbeat](/img/blog/monitor-dynamic-tp-1.png)
![HertzBeat](/img/blog/monitor-dynamic-tp-1.png)

4. Click **Options**->**Monitor Details icon** in the Monitor list to view the real-time monitoring metrics of the DynamicTp thread pool.

![hertzbeat](/img/blog/monitor-dynamic-tp-3.png)
![HertzBeat](/img/blog/monitor-dynamic-tp-3.png)

5. Click the **Monitoring History TAB** to view a graphical representation of the historical monitoring metrics for the DynamicTp thread pool 📈.

![hertzbeat](/img/blog/monitor-dynamic-tp-4.png)
![HertzBeat](/img/blog/monitor-dynamic-tp-4.png)

![hertzbeat](/img/blog/monitor-dynamic-tp-5.png)
![HertzBeat](/img/blog/monitor-dynamic-tp-5.png)

**DONE! With the above steps, it's really just two steps**

Expand All @@ -128,7 +128,7 @@ Of course, just watching is not perfect, monitoring is often accompanied by alar
- DynamicTp monitors some thread pool related metrics, for example, we set the threshold for the `run_timeout_count` `thread_pool_running` -> `run_timeout_count` metric, which will raise an alarm when the thread_timeout_count is greater than one.
- Here we configure an alert to be issued when `thread_pool_running` has a `run_timeout_count>1`, with an alert level of **Serious Alert**, which is triggered three times, as shown in the following figure.

![hertzbeat](/img/blog/monitor-dynamic-tp-6.png)
![HertzBeat](/img/blog/monitor-dynamic-tp-6.png)

2. Add message notification recipients

Expand All @@ -143,13 +143,13 @@ Of course, just watching is not perfect, monitoring is often accompanied by alar

[Alert Notification] -> [Add Recipient] -> [Choose Dingtalk bot notification method] -> [Set Dingtalk bot ACCESS_TOKEN] -> [OK]

![hertzbeat](/img/blog/alert-notice-1.png)
![HertzBeat](/img/blog/alert-notice-1.png)

3. Configure the associated alert notification policy ⚠️ [Add Notification Policy] -> [Associate the recipient you just set] -> [OK] !

> Configure the alert notification policy to bind alert messages to recipients so that you can decide which alerts go to which person.

![hertzbeat](/img/blog/alert-notice-2.png)
![HertzBeat](/img/blog/alert-notice-2.png)

### Over and out, now wait for the alert message to come through. Ding, ding, ding, ding

Expand Down
2 changes: 1 addition & 1 deletion home/blog/2023-02-10-new-committer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ author_image_url: https://avatars.githubusercontent.com/u/24788200?s=400&v=4
tags: [opensource]
---

![hertzBeat](/img/blog/new-committer.png)
![HertzBeat](/img/blog/new-committer.png)

## Welcome two new Committers from HertzBeat

Expand Down
18 changes: 9 additions & 9 deletions home/blog/2023-02-11-monitor-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,26 @@ Keywords: [Open source monitoring tool, open source database monitoring, Mysql d

Path: Menu -> Database Monitoring -> Mysql Database -> Add Mysql Database Monitoring

![hertzbeat](/img/blog/monitor-mysql-1.png)
![HertzBeat](/img/blog/monitor-mysql-1.png)

2. Configure the parameters required for the new monitoring Mysql database

On the monitoring page, fill in Mysql **service IP**, **monitoring port** (default 3306), **account password, etc.**, and finally click OK to add.
For other parameters such as **collection interval**, **timeout period**, etc., please refer to [Help Documentation](https://hertzbeat.com/docs/help/mysql/) <https://hertzbeat.com/docs/help> /mysql/

![hertzbeat](/img/blog/monitor-mysql-2.png)
![HertzBeat](/img/blog/monitor-mysql-2.png)

3. Complete ✅, now we have added the monitoring of the Mysql database, check the monitoring list to see our added items.

![hertzbeat](/img/blog/monitor-mysql-1.png)
![HertzBeat](/img/blog/monitor-mysql-1.png)

4. Click **Operation**->**Monitoring Details Icon** of the monitoring list item to browse the real-time monitoring metric data of the Mysql database.

![hertzbeat](/img/blog/monitor-mysql-3.png)
![HertzBeat](/img/blog/monitor-mysql-3.png)

5. Click **Monitoring History Details TAB** to browse the historical monitoring metric data chart of Mysql database📈.

![hertzbeat](/img/blog/monitor-mysql-4.png)
![HertzBeat](/img/blog/monitor-mysql-4.png)

**DONE! Done! Through the above steps, in fact, it only takes one step to sum up**

Expand All @@ -76,9 +76,9 @@ Of course, just looking at it is definitely not perfect. Monitoring is often acc
- Select the configured metric object. Mysql database monitoring is mainly about database performance and other related metrics. For example, we set the threshold for the metric `query cache hit rate` `cache` -> `query_cache_hit_rate`. When the query cache hit rate of Mysql is very low An alarm is issued when it is less than 30%.
- Here we configure to send an alarm when the `query_cache_hit_rate<30` of this metric `cache`, the alarm level is **serious alarm**, and it will be triggered after three times, as shown in the figure below.

![hertzbeat](/img/blog/monitor-mysql-5.png)
![HertzBeat](/img/blog/monitor-mysql-5.png)

![hertzbeat](/img/blog/monitor-mysql-6.png)
![HertzBeat](/img/blog/monitor-mysql-6.png)

2. Add message notification recipients

Expand All @@ -93,13 +93,13 @@ Of course, just looking at it is definitely not perfect. Monitoring is often acc

【Alarm Notification】->【New Recipient】->【Select DingTalk Robot Notification Method】->【Set DingTalk Robot ACCESS_TOKEN】->【OK】

![hertzbeat](/img/blog/alert-notice-1.png)
![HertzBeat](/img/blog/alert-notice-1.png)

3. Configure the associated alarm notification strategy ⚠️ [Add notification strategy] -> [Associate the recipient just set] -> [OK]

> Configure the alarm notification policy to bind the alarm message with the receiver, so that you can decide which alarms to send to whom.

![hertzbeat](/img/blog/alert-notice-2.png)
![HertzBeat](/img/blog/alert-notice-2.png)

### Finished, now wait for the warning message to come. ding ding ding ding

Expand Down
Loading
Loading