venator

Crates.iovenator
lib.rsvenator
version0.1.0
sourcesrc
created_at2024-09-12 04:27:24.769193
updated_at2024-09-12 04:27:24.769193
descriptionA tracing layer for exporting logs and spans to the Venator app
homepage
repositoryhttps://github.com/kmdreko/venator
max_upload_size
id1372475
size15,054
Trevor Wilson (kmdreko)

documentation

README

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();
Commit count: 0

cargo fmt