Skip to content

Commit

Permalink
Merge pull request #2797 from emqx/update-configuration-4.4.28
Browse files Browse the repository at this point in the history
update(configuration): Add new `vm_mon.process` config items
  • Loading branch information
Meggielqk authored Jan 23, 2025
2 parents 4a7ec2a + ade7992 commit 58781e9
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
26 changes: 26 additions & 0 deletions en_US/configuration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4792,6 +4792,32 @@ When the current process number as a percentage of the maximum process number ex
When the percentage of the current number of processes in the maximum number of processes falls below `vm_mon.process_low_watermark`, an alarm will be triggered. The maximum number of processes is determined by the `node.process_limit` configuration item.



### vm_mon.process_long_msgq

| Type | Default |
| ------- | ------- |
| integer | `80` |

#### Description

An alert will be triggered when the message queue length of a process in EMQX exceeds this value. Setting it to `0` will disable the alert for the message queue length.



### vm_mon.process_alarm_top_n

| Type | Default |
| ------- | ------- |
| integer | `5` |

#### Description

When an alert is triggered, the alert message includes the top `N` processes with the longest message queue lengths, excluding those with a length of zero.




## Plugin `emqx_auth_http`

### auth.http.auth_req.url
Expand Down
24 changes: 24 additions & 0 deletions zh_CN/configuration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4703,6 +4703,30 @@ EMQX 为单个进程分配的内存占系统内存的百分比超过 `os_mon.pro

<br />

### vm_mon.process_long_msgq

| Type | Default |
| ------- | ------- |
| integer | `80` |

#### 说明

当 EMQX 中有进程的邮箱超过此长度时将触发告警。设置为 `0` 则关闭邮箱过长告警功能。

<br />

### vm_mon.process_alarm_top_n

| Type | Default |
| ------- | ------- |
| integer | `5` |

#### 说明

当触发告警时,在告警信息中包含前 `N` 个消息队列长度最长、且不为零的进程。

<br />

## 插件 `emqx-auth-http`

### auth.http.auth_req.url
Expand Down

0 comments on commit 58781e9

Please sign in to comment.