Documentation
    Preparing search index...

    Type Alias RumBeforeSend

    RumBeforeSend: (event: RumEvent, context: RumEventDomainContext) => boolean

    Function called before a RUM event is sent to Datadog. See RumInitConfiguration.beforeSend

    Type Declaration

      • (event: RumEvent, context: RumEventDomainContext): boolean
      • Parameters

        • event: RumEvent

          The RUM event

        • context: RumEventDomainContext

          The RUM event domain context providing access to native browser data based on the event type (e.g. error, performance entry).

        Returns boolean

        true if the event should be sent to Datadog, false otherwise