feat(heartbeat): add provider error-rate spike check

This commit is contained in:
William Valentin
2026-02-16 13:52:40 -08:00
parent 07340ff0af
commit 71af3b5a42
8 changed files with 120 additions and 6 deletions
+3 -1
View File
@@ -291,7 +291,7 @@ hooks:
# heartbeat:
# enabled: false
# interval: "5m"
# checks: [gateway, model, channels, memory, disk, process_memory, backup]
# checks: [gateway, model, channels, memory, disk, process_memory, backup, provider_errors]
# notify:
# channel: telegram
# peer: "123456789"
@@ -299,6 +299,8 @@ hooks:
# disk_threshold_mb: 100
# process_memory_threshold_mb: 1500
# backup_failure_threshold: 1
# provider_error_rate_threshold: 0.5
# provider_error_min_calls: 5
# ── Backup ──────────────────────────────────────────────────────────
# Snapshot sessions.db, vectors.db (optional), and memory/ into a tarball.