apache / apache/hertzbeat

[BUG] <HertzBeat v1.3.1 threshold rule function is very good, but it is still recommended to add the alarm function after recovery>

Open
#937 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

当一个监控项中断时间较长,按照现有的监控规则,会每隔一段时间,可能是6分钟或者8分钟,就会报警一次,直至该监控恢复,这样就会导致频繁产生垃圾告警通知行为
![image](https://user-images.githubusercontent.com/16797633/236731090-4e1d5456-0d37-4673-a937-5f5471029027.png)
![image](https://user-images.githubusercontent.com/16797633/236732694-e2e48b8f-8b21-4676-87dd-185dbc8b88a7.png)

### Expected Behavior

建议告警后,仅发一次,后续仍有告警的话,忽略,直至恢复再发一次告警。

### Steps To Reproduce
每产生一个告警,判断一下上次的状态,如果已经发过告警了,就不发了,直至恢复

_No response_

### Environment

```markdown
v1.3.1
```

### Debug logs

·

### Anything else?

·

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the monitoring alert state and notification flow; done means an ongoing incident sends one alert, suppresses repeats, and sends one notification after recovery.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.