backet \ detection window for pattern analytic unit #83
Closed
opened 2 years ago by glitch4347
·
4 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Only threshold can work without "window": it takes one datapoint from metric and checks if it falls over threshold. In case of pattern and anomaly detector it's impossible to make detection on one datapoint, so we need to define the size of the window which could be used for pattern / anomaly detection. Supposedly, we need to
get_detection_window
fromAnalyticUnit
trait.DetectionRunner::run
with of sizeget_detection_window
This task is about pattern analytic unit only, anomaly unit implementation in https://github.com/hastic/hastic/issues/84
the change should not (obviously) brake threshold detector
also this logic on window should work with
DETECTION_STEP
-- we need update the window periodically. It's a bit not obvious where we should takeDETECTION_STEP
: from metric service or it should be a new method inAnalyticUnit
trait@rozetko what do you think
(for now we agreed to take
DETECTION_STEP
frommetric_service
)I also noticed that in method
DetectionRunner::run
fieldt_from
andt_to
are not updated, soDetectionRunner
doesn't work even for thresholds :)