Skip to content

Emit standard prometheus event on all 429 errors#2164

Open
alastair wants to merge 2 commits into
masterfrom
429-events
Open

Emit standard prometheus event on all 429 errors#2164
alastair wants to merge 2 commits into
masterfrom
429-events

Conversation

@alastair

Copy link
Copy Markdown
Member

Description
I previously added a counter which allowed us to track search requests that were throttled due to bad requests. However we have other flows which send a 429 status too, so it'd be nice to be able to track all of them

alastair added 2 commits July 14, 2026 10:08
Instead of a search-specific event, have a general counter which can
enumerate the different types of error message. This allows us to
create alerts or graphs on a single type of rate limit.
Set reason="api_throttle" for all DRF throttle responses
Base automatically changed from daily-download-limit to master July 14, 2026 08:36
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