diff --git a/src/sentry/utils/outcomes.py b/src/sentry/utils/outcomes.py index 6a42958268e5..e99ee913afec 100644 --- a/src/sentry/utils/outcomes.py +++ b/src/sentry/utils/outcomes.py @@ -18,6 +18,7 @@ class Outcome(IntEnum): RATE_LIMITED = 2 INVALID = 3 ABUSE = 4 + CLIENT_DISCARD = 5 def api_name(self) -> str: return self.name.lower() diff --git a/static/app/views/organizationStats/types.tsx b/static/app/views/organizationStats/types.tsx index 439470e3d22e..895044223f8d 100644 --- a/static/app/views/organizationStats/types.tsx +++ b/static/app/views/organizationStats/types.tsx @@ -6,6 +6,7 @@ export enum Outcome { INVALID = 'invalid', DROPPED = 'dropped', RATE_LIMITED = 'rate_limited', + CLIENT_DISCARD = 'client_discard', } /** diff --git a/static/app/views/organizationStats/usageStatsOrg.tsx b/static/app/views/organizationStats/usageStatsOrg.tsx index 865d5a76adcf..c850c71a22c7 100644 --- a/static/app/views/organizationStats/usageStatsOrg.tsx +++ b/static/app/views/organizationStats/usageStatsOrg.tsx @@ -245,6 +245,7 @@ class UsageStatsOrganization extends AsyncComponent { [Outcome.DROPPED]: 0, [Outcome.INVALID]: 0, // Combined with dropped later [Outcome.RATE_LIMITED]: 0, // Combined with dropped later + [Outcome.CLIENT_DISCARD]: 0, // Not exposed yet }; orgStats.groups.forEach(group => {