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
Update canonical write-path guardrails for WriteBatchBounded
rcourtman32d1fcbe4219
diff --git a/internal/monitoring/canonical_guardrails_test.go b/internal/monitoring/canonical_guardrails_test.goindex 4fd44fdd3f..1e1724ebcb 100644--- a/internal/monitoring/canonical_guardrails_test.go+++ b/internal/monitoring/canonical_guardrails_test.go@@ -1903,7 +1903,7 @@ func TestUnifiedAppContainerMetricsUseCanonicalGuestHistoryPath(t *testing.T) {`storeWrites := make([]metrics.WriteMetric, 0)`,`appendStoreWrite("dockerContainer", targetID, "cpu", value)`,`appendStoreWrite("dockerContainer", targetID, "diskwrite", metric.Value)`,- `m.metricsStore.WriteBatchSync(storeWrites)`,+ `m.metricsStore.WriteBatchBounded(storeWrites)`,}for _, snippet := range requiredSnippets {if !strings.Contains(source, snippet) {@@ -1947,7 +1947,7 @@ func TestUnifiedAgentMetricsUseCanonicalHostHistoryPath(t *testing.T) {`storeWrites := make([]metrics.WriteMetric, 0)`,`appendStoreWrite("agent", targetID, "cpu", value)`,`appendStoreWrite("agent", targetID, "diskwrite", metric.Value)`,- `m.metricsStore.WriteBatchSync(storeWrites)`,+ `m.metricsStore.WriteBatchBounded(storeWrites)`,}for _, snippet := range requiredSnippets {if !strings.Contains(source, snippet) {@@ -1969,7 +1969,7 @@ func TestUnifiedVMMetricsUseCanonicalVMHistoryPath(t *testing.T) {`storeWrites := make([]metrics.WriteMetric, 0)`,`appendStoreWrite("vm", targetID, "cpu", value)`,`appendStoreWrite("vm", targetID, "diskwrite", metric.Value)`,- `m.metricsStore.WriteBatchSync(storeWrites)`,+ `m.metricsStore.WriteBatchBounded(storeWrites)`,}for _, snippet := range requiredSnippets {if !strings.Contains(source, snippet) {