pub struct Config {
pub endpoint: String,
pub name: String,
pub rate: f64,
}Expand description
Configuration for exporting traces to an OTLP endpoint.
Fields§
§endpoint: StringThe OTLP endpoint to export traces to.
name: StringThe service name to use for the traces.
rate: f64The sampling rate to use for the traces.
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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