Offset Standardisation
by Martin ZerbibPreviously in Sifflet Offsets could be a bit confusing. No offset for an hourly monitor would monitor the last complete hour, and No Offset for a daily monitor would monitor the current day.
We're standardising these options for all monitor granularities
Now:
- Default Offset: 1 - A default offset of 1 will query the last complete timeslot
- Zero Offsets: Setting offsets to 0 will query the current timeslot , the current day, the current hour. This is good when your days data should be complete by a certain time or if you want to compare a value at a specific time of day!
There is no action to change anything on your side!
Data Quality as Code
While your previous configs will still work we're introducing a new parameter to streamline this. Offsets previously needed you to specify a granularity, leading to potential confusion. This new offsetPeriods
parameter will automatically account for your time period granularity.
timeWindow:
field: auto
firstRun: P365D
offsetPeriods: 2
We suggest using this version moving forward !