diff --git a/en_US/configuration/configuration.md b/en_US/configuration/configuration.md index 3c03f7de0..0afad2b92 100644 --- a/en_US/configuration/configuration.md +++ b/en_US/configuration/configuration.md @@ -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 diff --git a/zh_CN/configuration/configuration.md b/zh_CN/configuration/configuration.md index 89d56748b..aa9de6893 100644 --- a/zh_CN/configuration/configuration.md +++ b/zh_CN/configuration/configuration.md @@ -4703,6 +4703,30 @@ EMQX 为单个进程分配的内存占系统内存的百分比超过 `os_mon.pro
+### vm_mon.process_long_msgq + +| Type | Default | +| ------- | ------- | +| integer | `80` | + +#### 说明 + +当 EMQX 中有进程的邮箱超过此长度时将触发告警。设置为 `0` 则关闭邮箱过长告警功能。 + +
+ +### vm_mon.process_alarm_top_n + +| Type | Default | +| ------- | ------- | +| integer | `5` | + +#### 说明 + +当触发告警时,在告警信息中包含前 `N` 个消息队列长度最长、且不为零的进程。 + +
+ ## 插件 `emqx-auth-http` ### auth.http.auth_req.url