Crate tracing_fluentd

source ·
Expand description

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);

Modules

  • Fluentd forward protocol definitions.

Structs

  • Builder to enable forwarding tracing events towards the fluentd server.
  • Policy to insert span data as flattent object.
  • Guard that flushes and terminates fluentd worker.
  • tracing’s Layer
  • Policy to insert span data as object.

Traits