monitor-api - v1.8.0
    Preparing search index...

    Interface ProductionReportRequest

    Serialized report handed to a custom production transport.

    interface ProductionReportRequest {
        body: string;
        endpoint: string;
        headers: Readonly<Record<string, string>>;
        keepalive: boolean;
        payload: unknown;
        signal?: AbortSignal;
    }
    Index

    Properties

    body: string

    JSON-serialized report body.

    endpoint: string

    Configured destination identifier or URL.

    headers: Readonly<Record<string, string>>

    Final headers after applying monitor defaults and user overrides.

    keepalive: boolean

    True for the final report sent while the page is being hidden or unloaded. Such a request must outlive the page, for example through fetch with keepalive or navigator.sendBeacon.

    payload: unknown

    Transformed report value before JSON serialization.

    signal?: AbortSignal

    Aborted on timeout, stop, or destroy. Custom transports should honor cancellation.