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(alerts): regenerate message on re-evaluation, not just initial fire

rcourtman24ce95e2aded
diff --git a/internal/alerts/canonical_metric.go b/internal/alerts/canonical_metric.go
index c2f0c7c73f..a3cbc6eed2 100644
--- a/internal/alerts/canonical_metric.go
+++ b/internal/alerts/canonical_metric.go
@@ -277,6 +277,7 @@ func (m *Manager) evaluateCanonicalMetricAlert(spec alertspecs.ResourceAlertSpec
if dn := m.resolveNodeDisplayName(existingAlert.Instance, existingAlert.Node); dn != "" {
existingAlert.NodeDisplayName = dn
}
+ existingAlert.Message = message
if opts != nil && opts.Message != "" {
existingAlert.Message = opts.Message
}