[BUG] <title>hertzbeat1.8新增了webhook通知对象和通知策略为转发所有,测试能正常收到hook请求,但是hook没有收到其他所有的监控消息
bug
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Current Behavior
[BUG] <title>hertzbeat1.8新增了webhook通知对象和通知策略为转发所有,测试能正常收到hook请求,但是hook没有收到其他所有的监控消息,
以下是我的测试日志:
2026-04-16 10:14:13=中文测试 on port 28080, path /webhook
2026-04-16 10:21:18===== Received Webhook =====
{
"title": "🔔 HertzBeat Alert Notification",
"status": "firing",
"commonLabels": {
"alertName": "CPU Usage Alert"
},
"alerts": [
{
"index": 1,
"labels": {
"instance": "127.0.0.1",
"alertname": "CPU Usage Alert"
},
"content": "test send msg! \\n This is the test data. It is proved that it can be received successfully",
"triggerTimes": 2,
"startAt": "2026-04-16 10:21:34",
"activeAt": "2026-04-16 10:21:34",
"endAt": "2026-04-16 10:21:34",
"annotations": {
"suggest": "Please check the CPU usage of the server"
}
},
{
"index": 2,
"labels": {
"instance": "127.0.0.1",
"alertname": "CPU Usage Alert"
},
"content": "test send msg! \\n This is the test data. It is proved that it can be received successfully",
"triggerTimes": 4,
"startAt": "2026-04-16 10:21:34",
"activeAt": "2026-04-16 10:21:34",
"endAt": "2026-04-16 10:21:34",
"annotations": {
"suggest": "Please check the CPU usage of the server"
}
}
],
"commonAnnotations": {
"suggest": "Please check the CPU usage of the server"
}
}
============================
### Expected Behavior
_No response_
### Steps To Reproduce
版本:apache-hertzbeat-collector-1.8.0-bin.tar.gz
jdk-17.0.12_linux-x64_bin.tar.gz
### Environment
```markdown
HertzBeat version(s):
```
### Debug logs
_No response_
### Anything else?
_No response_
0 条评论