Struct tracing_fluentd::Builder [−][src]
Expand description
Builder to enable forwarding tracing events towards the fluentd server.
Type params
F- Attributes formatter, determines how to composefluent::Record.A- function that returnsFluentdwrter. Default is to create tcp socket towards127.0.0.1:24224with timeout of 1s.
Implementations
Configures to flatten span/metadata attributes within record. Instead of the default nesting behavior.
Provides callback to get writer where to write records.
Normally fluentd server expects connection to be closed immediately upon sending records. hence created writer is dropped immediately upon writing being finished.
Auto Trait Implementations
impl<F, A> RefUnwindSafe for Builder<F, A> where
A: RefUnwindSafe,
F: RefUnwindSafe, impl<F, A> UnwindSafe for Builder<F, A> where
A: UnwindSafe,
F: UnwindSafe,