Skip to content
Open
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
26 changes: 13 additions & 13 deletions home/blog/2023-01-05-monitor-iotdb.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Use HertzBeat Monitoring IoTDB
author: tom
author_title: tom
author_url: https://github.com/tomsun28
title: Use HertzBeat Monitoring IoTDB
author: tom
author_title: tom
author_url: https://github.com/tomsun28
tags: [opensource, practice]
---

Expand Down Expand Up @@ -33,7 +33,7 @@ tags: [opensource, practice]
```yaml
# Whether to start the monitoring module, the default is false
enableMetric: true

# Data provision method, externally provide metrics data through jmx and prometheus protocol, optional parameters: [JMX, PROMETHEUS, IOTDB], IOTDB is closed by default.
metricReporterList:
- JMX
Expand All @@ -48,26 +48,26 @@ tags: [opensource, practice]

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

![HertzBeat](/img/blog/monitor-iotdb-1.png)
![HertzBeat](home/static/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.apache.org/docs/help/iotdb/) [https://hertzbeat.apache.org/docs/help](https://hertzbeat.apache.org/docs/help) /iotdb/

![HertzBeat](/img/blog/monitor-iotdb-2.png)
![HertzBeat](home/static/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](home/static/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](home/static/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](home/static/img/blog/monitor-iotdb-5.png)

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

Expand All @@ -87,7 +87,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](home/static/img/blog/monitor-iotdb-6.png)

2. Add message notification recipients

Expand All @@ -100,11 +100,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](home/static/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](home/static/img/blog/alert-notice-2.png)

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

Expand Down
22 changes: 11 additions & 11 deletions home/blog/2023-01-08-monitor-shenyu.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ tags: [opensource, practice]
shenyu:
metrics:
enabled: true #Set to true to enable
name: prometheus
name: prometheus
host: 127.0.0.1 #exposed ip
port: 8090 #Exposed port
jmxConfig: #jmx configuration
Expand All @@ -71,28 +71,28 @@ tags: [opensource, practice]

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

![HertzBeat](/img/blog/monitor-shenyu-1.png)
![HertzBeat](home/static/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.apache.org/docs/help/shenyu/) [https://hertzbeat.apache.org/docs/help/shenyu/](https://hertzbeat.apache.org/docs/help/shenyu/)

![HertzBeat](/img/blog/monitor-shenyu-1.png)
![HertzBeat](home/static/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](home/static/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](home/static/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](home/static/img/blog/monitor-shenyu-5.png)

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

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

Expand All @@ -115,7 +115,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](home/static/img/blog/monitor-shenyu-7.png)

2. Add message notification recipients

Expand All @@ -130,13 +130,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](home/static/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](home/static/img/blog/alert-notice-2.png)

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

Expand All @@ -153,7 +153,7 @@ Details : Please note that the number of file descriptors opened by ⚠️ ShenY
## Summary

:::tip
This hands-on article takes us through how to use HertzBeat to monitor Apache ShenYu metrics data, and we can find that HertzBeat, which combines ``Monitoring-Alert-Notification``, is much more convenient to operate and use, and you can include ShenYu in the monitoring by simply clicking on a page. There is no need to deploy multiple components and write multiple YML configuration files.
This hands-on article takes us through how to use HertzBeat to monitor Apache ShenYu metrics data, and we can find that HertzBeat, which combines ``Monitoring-Alert-Notification``, is much more convenient to operate and use, and you can include ShenYu in the monitoring by simply clicking on a page. There is no need to deploy multiple components and write multiple YML configuration files.
:::

Apache ShenYu Github: [https://github.com/apache/shenyu](https://github.com/apache/shenyu)
Expand Down
28 changes: 14 additions & 14 deletions home/blog/2023-02-02-monitor-dynamic-tp.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Monitoring Practices for DynamicTp Thread Pooling Framework with HertzBeat
author: tom
author_title: tom
author_url: https://github.com/tomsun28
title: Monitoring Practices for DynamicTp Thread Pooling Framework with HertzBeat
author: tom
author_title: tom
author_url: https://github.com/tomsun28
tags: [opensource, practice]
---

Expand Down Expand Up @@ -83,28 +83,28 @@ tags: [opensource, practice]

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

![HertzBeat](/img/blog/monitor-dynamic-tp-1.png)
![HertzBeat](home/static/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.apache.org/docs/help/dynamic_tp/) [https://hertzbeat.apache.org/docs/help/dynamic_tp/](https://hertzbeat.apache.org/docs/help/dynamic_tp/)

![HertzBeat](/img/blog/monitor-dynamic-tp-2.png)
![HertzBeat](home/static/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](home/static/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](home/static/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](home/static/img/blog/monitor-dynamic-tp-4.png)

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

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

Expand All @@ -127,7 +127,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](home/static/img/blog/monitor-dynamic-tp-6.png)

2. Add message notification recipients

Expand All @@ -142,13 +142,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](home/static/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](home/static/img/blog/alert-notice-2.png)

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

Expand All @@ -165,7 +165,7 @@ Details : DynamicTp has run timeout thread, count is 2
## Summary

:::tip
This practical article takes us to experience how to use HertzBeat to monitor DynamicTp thread pool metrics data, and we can find that HertzBeat with ``monitoring-alerting-notification`` is much more convenient to operate and use, and you only need to point and click on a page to include DynamicTp thread pool into the monitoring and alert notification, and you don't need to deploy multiple components to write YML configuration files anymore. There is no need to deploy multiple components and write YML configuration files.
This practical article takes us to experience how to use HertzBeat to monitor DynamicTp thread pool metrics data, and we can find that HertzBeat with ``monitoring-alerting-notification`` is much more convenient to operate and use, and you only need to point and click on a page to include DynamicTp thread pool into the monitoring and alert notification, and you don't need to deploy multiple components to write YML configuration files anymore. There is no need to deploy multiple components and write YML configuration files.
:::

DynamicTp Github: [https://github.com/dromara/dynamic-tp](https://github.com/dromara/dynamic-tp)
Expand Down
12 changes: 6 additions & 6 deletions home/blog/2023-02-10-new-committer.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: Welcome two new Committers from HertzBeat
author: tom
author_title: tom
author_url: https://github.com/tomsun28
title: Welcome two new Committers from HertzBeat
author: tom
author_title: tom
author_url: https://github.com/tomsun28
tags: [opensource]
---

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

## Welcome two new Committers from HertzBeat

Expand Down Expand Up @@ -107,7 +107,7 @@ First of all, I am also a newcomer to Novice Village, but I can share some of my

> [HertzBeat Hertz Beat](https://github.com/apache/hertzbeat) is a real-time monitoring and alarm system with powerful custom monitoring capabilities and no Agent required. Monitoring of application services, databases, operating systems, middleware, cloud native, etc., threshold alarms, and alarm notifications (email, WeChat, Dingding, Feishu, SMS, Discord, Slack, Telegram).
>
> We make protocol specifications such as `Http, Jmx, Ssh, Snmp, Jdbc, Prometheus` configurable, and you only need to configure YML to use these protocols to customize and collect any metrics you want to collect.
> We make protocol specifications such as `Http, Jmx, Ssh, Snmp, Jdbc, Prometheus` configurable, and you only need to configure YML to use these protocols to customize and collect any metrics you want to collect.
> Do you believe that you can immediately adapt to a new monitoring type such as K8s or Docker just by configuring YML?
>
> The powerful customization of `HertzBeat`, multi-type support, easy expansion, and low coupling, hope to help developers and small and medium-sized teams quickly build their own monitoring tools.
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 @@ -34,26 +34,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](home/static/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.apache.org/docs/help/mysql/) [https://hertzbeat.apache.org/docs/help](https://hertzbeat.apache.org/docs/help) /mysql/

![HertzBeat](/img/blog/monitor-mysql-2.png)
![HertzBeat](home/static/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](home/static/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](home/static/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](home/static/img/blog/monitor-mysql-4.png)

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

Expand All @@ -75,9 +75,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](home/static/img/blog/monitor-mysql-5.png)

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

2. Add message notification recipients

Expand All @@ -92,13 +92,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](home/static/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](home/static/img/blog/alert-notice-2.png)

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

Expand Down
Loading
Loading