mwg API
    Preparing search index...

    Interface TelemetryOptions

    interface TelemetryOptions {
        allowedProperties?: readonly string[];
        allowInsecure?: boolean;
        endpoint: string;
        fetch?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        maxProperties?: number;
        maxResponseBytes?: number;
        maxStringLength?: number;
        timeoutMs?: number;
    }

    Hierarchy (View Summary)

    Index
    allowedProperties?: readonly string[]

    the only property names sent, when given; any other is dropped

    allowInsecure?: boolean

    accept http:// to a host other than this machine; off by default

    endpoint: string
    fetch?: {
        (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
        (input: string | URL | Request, init?: RequestInit): Promise<Response>;
    }

    Type Declaration

      • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
      • Parameters

        • input: URL | RequestInfo
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | URL | Request, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | URL | Request
        • Optionalinit: RequestInit

        Returns Promise<Response>

    maxProperties?: number

    most properties one event carries; the rest are dropped. Default 32

    maxResponseBytes?: number

    largest response body read, in bytes; defaults to 10 MB

    maxStringLength?: number

    longest string sent (event name, property name or value), in characters; a longer one is cut there. Default 256

    timeoutMs?: number