Mikhail ChusavitinandClaude Sonnet 5 f31971f440 fix(webui): make metrics history immune to system-clock changes
Every sample was stamped with time.Now(), so a timezone switch or NTP
step punched a multi-hour gap into the series: old points collapsed to
the left edge, new points bunched at the right, joined by one diagonal.

Stamp rows from a monotonic seqClock instead — seeded once from the wall
clock (or the newest persisted row) and thereafter advanced only by the
monotonic elapsed time between writes. Rebase Downsample/Prune on the
newest sample rather than time.Now() so a clock step just before the
hourly compaction can't drop fresh data.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GofKhuF9xQHaz3UFfncR6D
2026-09-04 10:04:13 +03:00
2026-09-04 09:14:38 +03:00
2026-03-15 22:07:42 +03:00
S
Description
No description provided
136 MiB
Languages
Go 85.3%
Shell 12%
C++ 2.4%
C 0.2%