Documentation (master) Build Status License

tracing subscriber for use with honeycomb.io distributed tracing. Supports generating random trace IDs or recording known trace IDs on the current span.

```rust let honeycombconfig = libhoney::Config { options: libhoney::client::Options { apikey: "MY-API-KEY", dataset: "my-dataset-name".tostring(), ..libhoney::client::Options::default() }, transmissionoptions: libhoney::transmission::Options::default(), };

let subscriber = TelemetrySubscriber::new("my-service-name".tostring(), honeycombconfig); // filter out tracing noise let subscriber = LevelFilter::INFO.withsubscriber(subscriber); tracing::subscriber::setglobal_default(subscriber).expect("setting global default failed"); ```