watchdog/internal
NotAShelf d1181d38f0
watchdog: add log sanitization and request tracking
Stuff to prevent possible log injection attacks via weird characters,
now sanitized with `strconv` stuff.

- X-Request-ID is now traced in ingestion handler
- ValidateWithMap renamed to Validate (xd)
- Some new tests :D

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I286ec399a5c4a407f0cc117472c079446a6a6964
2026-03-10 08:43:53 +03:00
..
aggregate aggreggate/uniques: use string builder for hashing 2026-03-10 08:43:50 +03:00
api watchdog: add log sanitization and request tracking 2026-03-10 08:43:53 +03:00
config internal/aggergate: make HLL state path configurable 2026-03-02 22:38:19 +03:00
health various: add internal health and runtime metrics 2026-03-02 22:38:28 +03:00
limits various: extract magic numbers into named constants 2026-03-02 22:38:24 +03:00
normalize various: extract magic numbers into named constants 2026-03-02 22:38:24 +03:00
ratelimit internal/ratelimit: prevent time drift in TokenBucket refills 2026-03-02 22:38:23 +03:00