Skip to content

Commit

Permalink
Add ignored discard reason (#2204)
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor authored Aug 1, 2024
1 parent a8b5483 commit 72eeb80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dart/lib/src/client_reports/discard_reason.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ enum DiscardReason {
queueOverflow,
cacheOverflow,
rateLimitBackoff,
ignored,
}
2 changes: 2 additions & 0 deletions dart/lib/src/client_reports/discarded_event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ extension _OutcomeExtension on DiscardReason {
return 'cache_overflow';
case DiscardReason.rateLimitBackoff:
return 'ratelimit_backoff';
case DiscardReason.ignored:
return 'ignored';
}
}
}
Expand Down

0 comments on commit 72eeb80

Please sign in to comment.