Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hum: fix negative missing observation count #370

Merged
merged 4 commits into from
Sep 4, 2024

Conversation

bingyuyap
Copy link
Contributor

This PR fixes negative observation count in the historical uptime monitor. It seems like RockawayX is sending duplicated observations really quickly such that the bigtable checks are not catching them. Additional dedup logic is needed when calculating missing observations.

This PR also:

  • increases obsC buffer
  • add monitor to check on obsC buffer utilization
    for further debugging for the dropped observations bug

@bingyuyap bingyuyap requested a review from panoel September 2, 2024 20:39
@bingyuyap bingyuyap force-pushed the bing/hum-negative-obs-count branch 2 times, most recently from 4c0a8da to ee51cde Compare September 3, 2024 06:52
panoel
panoel previously approved these changes Sep 4, 2024
bruce-riley
bruce-riley previously approved these changes Sep 4, 2024
hum: improve decrement missing obs

hum: cleanup

Signed-off-by: bingyuyap <[email protected]>
Signed-off-by: bingyuyap <[email protected]>
hum: fix tests

hum: add tests for flushing

hum: clean up

hum: final clean up

Signed-off-by: bingyuyap <[email protected]>
Signed-off-by: bingyuyap <[email protected]>
@bingyuyap bingyuyap force-pushed the bing/hum-negative-obs-count branch from 212f1d3 to e20d2f1 Compare September 4, 2024 17:39
@bingyuyap bingyuyap merged commit 2fe3486 into main Sep 4, 2024
3 checks passed
@bingyuyap bingyuyap deleted the bing/hum-negative-obs-count branch September 4, 2024 17:46
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.

3 participants