Skip to main content

Module sink

Module sink 

Source
Expand description

TelemetrySink trait and the three built-in implementations.

Structs§

FileSink
Appends events as JSON Lines to a file. Parent directories are created on demand.
MemorySink
In-memory sink for tests. Events are appended in emit order and inspectable via MemorySink::snapshot.
NoopSink
Drops every event silently. Used when collection is disabled and as the default when a tool ships telemetry support but hasn’t configured a real sink.

Traits§

TelemetrySink
Backend-agnostic sink for Event values.