feat(heartbeat): add provider error-rate spike check
This commit is contained in:
+3
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user