Script API - v1.21.90.25
    Preparing search index...

    Describes options for configuring Sentry for this scripting module.

    interface SentryOptions {
        debug?: boolean;
        dsn: string | SecretString;
        maxBreadcrumbs?: number;
        sampleRate?: number;
    }
    Index

    Properties

    debug?: boolean

    When set to true, additional content logging from the Sentry system will be enabled. Defaults to false.

    dsn: string | SecretString

    The fully qualified DSN for a Sentry project. See Sentry documentation for more information: https://docs.sentry.io/concepts/key-terms/dsn-explainer/

    maxBreadcrumbs?: number

    The maximum number of breadcrumbs (submitted via Sentry.addBreadcrumb) to store and report per error event to Sentry. Default is 20, supported values range from 0 (no breadcrumbs) to 100.

    sampleRate?: number

    A number between 0 and 1 that indicates the percentage of events that should be sent to Sentry. For example, a value of 0.5 means that 50% of events will be sent. Default is 1 (100% of events). 0 means no events will be sent.