Skip to content

[probestatus] Potential bug in timeseries when probe interval is larger than 1 min #1231

Closed

Description

@manugarg

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:

  1. 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

  2. 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

  1. added
    bug
    on Feb 20, 2026
  2. added this to the v0.14.2 milestone on Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions