pub struct OtelInstrumentation {
pub tracer: SdkTracer,
pub metrics: GenAiMetrics,
pub content: ContentCaptureSettings,
pub root_parent: Option<Context>,
pub agent_name: Option<String>,
}Expand description
The process-wide export pipeline — tracer, meters, and the capture and parenting policy every span it produces inherits.
Fields§
§tracer: SdkTracer§metrics: GenAiMetrics§content: ContentCaptureSettings§root_parent: Option<Context>§agent_name: Option<String>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OtelInstrumentation
impl !UnwindSafe for OtelInstrumentation
impl Freeze for OtelInstrumentation
impl Send for OtelInstrumentation
impl Sync for OtelInstrumentation
impl Unpin for OtelInstrumentation
impl UnsafeUnpin for OtelInstrumentation
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