Setu-TS
    Preparing search index...

    Interface DiagnosticsSnapshot

    An immutable, bounded snapshot of application composition.

    The nodes/edges arrays are complete projections of collector-owned data at read time; when topology or the serialized size exceeded the kernel's fixed v1 limits, later entries are omitted and truncated is set. The exact UTF-8 byte length of the compact JSON.stringify of this object is bounded by the kernel's snapshot budget, so a consumer can treat JSON.stringify(snapshot) as a bounded response body.

    0.8.0

    interface DiagnosticsSnapshot {
        droppedEvents: number;
        edges: readonly DiagnosticsEdge[];
        failureCode: DiagnosticsFailureCode | null;
        instanceId: string | null;
        nodes: readonly DiagnosticsNode[];
        state: DiagnosticsSnapshotState;
        truncated: boolean;
        version: 1;
    }
    Index
    droppedEvents: number

    Count of events dropped before entering the event buffer (saturated).

    edges: readonly DiagnosticsEdge[]

    Declared and observed relationships between nodes.

    failureCode: DiagnosticsFailureCode | null

    Bounded failure code after a startup or shutdown failure; null otherwise.

    instanceId: string | null

    Process-instance UUID, assigned once the runtime is registered; null before that.

    nodes: readonly DiagnosticsNode[]

    Composition nodes (plugins, capabilities, routes, middleware).

    Coarse application state.

    truncated: boolean

    true when topology or the snapshot budget caused entries to be omitted.

    version: 1

    Contract version.