feat: notification cooldown dedup for events and problems (notif-31)
Store last notify time by dedup_key/fingerprint, gate dispatch before channels; config SAC_NOTIFY_*_COOLDOWN_SEC, migration 008. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -48,6 +48,11 @@ SMTP_MIN_SEVERITY=high
|
||||
NOTIFY_MIN_SEVERITY=warning
|
||||
NOTIFY_CHANNELS=telegram,webhook,email
|
||||
|
||||
# Cooldown оповещений SAC (секунды; 0 = выкл. для kind)
|
||||
SAC_NOTIFY_COOLDOWN_ENABLED=true
|
||||
SAC_NOTIFY_EVENT_COOLDOWN_SEC=90
|
||||
SAC_NOTIFY_PROBLEM_COOLDOWN_SEC=300
|
||||
|
||||
# Статус хоста по agent.heartbeat
|
||||
SAC_HEARTBEAT_STALE_MINUTES=780
|
||||
|
||||
|
||||
Reference in New Issue
Block a user