Expand description
The event sinks razeri ships, implemented against the same public traits a third-party sink uses — nothing here has access a plugin author lacks.
| Sink | Type | Writes to |
|---|---|---|
stdout::StdoutSink | stdout | the error output, one line of JSON per event |
jsonl::JsonlSink | jsonl | a file, one line of JSON appended per event |
Neither is submitted for auto-discovery, so a registry built
with_auto_discovered()
holds neither: a program registers the one it wants, or builds it with
create_sink from an EventSinkConfig. No sink here sends events to
an HTTP endpoint.
Modules§
- jsonl
- JSONL file sink — appends events as newline-delimited JSON.
- stdout
- Stdout event sink — writes events as JSON to stderr.
Structs§
- Event
Sink Config - Sink configuration entry — matches the agent YAML schema.
Functions§
- create_
sink - Create a concrete
EventSinkfrom a config entry.