internal/aggergate: make HLL state path configurable

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8ff8ef25ad945aae918bea97ee39d7ea6a6a6964
This commit is contained in:
raf 2026-03-01 19:23:19 +03:00
commit 2ef2dabf93
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
5 changed files with 167 additions and 63 deletions

View file

@ -98,3 +98,6 @@ server:
metrics_path: "/metrics"
# Event ingestion endpoint
ingestion_path: "/api/event"
# Path to persist HyperLogLog state (default: /var/lib/watchdog/hll.state)
# Ensures unique visitor counts survive restarts
state_path: "/var/lib/watchdog/hll.state"