My datasource historical data can be updated. What is the impact for ThirdEye?
When I create an alert, do I need to wait for the first detection job run to see anomalies?
What is the timezone used by ThirdEye?
What is the alert lastTimestamp? When a detection cron job is run, what is the detection timeframe?
lastTimestamp
is the detection watermark. It corresponds to the last detection upper bound (excluded) of the alert.When an alert runs for the first time, lastTimestamp
is 0.When a detection cron job runs, the detection timeframe is computed as follows:[lastTimestamp, cronScheduleTime]
.cronScheduleTime
is the exact cron time. For instance, if you schedule the cron at 3am, cronScheduleTime = 3:00, even if the processing runtime is slightly different, like 3:01.[lastTimestamp, cronScheduleTime-completenessDelay]
[lastTimestamp, floorByGranularity(cronScheduleTime-completenessDelay)]
The goal is to avoid reading buckets that are incomplete.completenessDelay
and granularity
are optional but highly recommended.