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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Bind restart fixtures to actual queue links and generic payloads
pulse-triage[bot]5119c7dc85d1
diff --git a/internal/notifications/firing_group_checkpoint_test.go b/internal/notifications/firing_group_checkpoint_test.goindex 25eb88e4f5..d6673bd5c9 100644--- a/internal/notifications/firing_group_checkpoint_test.go+++ b/internal/notifications/firing_group_checkpoint_test.go@@ -241,8 +241,8 @@ func TestCheckpointRoutesOnlySelectedDestinations(t *testing.T) {{"alpha-info", "customer:alpha", alerts.AlertLevelInfo},{"beta-critical", "customer:beta", alerts.AlertLevelCritical},} {- a := taggedRoutingAlert(tc.id, []string{tc.tag})- a.Level = tc.level+ a := quietReplayAlert(tc.id, tc.level, time.Now().UTC())+ a.Metadata = map[string]interface{}{"tags": []string{tc.tag}}m.SendAlert(a)}m.Stop()diff --git a/internal/notifications/firing_group_process_test.go b/internal/notifications/firing_group_process_test.goindex 76cd2e579b..11575f736f 100644--- a/internal/notifications/firing_group_process_test.go+++ b/internal/notifications/firing_group_process_test.go@@ -177,6 +177,7 @@ func TestGroupedWarningGracefulProcessRestartAndReload(t *testing.T) {At time.TimePath stringEvent string `json:"event"`+ Source string `json:"source"`Alerts []*alerts.Alert `json:"alerts"`Count int `json:"count"`Grouped bool `json:"grouped"`@@ -289,7 +290,12 @@ func TestGroupedWarningGracefulProcessRestartAndReload(t *testing.T) {require.True(t, d.Grouped)require.Equal(t, 2, d.Count)require.Len(t, d.Alerts, 2)- require.Equal(t, "alert", d.Event)+ require.Empty(t, d.Event, "the existing generic grouped firing payload has no event field")+ require.Equal(t, "pulse-monitoring", d.Source)+ require.NotEqual(t, d.Alerts[0].ID, d.Alerts[1].ID)+ for _, a := range d.Alerts {+ require.Equal(t, alerts.AlertLevelWarning, a.Level)+ }require.False(t, seen[d.Path])seen[d.Path] = truecase <-time.After(10 * time.Second):