Add classifier hits and alerts pipeline
Add NATS subjects + ClickHouse tables for classifier hits/alerts, evaluate sweep/spike rules in compute, expose API/WS endpoints, and cover storage helpers with tests.
This commit is contained in:
parent
ad58c62c37
commit
58485b4d97
11 changed files with 861 additions and 8 deletions
|
|
@ -48,3 +48,7 @@ EMIT_INTERVAL_MS=1000
|
|||
# Compute consumer behavior
|
||||
COMPUTE_DELIVER_POLICY=new
|
||||
COMPUTE_CONSUMER_RESET=false
|
||||
CLASSIFIER_SWEEP_MIN_PREMIUM=50000
|
||||
CLASSIFIER_SWEEP_MIN_COUNT=3
|
||||
CLASSIFIER_SPIKE_MIN_PREMIUM=25000
|
||||
CLASSIFIER_SPIKE_MIN_SIZE=500
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue