You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[probestatus] Potential bug in timeseries when probe interval is larger than 1 min #1231
This affects the probe status table on the /status page. If probe interval is larger than the default timeseries resolution (1m), we might not get a true picture when looking for status for time windows.
If the timeseries is configured for a 1-minute resolution (res = time.Minute), but data only arrives every 5 minutes, here is exactly how it will behave:
addDatum compresses the logical time When your data arrives 5 minutes apart, new bucket time will be 5 minutes after ts.currentTS. Instead of allocating 5 buckets to accurately reflect the 5-minute gap, it will advance ts.latest only by 1 slot
When you later query the timeseries delta for a duration (e.g. td = 15m), computeDelta relies on the array being strictly contiguous by 1 minute increments.
Activity
[timeseries] Fix a bug in timeseries (#1232)
[timeseries] Fix a bug in timeseries (cloudprober#1232)