footprintjs - v11.2.0
    Preparing search index...

    Interface RecordSinkStats

    getSnapshot().sink — what the run handed its sink, and what the sink did not take (10.1, P6).

    interface RecordSinkStats {
        capture?: CaptureHistoryStatus;
        entries: number;
        failed: number;
        lastError?: string;
    }
    Index

    Present only when explicit capture persistence was requested. Never inferred from an ordinary flush.

    entries: number

    Entries handed to the adapter (each opened, commit, note, closed call).

    failed: number

    Losses — a method that threw or rejected, an entry the log refused to send, a meta the log could not copy (that entry was still stored, without it), and failed or timed-out flushes. A rejection that settles after the run finished is counted when it settles.

    lastError?: string

    The last loss's error, as text. Absent while nothing was lost.