pub struct OTelHooks {
pub span_processors: Option<Vec<Value>>,
pub metric_readers: Option<Vec<Value>>,
pub log_record_processors: Option<Vec<Value>>,
}Expand description
Configuration hooks for OpenTelemetry setup. This interface defines the structure for configuring OpenTelemetry components including span processors, metric readers, and log record processors.
Fields§
§span_processors: Option<Vec<Value>>§metric_readers: Option<Vec<Value>>§log_record_processors: Option<Vec<Value>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for OTelHooks
impl RefUnwindSafe for OTelHooks
impl Send for OTelHooks
impl Sync for OTelHooks
impl Unpin for OTelHooks
impl UnwindSafe for OTelHooks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more