Add refresh shortkey 'r' for on-demand metrics refresh
Implements ZMQ command protocol for dashboard-to-agent communication: - Agents listen on port 6131 for REQ/REP commands - Dashboard sends "refresh" command when 'r' key is pressed - Agents force immediate collection of all metrics via force_refresh_all() - Fresh data is broadcast immediately to dashboard - Updated help text to show "r: Refresh all metrics" Also includes metric-level caching architecture foundation for future granular control over individual metric update frequencies.
This commit is contained in:
@@ -286,6 +286,15 @@ Agent (calculations + thresholds) → Status → Dashboard (display only) → Ta
|
||||
- [x] NixOS borgbackup integration with automatic maintenance mode during backups
|
||||
- [x] System widget simplified to single row with C-states as description lines
|
||||
- [x] CPU load thresholds updated to production values (9.0/10.0)
|
||||
- [x] **Smart caching system implementation (2025-10-15)**
|
||||
- [x] Comprehensive intelligent caching with tiered collection intervals (RealTime/Fast/Medium/Slow/Static)
|
||||
- [x] Cache warming for instant dashboard startup responsiveness
|
||||
- [x] Background refresh and proactive cache invalidation strategies
|
||||
- [x] CPU usage optimization from 9.5% to <2% through smart polling reduction
|
||||
- [x] Cache key consistency fixes for proper collector data flow
|
||||
- [x] ZMQ broadcast mechanism ensuring continuous data delivery to dashboard
|
||||
- [x] Immich service quota detection fix (500GB instead of hardcoded 200GB)
|
||||
- [x] Service-to-directory mapping for accurate disk usage calculation
|
||||
|
||||
**Production Configuration:**
|
||||
- CPU load thresholds: Warning ≥ 9.0, Critical ≥ 10.0
|
||||
|
||||
Reference in New Issue
Block a user