Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(patrol): remove noisy per-alert log when patrol is disabled (#1258)

rcourtman10872c8ca808
diff --git a/internal/api/router.go b/internal/api/router.go
index e9b6023021..0aea7589d6 100644
--- a/internal/api/router.go
+++ b/internal/api/router.go
@@ -3577,7 +3577,6 @@ func (r *Router) WireAlertTriggeredAI() {
// 4. Connect Trigger -> Watchdog
// When an alert fires, we immediately trigger the Patrol Agent to investigate
r.monitor.SetAlertTriggeredAICallback(func(alert *alerts.Alert) {
- log.Info().Str("alert_id", alert.ID).Msg("Alert fired leading to Patrol Trigger")
patrol.TriggerPatrolForAlert(alert)
// We also trigger the specific analyzer if enabled, as it tracks specific stats