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

Commit

Permalink
docs(sdk): Add insufficient_data reason for client discard
Browse files Browse the repository at this point in the history
Mention new insufficient_data reason for client discard introduced in getsentry/snuba#4407.
  • Loading branch information
Zylphrex committed Jun 26, 2023
1 parent b54b33d commit 6ec110b
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 @@ -100,6 +100,7 @@ The following discard reasons are currently defined for `discarded_events`:
- `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)
- `insufficient_data`: an event was dropped due to a lack of data in the event (eg: not enough samples in a profile)

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 6ec110b

Please sign in to comment.