#tracing #fluentd

tracing-fluentd

Enables forwarding of tracing events towards the fluentd server

5 releases

0.3.1 Jul 27, 2022
0.3.0 Feb 17, 2022
0.1.7 Feb 8, 2022
0.1.5 Aug 23, 2021
0.1.4 Jul 19, 2021

#86 in #tracing

Download history 92/week @ 2022-06-07 148/week @ 2022-06-14 172/week @ 2022-06-21 106/week @ 2022-06-28 155/week @ 2022-07-05 139/week @ 2022-07-12 187/week @ 2022-07-19 325/week @ 2022-07-26 283/week @ 2022-08-02 237/week @ 2022-08-09 262/week @ 2022-08-16 245/week @ 2022-08-23 152/week @ 2022-08-30 164/week @ 2022-09-06 99/week @ 2022-09-13 100/week @ 2022-09-20

542 downloads per month

BSL-1.0 license

31KB
678 lines

tracing-fluentd

Crates.io Documentation Build

Enables forwarding of tracing events towards the fluentd server.

Version corresponds to tracing-subscriber version.

Example

use tracing_subscriber::layer::SubscriberExt;

let layer = tracing_fluentd::Builder::new("rust").flatten().layer().expect("Create layer");
let sub = tracing_subscriber::Registry::default().with(layer);
let guard = tracing::subscriber::set_default(sub);

lib.rs:

tracing for fluentd.

Example

use tracing_subscriber::layer::SubscriberExt;

let layer = tracing_fluentd::Builder::new("rust").flatten().layer().expect("Create layer");
let sub = tracing_subscriber::Registry::default().with(layer);
let guard = tracing::subscriber::set_default(sub);

Dependencies

~3MB
~50K SLoC