Skip to main content

Module spawn

Module spawn 

Source
Expand description

Spawn telemetry pipeline — returns a handle and a background consumer future.

This crate never talks to the network itself. The caller supplies one or more TelemetryRecorder implementations (file, HTTP, OTLP, …); spawn wires up the channel, per-event-kind filtering (config.event_toggles), and redaction, and the consumer future fans each event out to every recorder. An empty recorder list yields a noop handle — same as enabled == false.

Structs§

TelemetryConsumer
Concrete consumer future (not type-erased, so channel rx lifetime is clear).

Enums§

SpawnError

Functions§

spawn
Create a telemetry pipeline. Returns (handle, consumer):