Expand description
TelemetrySink trait and the three built-in implementations.
Structs§
- File
Sink - Appends events as JSON Lines to a file. Parent directories are created on demand.
- Memory
Sink - In-memory sink for tests. Events are appended in emit order and
inspectable via
MemorySink::snapshot. - Noop
Sink - 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§
- Telemetry
Sink - Backend-agnostic sink for
Eventvalues.