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§
- Stream
Fault Plan - An ordered list of faults to apply to a stream’s item sequence.
- Stream
Fault Result - Outcome of applying a
StreamFaultPlanto a sequence of items. - Stream
Fault Spec - A single fault to apply, paired with a repetition count.
- Stream
Inspector Snapshot - Point-in-time observation of a single stream’s identity and health.
Enums§
- Stream
Fault Kind - Kind of fault a
StreamFaultPlancan inject into a stream. - Stream
Inspector Status - 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
StreamFaultKindsymbol 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
StreamInspectorStatussymbol as a fixed-size array.