sentry-vir - v4.4.0
    Preparing search index...

    Function throttleEventWithLogging

    • Runs the throttle decision and, if a state transition just occurred ('started' or 'ended') and disableThrottleLog is not set, emits the corresponding Throttling started: ... / Throttling ended after suppressing N events: ... warning via sendLog.warning. Returns whether the event should be throttled (i.e. dropped).

      Parameters

      • event: Pick<TransactionEvent | ErrorEvent, "message" | "tags">
      • hint: Readonly<Pick<EventHint, "originalException">> | undefined
      • options: Readonly<PartialWithUndefined<ThrottleOptions>>

      Returns boolean