uptime-kuma/server/model
circlecrystalin 4a4f91e36b Refactor numeric history to use aggregation tables (same approach as ping)
- Add numeric_value, numeric_min, numeric_max fields to stat_minutely, stat_hourly, stat_daily tables
- Modify UptimeCalculator to aggregate numeric values instead of storing directly
- Update monitor.js and SNMP monitor to pass numeric values to uptime calculator
- Update chart handler to query from aggregated stat tables instead of monitor_numeric_history
- Add cleanup logic for monitor_numeric_history table (keeps last 7 days for transition)
- Fixes GC issue where monitor_numeric_history table was never cleaned up
- Prevents UI performance issues for long-running monitors
2026-01-16 12:11:16 +01:00
..
api_key.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
docker_host.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
domain_expiry.js fix: allow for private domains like example.local and others (#6711) 2026-01-14 17:13:53 +00:00
group.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
heartbeat.js chore: preemptivly reduce the cost to store the responses by lowering the limit and changing the on disk compression format (#6691) 2026-01-13 01:23:06 +00:00
incident.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
maintenance.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
monitor.js Refactor numeric history to use aggregation tables (same approach as ping) 2026-01-16 12:11:16 +01:00
proxy.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
remote_browser.js Feature: remote browser support (#3904) 2023-12-01 15:29:10 +08:00
status_page.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
tag.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00
user.js chore: enable formatting over the entire codebase in CI (#6655) 2026-01-09 02:10:36 +01:00