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

Report publishing-api metrics to prometheus hourly #2236

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

richardTowers
Copy link
Contributor

22 minutes past the hour is a random choice. Choosing a random value rather than 0 to avoid a situation where everything happens exactly on the hour causing load spikes.

Depends on alphagov/publishing-api#2828

22 minutes past the hour is a random choice. Choosing a random value
rather than 0 to avoid a situation where everything happens exactly on
the hour causing load spikes.
@richardTowers richardTowers force-pushed the publishing-api-report-metrics-cron branch from 07dee66 to 8f078dc Compare August 2, 2024 12:31
@richardTowers richardTowers marked this pull request as ready for review August 2, 2024 14:08
@richardTowers richardTowers merged commit 3a57fb4 into main Aug 5, 2024
4 checks passed
@richardTowers richardTowers deleted the publishing-api-report-metrics-cron branch August 5, 2024 11:15
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