Setu-TS
    Preparing search index...

    Interface QueueDiagnosticsBatch

    One page of queue observations across every registered queue source (M98f), as the diagnostics connector serves GET /v1/queues.

    state is unsupported when no queue source is registered (or the client negotiated no queue inspector), otherwise ready — per-source states are in sources. after/next/lost follow the M98a cursor contract over the connector's merge ring; lost counts only MERGE-ring eviction, while each source's own eviction is reported in its status. truncatedSources counts registered sources beyond the fixed 16-source bound that are never read, and truncatedDepths the depth observations omitted to keep the frame within its fixed 256 KiB budget. With those four counters a consumer can always say what it did not see.

    0.8.0

    interface QueueDiagnosticsBatch {
        depths: readonly QueueDepthObservation[];
        events: readonly QueueAttemptObservation[];
        instanceId: string;
        lost: number;
        next: number;
        sources: readonly QueueDiagnosticsSourceStatus[];
        state: "ready" | "unsupported";
        truncatedDepths: number;
        truncatedSources: number;
        version: 1;
    }
    Index
    depths: readonly QueueDepthObservation[]

    Latest-only depth observations across the retained sources.

    events: readonly QueueAttemptObservation[]

    Attempts with merge sequence numbers greater than the requested cursor.

    instanceId: string

    The instance UUID the batch was read for.

    lost: number

    Merge-ring sequences evicted between the requested cursor and the first returned event.

    next: number

    Last returned merge sequence, or the requested cursor when nothing was returned.

    sources: readonly QueueDiagnosticsSourceStatus[]

    One status per retained source, in registration order.

    state: "ready" | "unsupported"

    unsupported when no queue source is registered; ready otherwise.

    truncatedDepths: number

    Depth observations omitted to fit the frame budget.

    truncatedSources: number

    Registered sources beyond the 16-source bound, never read.

    version: 1

    Contract version.