Pulse/internal
rcourtman ee0e89871d fix: reduce metrics memory 86x by reverting buffer and adding LTTB downsampling
The in-memory metrics buffer was changed from 1000 to 86400 points per
metric to support 30-day sparklines, but this pre-allocated ~18 MB per
guest (7 slices × 86400 × 32 bytes). With 50 guests that's 920 MB —
explaining why users needed to double their LXC memory after upgrading
to 5.1.0.

- Revert in-memory buffer to 1000 points / 24h retention
- Remove eager slice pre-allocation (use append growth instead)
- Add LTTB (Largest Triangle Three Buckets) downsampling algorithm
- Chart endpoints now use a two-tier strategy: in-memory for ranges
  ≤ 2h, SQLite persistent store + LTTB for longer ranges
- Reduce frontend ring buffer from 86400 to 2000 points

Related to #1190
2026-02-04 19:49:52 +00:00
..
agentbinaries chore: reliability and maintenance improvements 2026-01-22 00:45:04 +00:00
agentexec security: fix websocket scope and agent impersonation 2026-02-03 20:40:08 +00:00
agentupdate Refactor: Core monitoring and update managers multi-tenancy 2026-01-22 16:43:24 +00:00
ai test: add AI memory regression coverage 2026-02-04 19:46:20 +00:00
alerts Fix alert history duration and re-evaluation threshold bugs 2026-02-04 15:40:28 +00:00
api fix: reduce metrics memory 86x by reverting buffer and adding LTTB downsampling 2026-02-04 19:49:52 +00:00
buffer Fix offline buffering: add tests, remove unused config, fix flaky test 2025-12-02 22:31:44 +00:00
ceph Improve internal package test coverage 2025-12-29 17:25:21 +00:00
config Test multi-tenant persistence guardrails 2026-02-04 13:35:57 +00:00
crypto Improve internal package test coverage 2025-12-29 17:25:21 +00:00
discovery fix: Update runtime config when toggling Docker update actions setting 2026-01-03 11:14:17 +00:00
dockeragent fix: env overrides and OS-aware test improvements 2026-01-22 13:49:05 +00:00
errors refactor: Remove unreachable dead code branches 2025-12-02 14:48:57 +00:00
hostagent Add SMART disk lifecycle monitoring with historical charts 2026-02-04 13:35:40 +00:00
hostmetrics Add memory regression tests for agent and scheduler 2026-02-04 19:33:29 +00:00
infradiscovery feat(backend): implement AI Patrol, Investigation, and system-wide refactors 2026-01-30 19:02:14 +00:00
kubernetesagent test: expand backend coverage 2026-01-25 21:08:44 +00:00
license revert: remove dual-key license verification 2026-02-03 21:29:21 +00:00
logging fix: address linting issues and test adjustments 2026-02-01 23:27:11 +00:00
mdadm Improve internal package test coverage 2025-12-29 17:25:21 +00:00
metrics test: expand backend coverage 2026-01-25 21:08:44 +00:00
mock feat(kubernetes): Add Kubernetes mock data and UI 2025-12-12 23:13:40 +00:00
models Show node display name in alerts instead of raw Proxmox node name 2026-02-04 14:26:44 +00:00
monitoring fix: reduce metrics memory 86x by reverting buffer and adding LTTB downsampling 2026-02-04 19:49:52 +00:00
notifications Allow SMTP auth over unencrypted connections, fix rate limit persistence, sanitize diagnostics export 2026-02-04 15:42:47 +00:00
remoteconfig test: expand backend coverage 2026-01-25 21:08:44 +00:00
resources fix: Add nil checks in findDuplicate() to prevent crash. Related to #1119 2026-01-18 13:41:00 +00:00
sensors test: expand backend coverage 2026-01-25 21:08:44 +00:00
servicediscovery Unify Proxmox discovery results 2026-02-04 13:46:56 +00:00
smartctl Add SMART disk lifecycle monitoring with historical charts 2026-02-04 13:35:40 +00:00
ssh/knownhosts Improve internal package test coverage 2025-12-29 17:25:21 +00:00
system Improve internal package test coverage 2025-12-29 17:25:21 +00:00
types test: add unit tests for types package 2025-11-26 14:10:21 +00:00
updatedetection Enhance devcontainer and CI workflows 2026-01-01 22:29:15 +00:00
updates fix: SSE race conditions, alert user spoofing, and security status oracle 2026-02-03 17:40:58 +00:00
utils Enhance devcontainer and CI workflows 2026-01-01 22:29:15 +00:00
websocket fix(websocket): respect X-Forwarded headers in same-origin check 2026-02-03 21:45:39 +00:00