#tracing-layer #tracing #logging-tracing #spans #export #exporting #alpha

venator

A tracing layer for exporting logs and spans to the Venator app

1 unstable release

0.1.0 Sep 12, 2024

#2 in #exporting

Download history 80/week @ 2024-09-10 14/week @ 2024-09-17 11/week @ 2024-09-24 14/week @ 2024-10-01

51 downloads per month

MIT license

16KB
357 lines

The Venator library provides a tracing layer that will export logs and spans to the Venator app.

This is currently in an "alpha" state; bugs, quirks, and missing functionality are to be expected. Bug reports and feature requests are welcome.

Usage

[dependencies]
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
venator = "0.1.0"
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
use venator::Venator;

tracing_subscriber::registry()
    .with(Venator::builder()
    	.with_host("localhost:8362")         // optional, this is the default
    	.with_attribute("service", "my_app") // provide any top-level attributes
    	.build()
    )
    .init();

Dependencies

~2.5–8MB
~65K SLoC