Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Add backpressure client report reason
Browse files Browse the repository at this point in the history
  • Loading branch information
adinauer authored Dec 12, 2023
1 parent 024c2d5 commit 136fab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/docs/sdk/client-reports.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ The following discard reasons are currently defined for `discarded_events`:
- `send_error`: an event was dropped because of an error when sending it (eg: 400 response)
- `internal_sdk_error`: an event was dropped due to an internal SDK error (eg: web worker crash)
- `insufficient_data`: an event was dropped due to a lack of data in the event (eg: not enough samples in a profile)
- `backpressure`: an event was dropped due to downsampling caused by the system being under load

In case a reason needs to be added,
it also has to be added to the allowlist in [snuba](https://github.com/getsentry/snuba/blob/4e7cfdddcf7b93eacb762bc74ca2461cec9464e5/snuba/datasets/outcomes_processor.py#L24-L34).
Expand Down

0 comments on commit 136fab4

Please sign in to comment.