watchdog/testdata/config.valid.yaml
NotAShelf ce848ed6f0
internal: add bounded path registry to prevent cardinality explosion
"cardinality explosion" would make for an epic rock band name...

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I53cceb00ab9b17039b1fb1389977bf6b6a6a6964
2026-03-02 22:37:52 +03:00

27 lines
492 B
YAML

site:
domain: example.com
salt_rotation: daily
collect:
pageviews: true
country: true
device: true
referrer: classify
custom_events:
- signup
- purchase
path:
strip_query: true
strip_fragment: true
collapse_numeric_segments: true
max_segments: 5
normalize_trailing_slash: true
limits:
max_paths: 1000
max_events_per_minute: 10000
max_sources: 100
server:
listen_addr: :8080
metrics_path: /metrics
ingestion_path: /api/event