watchdog/internal/aggregate
NotAShelf 7ecc03ac19
various: cleanup
Fixes a status code conflict in `LimitedResponseWriter`, and a clock
skew bug that I probably introduced last time I dealt with time. I hate
computers.

We now use `tie.Since()`, which employs a monotonic clock that is immune
to system wall clock changes. 

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iec3147c21c5a295170f48cbf1a4620596a6a6964
2026-05-25 10:19:21 +03:00
..
custom_events.go various: standardize registry APIs; truncate metrics responses at 10MB 2026-03-10 13:19:43 +03:00
metrics.go internal/aggregate: handle empty country labels; default to 'unknown' 2026-03-10 13:19:41 +03:00
metrics_test.go various: resolve linter warnings 2026-03-07 10:04:30 +03:00
registry.go internal/aggregate: optimize path registry for read-heavy workloads 2026-03-02 22:38:02 +03:00
registry_test.go internal: add bounded path registry to prevent cardinality explosion 2026-03-02 22:37:52 +03:00
uniques.go various: cleanup 2026-05-25 10:19:21 +03:00
uniques_test.go internal/aggregate: implement hourly salt rotation for unique visitors 2026-03-07 08:48:32 +03:00