qimy1314524 opened a new issue, #4446: URL: https://github.com/apache/hertzbeat/issues/4446
我使用的prometheus+hertzbeat+企业微信作为告警+消息发送的集成方案。但是告警恢复消息被发送了8次。 1. prometheus告警恢复后会重复发送多次以恢复消息,15分钟内没2分钟重复发送。这是使用ngixn代理之后,拦截到的prometheus请求 172.20.0.1 - - [10/Oct/2026:01:41:47 +0000] "POST /api/v2/alerts HTTP/1.1" 200 66 "-" "Prometheus/3.6.0" "-" 172.20.0.1 - - [10/Oct/2026:01:43:47 +0000] "POST /api/v2/alerts HTTP/1.1" 200 66 "-" "Prometheus/3.6.0" "-" 172.20.0.1 - - [10/Oct/2026:01:45:47 +0000] "POST /api/v2/alerts HTTP/1.1" 200 66 "-" "Prometheus/3.6.0" "-" 172.20.0.1 - - [10/Oct/2026:01:47:47 +0000] "POST /api/v2/alerts HTTP/1.1" 200 66 "-" "Prometheus/3.6.0" "-" 172.20.0.1 - - [10/Oct/2026:01:49:47 +0000] "POST /api/v2/alerts HTTP/1.1" 200 66 "-" "Prometheus/3.6.0" "-" 172.20.0.1 - - [10/Oct/2026:01:51:47 +0000] "POST /api/v2/alerts HTTP/1.1" 200 66 "-" "Prometheus/3.6.0" "-" 172.20.0.1 - - [10/Oct/2026:01:53:47 +0000] "POST /api/v2/alerts HTTP/1.1" 200 66 "-" "Prometheus/3.6.0" "-" 172.20.0.1 - - [10/Oct/2026:01:55:47 +0000] "POST /api/v2/alerts HTTP/1.1" 200 66 "-" "Prometheus/3.6.0" "-" 2. hertzbeat收到消息之后经过分组收敛之后 将该恢复消息发送了多次 - 这是分组策略 <img width="775" height="434" alt="image" src="https://github.com/user-attachments/assets/20fe82ae-c68d-4ca5-85aa-0919c95cc5b4" /> - 这是分组后收到的消息 <img width="1611" height="543" alt="image" src="https://github.com/user-attachments/assets/0482a634-836e-4813-9381-e4ef7e9f6861" /> - 这是企业微信中收到的多条通知消息,截图中只截了两个,实际收到的消息数量和prometheus发送的告警恢复消息数量是一致的 <img width="477" height="663" alt="image" src="https://github.com/user-attachments/assets/2cd765f0-fd84-41e7-ad66-153900f7c126" /> _Originally posted by @qimy1314524 in https://github.com/apache/hertzbeat/discussions/4445_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
