Skip to main content

Module inspector

Module inspector 

Source
Expand description

Stream inspector and fault-injection surface for stream-core.

This module supplies the concrete observability behavior layered over the streaming fabric: a point-in-time StreamInspectorSnapshot of a live stream’s health, the StreamInspectorStatus lifecycle classification derived from runtime StreamStats, and a fault model (StreamFaultKind, StreamFaultSpec, StreamFaultPlan, StreamFaultResult) that tooling uses to inject or simulate degraded delivery. Snapshots and plans render to the kernel Expr graph so the same data round-trips through any codec surface, and the symbol helpers expose the stable Symbol vocabulary tooling matches against.

Structs§

StreamFaultPlan
An ordered list of faults to apply to a stream’s item sequence.
StreamFaultResult
Outcome of applying a StreamFaultPlan to a sequence of items.
StreamFaultSpec
A single fault to apply, paired with a repetition count.
StreamInspectorSnapshot
Point-in-time observation of a single stream’s identity and health.

Enums§

StreamFaultKind
Kind of fault a StreamFaultPlan can inject into a stream.
StreamInspectorStatus
Lifecycle classification of an observed stream.

Functions§

ensure_fault_supported
Checks that a fault kind is in the supported set, erroring otherwise.
stream_fault_symbols
Returns every StreamFaultKind symbol as a fixed-size array.
stream_inspector_model_symbol
Returns the versioned model tag stamped into inspector snapshots.
stream_inspector_route_local_symbol
Returns the route symbol denoting a locally observed stream.
stream_inspector_status_symbols
Returns every StreamInspectorStatus symbol as a fixed-size array.