Skip to content

[timeseries] Fix a bug in timeseries - #1232

Merged
manugarg merged 1 commit into
mainfrom
timeseries_fix
Feb 20, 2026
Merged

manugarg merged 1 commit into
mainfrom
timeseries_fix

Conversation

@manugarg

@manugarg manugarg commented Feb 20, 2026 •

Copy link
Copy Markdown
Contributor
  • addDatum: When we get data separated by a larger time widow than the timeseries resolution, fill the intermediate buckets with pointers to the last data.
  • computeDelta: Wait for 10 min (instead of 2 min) before considering a timeseries stale.
  • This PR also renames some variables to make them more clear. Unfortunately that creates much larger diff. Only real changes are in addDatum though.
  • Add tests for data with gaps.

This fixes the bug described in #1231

@manugarg manugarg added this to the v0.14.2 milestone Feb 20, 2026
@manugarg
manugarg merged commit e607466 into main Feb 20, 2026
9 checks passed
@manugarg
manugarg deleted the timeseries_fix branch February 20, 2026 19:29
conallob pushed a commit to conallob/cloudprober that referenced this pull request Mar 10, 2026
- `addDatum`: When we get data separated by a larger time widow than the timeseries resolution, fill the intermediate buckets with pointers to the last data. 
- `computeDelta`: Wait for 10 min (instead of 2 min) before considering a timeseries stale.
- This PR also renames some variables to make them more clear. Unfortunately that creates much larger diff. Only real changes are in addDatum though.
- Add tests for data with gaps.

This fixes the bug described in cloudprober#1231
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant