null last detection case #56
Open
opened 3 years ago by glitch4347
·
2 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?
When analytic unit is just created, then
last_detection
is null. So the question is froim which timestamp I should start detections when I start detection runner first time.@rozetko what do you think?
@glitch4347
I think it'd be a good idea to split up detections into "historical" and "realtime" because non-separate detections have introduced a lot of development problems earlier
In this case, we can define some constant timerange (e.g. 30 minutes, or even configurable / dependent on datapoints interval) and start realtime detections from
now-30m
tonow
Also, we can run historical detections only on a visible timerange
In this task should be implemented getting info about the last detection for the analytic unit