pub struct OtelConfig {
pub service_name: String,
pub exporter_type: String,
pub sampling_rate: f64,
pub batch_size: usize,
}👎Deprecated since 0.2.0: Use ObservabilityBuilder instead
Expand description
OTel configuration (legacy)
Fields§
§service_name: String👎Deprecated since 0.2.0: Use ObservabilityBuilder instead
Service name
exporter_type: String👎Deprecated since 0.2.0: Use ObservabilityBuilder instead
Exporter type
sampling_rate: f64👎Deprecated since 0.2.0: Use ObservabilityBuilder instead
Sampling rate
batch_size: usize👎Deprecated since 0.2.0: Use ObservabilityBuilder instead
Batch size
Trait Implementations§
Source§impl Clone for OtelConfig
impl Clone for OtelConfig
Source§fn clone(&self) -> OtelConfig
fn clone(&self) -> OtelConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OtelConfig
impl RefUnwindSafe for OtelConfig
impl Send for OtelConfig
impl Sync for OtelConfig
impl Unpin for OtelConfig
impl UnwindSafe for OtelConfig
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