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.

Preserve linked agent display qualification in the real handover control

pulse-triage[bot]a1f5c5fb3ee3
diff --git a/internal/monitoring/monitor_alert_handling_test.go b/internal/monitoring/monitor_alert_handling_test.go
index 700f76065f..68b446cc30 100644
--- a/internal/monitoring/monitor_alert_handling_test.go
+++ b/internal/monitoring/monitor_alert_handling_test.go
@@ -1812,10 +1812,10 @@ func TestMonitorReportedAgentHandoverUsesActualMetricOwner(t *testing.T) {
timeline := incidentStore.GetTimelineByAlertAt(a.ID, a.StartTime)
require.NotNil(t, timeline)
require.Len(t, timeline.Events, 2)
- wantName := "CPU reader"
+ wantName := "CPU reader (Host Agent)"
wantID := "agent:agent-a"
if a.Type == "memory" {
- wantName = "Memory reader"
+ wantName = "Memory reader (Host Agent)"
wantID = "agent:agent-b"
}
summary := "Alert moved to " + wantName + ". This is not a recovery: check the agent for the current reading."