null last detection case #56

Open
opened 2 years ago by glitch4347 · 2 comments
glitch4347 commented 2 years ago (Migrated from github.com)
Owner

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?

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?
rozetko commented 2 years ago (Migrated from github.com)
Owner

@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 to now
Also, we can run historical detections only on a visible timerange

@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` to `now` Also, we can run historical detections **only** on a visible timerange
glitch4347 commented 2 years ago (Migrated from github.com)
Owner

In this task should be implemented getting info about the last detection for the analytic unit

In this task should be implemented getting info about the last detection for the analytic unit
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.