Takaro - v0.4.11
    Preparing search index...

    Type Alias AddRequestDataToEventOptions

    Options deciding what parts of the request to use when enhancing an event

    type AddRequestDataToEventOptions = {
        deps?: {
            cookie: { parse: (cookieStr: string) => Record<string, string> };
            url: { parse: (urlStr: string) => { query: string | null } };
        };
        include?: {
            ip?: boolean;
            request?: boolean
            | typeof DEFAULT_REQUEST_INCLUDES[number][];
            transaction?: boolean | TransactionNamingScheme;
            user?: boolean | typeof DEFAULT_USER_INCLUDES[number][];
        };
    }
    Index

    Properties

    Properties

    deps?: {
        cookie: { parse: (cookieStr: string) => Record<string, string> };
        url: { parse: (urlStr: string) => { query: string | null } };
    }

    Injected platform-specific dependencies

    include?: {
        ip?: boolean;
        request?: boolean | typeof DEFAULT_REQUEST_INCLUDES[number][];
        transaction?: boolean | TransactionNamingScheme;
        user?: boolean | typeof DEFAULT_USER_INCLUDES[number][];
    }

    Flags controlling whether each type of data should be added to the event