Files
nezha_domains/service/singleton
naiba e756b4540c fix(alert): keep sample history by rule-defined retention window
Trim alert samples using AlertRule.RetentionWindow() (max rule duration)
instead of Check()'s verdict max, which is 0 while a rule's window is still
filling. The old max<=0 trim wiped history every tick, so Duration>=2 general
rules never accumulated enough samples and never fired a notification.

Add model + end-to-end singleton regression tests covering sample
accumulation, the retention-window contract, and the actual notify path.
2026-06-07 16:11:43 +00:00
..
2026-05-25 10:17:34 +00:00
2026-05-25 10:17:34 +00:00
2026-02-15 13:13:33 +08:00
2026-05-25 10:17:34 +00:00
2026-05-25 10:17:34 +00:00