apache / apache/hertzbeat

[Task] Please increase the number of retries to reduce the frequency of problems

Open
#775 5 comments 1 reaction 0 assignees View on GitHub
status: volunteer wanted
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Description

问题:因为网络原因,一些主动监控,只有一次超时就会告警
建议:麻烦学习一下uptime-kuma增加重新尝试次数和尝试间隔,比如尝试3次失败后再报问题
风险:当然增加重试次数会增加服务负载,这块也可以交于使用者来掌控

### Task List

--》增加重试次数
--》增加重试间隔时间
--》增加状态变化时才告警通知,比如上次状态是不可用,本次检查状态仍未不可用就不用告警,除非状态不匹配才发送告警
![增加重试次数2](https://user-images.githubusercontent.com/16797633/227824741-4e9202b2-c99c-423b-8ba2-072d31102551.jpg)
![增加重试次数](https://user-images.githubusercontent.com/16797633/227824745-494e89dd-061d-4073-a6ec-438b745ccc5a.jpg)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified. Start by locating the active-monitor check and alert-notification paths, then clarify how retry count, retry interval, and user control should work. Done means transient timeouts are retried before alerting and repeated alerts are suppressed unless the monitored state changes.

Written by the indexing model from the issue text.

Assessment

Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.