Skip to content

Collect metrics at 2am and 2pm UTC #15

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

Merged
merged 2 commits into from
Apr 8, 2025
Merged

Conversation

julian-risch
Copy link
Member

We're using PyPIStats, which in turn relies on PyPI that provides download records as a publicly available dataset on Google's BigQuery.

Every day, the data update begins at 01:00:00 UTC and should take about 10 minutes according to https://pypistats.org/faqs

Instead of collecting data at 0 and 12 UTC, we should collect data at 2 and 14 UTC so that we get new data as soon as it becomes available.

Note that we're collecting twice a day to prevent missing any data in case one of the two workflows fail. They are expected to collect the exact same data if none of them fails.

@julian-risch julian-risch requested a review from Copilot April 8, 2025 06:30
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@julian-risch julian-risch merged commit 0fede95 into main Apr 8, 2025
@julian-risch julian-risch deleted the collect-metrics-utc branch April 8, 2025 06:31
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