Commit Graph

3 Commits

Author SHA1 Message Date
buenosairesam
82c4551e71 simple is better 2026-01-22 16:22:15 -03:00
buenosairesam
00b1e663d9 Fix metrics flickering and improve internals page
- Fix dashboard metrics alternating to 0 by merging partial batches
  in gateway before broadcasting to WebSocket clients. The aggregator
  sends metrics in batches of 20, causing partial updates that
  overwrote each other. Gateway now maintains machine_metrics_cache
  that accumulates metrics across batches.

- Remove misleading gRPC calls counter from internals page (only
  incremented on health checks, not actual metric flow). Replace
  with cached_machines counter showing tracked machines.

- Update internals.html stats panel to show Events, Broadcasts,
  Clients, and Machines instead of gRPC calls.
2025-12-31 02:15:57 -03:00
buenosairesam
e5aafd5097 claude final draft 2025-12-29 23:44:30 -03:00