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

backfill missed data due to error from querying analytics #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pciang
Copy link

@pciang pciang commented Feb 28, 2023

Description

We are occasionally seeing 0 request count minute-by-minute in cloudflare_zone_* timeseries as shown in the first screenshot below due to graphql: Internal server error. This PR backfills the missing data in the subsequent interval by taking into account the last minute that it was successful, in the GraphQL query. Request count would appear to have doubled in the next interval, as shown in the second screenshot, but in reality it actually accounts for the missing data in the previous interval. This does not implement a retry mechanism because CloudFlare has imposed a strict rate-limiting.

Screenshot 2023-02-28 at 21 11 04

Screenshot 2023-02-28 at 21 15 30

@jay-kothari
Copy link

Hello Team, Can someone please review this PR? This change will be super useful

@jay-kothari
Copy link

@martinhaus Can you please review and merge this?

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.

2 participants