Description
emit is a framework for adding diagnostics to Rust applications. Diagnostics are represented as events that combine an extent, which is when the event occurred or how long it was active, a template that describes the event and supports property interpolation, and a set of structured properties that capture the context around it. Using these events you can write structured logs, trace function execution and take part in distributed tracing, and surface live metrics. The guide says emit's design goal is low ceremony and low cognitive load, with configuration that is straightforward and operation that is transparent. It is meant for Rust applications rather than public libraries, because its opinionated data model, dependencies and procedural macros make it unattractive for libraries. The guide lists the supported Rust toolchains and a stability section, and links to the source code on GitHub, a set of task-oriented examples and the API docs.…
Highlights
- Structured diagnostic events
- Message templates with property interpolation
- Logging and function tracing
- Distributed tracing
- Live metrics from events
Ratings & Reviews
No ratings yet
Be the first to rate Emit.
People also visit

Autometrics RS
Easily add metrics to your code that actually help you spot and debug issues…
Emit FAQ
What is emit?
A Rust framework for adding diagnostics to applications, built on structured events and message templates.
Who is it for?
Rust applications. The guide says it is not intended for public libraries.
What can I do with it?
Log structured events, trace function execution, take part in distributed tracing, and surface live metrics.
Where can I learn more?
The guide links to the source on GitHub, a set of task-oriented examples and the API docs.
What are the best Emit alternatives?
Popular alternatives to Emit include Venator, Metered RS and evlog. See all Emit alternatives


