Skip to content

Commit 9e9174c

Browse files
authored
feat(core): Add ignored client report event drop reason (#18815)
This PR adds `ignored` as a new allowed client report discard reason. The new reason can already be used (see [ticket](https://linear.app/getsentry/issue/FE-678/add-new-ignore-discard-reason-for-client-reports) for details). Technically, we only need it right now for span-first to record `ignoreSpans` hits. But this reason also meant for more telemetry types, so we can merge it into develop already.
1 parent 4d66d52 commit 9e9174c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/types-hoist/clientreport.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ export type EventDropReason =
99
| 'sample_rate'
1010
| 'send_error'
1111
| 'internal_sdk_error'
12-
| 'buffer_overflow';
12+
| 'buffer_overflow'
13+
| 'ignored';
1314

1415
export type Outcome = {
1516
reason: EventDropReason;

0 commit comments

Comments
 (0)