Skip to content

Apply error-tracking suppression rules from remote config #636

Description

@ioannisj

Extracted from PostHog/posthog#43012.

Problem

Suppression rules already ship end to end (backend model, API, remote-config delivery, settings UI) and posthog-js enforces them, but the Android SDK ignores errorTracking.suppressionRules, so rules set in the UI don't affect Android events.

Scope

  • Read suppressionRules from remote config, persist them, and drop matching exceptions before capture.
  • Match on $exception_list type and value with the same operator and AND/OR semantics as the web SDK (posthog-js packages/browser/src/posthog-exceptions.ts).

SDK only, no backend or frontend work. The web matcher currently ignores the per-rule samplingRate (boolean drop only); match that for now.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions