Skip to content

Commit 6ac0bd9

Browse files
mydeastephanie-anderson
authored andcommitted
feat: Add client_report discard reasons send_error & internal_sdk_error (#830)
1 parent 2bd6083 commit 6ac0bd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

develop-docs/sdk/client-reports.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ The following discard reasons are currently defined for `discarded_events`:
9797
- `sample_rate`: an event was dropped because of the configured sample rate.
9898
- `before_send`: an event was dropped in `before_send`
9999
- `event_processor`: an event was dropped by an event processor; may also be used for ignored exceptions / errors
100+
- `send_error`: an event was dropped because of an error when sending it (eg: 400 response)
101+
- `internal_sdk_error`: an event was dropped due to an internal SDK error (eg: web worker crash)
100102

101103
In case a reason needs to be added,
102104
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).

0 commit comments

Comments
 (0)