You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add failed_request_status_codes for more web frameworks #3134
Note that this might be tricky since we don't alert based on status codes in some frameworks, but rather internal exceptions happening in request handlers.
Failed request status codes
failed_request_status_codes is a set of status codes. Examples:
{500} will only send events on HTTP 500.
{400, *range(500, 600)} will send events on HTTP 400 as well as the 5xx range.
{500, 503} will send events on HTTP 500 and 503.
set() (the empty set) will not send events for any HTTP status code.
Note that this might be tricky since we don't alert based on status codes in some frameworks, but rather internal exceptions happening in request handlers.
We will first implement this feature for any frameworks where we do alert based on status codes, before moving onto frameworks where we capture the exceptions
Activity
syserr0r commentedon Jun 7, 2024
Having this feature for the Django integration would be very helpful to us, if possible
szokeasaurusrex commentedon Sep 6, 2024
We will first implement this feature for any frameworks where we do alert based on status codes, before moving onto frameworks where we capture the exceptions