VidStudio SDK reference
    Preparing search index...

    Interface MonitoringConfig

    interface MonitoringConfig {
        beforeSend?: (event: unknown, hint: unknown) => unknown;
        debug?: boolean;
        dsn?: string;
        environment?: string;
        initialContext?: Record<string, Record<string, unknown>>;
        initialTags?: Record<string, string>;
        release?: string;
        tracesSampleRate?: number;
    }
    Index
    beforeSend?: (event: unknown, hint: unknown) => unknown

    Hook to filter/modify events before sending

    debug?: boolean

    Enable debug logging

    dsn?: string

    Data source name / endpoint URL

    environment?: string

    Environment identifier (development, staging, production)

    initialContext?: Record<string, Record<string, unknown>>

    Initial context to set

    initialTags?: Record<string, string>

    Initial tags to set on all events

    release?: string

    Application version/release

    tracesSampleRate?: number

    Sample rate for performance traces (0.0 to 1.0)