Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/docs/sdk/client-reports.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ The following discard reasons are currently defined for `discarded_events`:
- `sample_rate`: an event was dropped because of the configured sample rate.
- `before_send`: an event was dropped in `before_send`
- `event_processor`: an event was dropped by an event processor; may also be used for ignored exceptions / errors
- `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)

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