pub struct OtlpConfig {
pub enabled: bool,
pub endpoint: String,
pub headers: HashMap<String, String>,
pub timeout_secs: u64,
pub tls_enabled: bool,
}
Expand description
OTLP (OpenTelemetry Protocol) exporter configuration
Fields§
§enabled: bool
Enable OTLP exporter
endpoint: String
OTLP endpoint URL
headers: HashMap<String, String>
Optional headers for authentication
timeout_secs: u64
Timeout for exports
tls_enabled: bool
Use TLS
Trait Implementations§
Source§impl Clone for OtlpConfig
impl Clone for OtlpConfig
Source§fn clone(&self) -> OtlpConfig
fn clone(&self) -> OtlpConfig
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 moreSource§impl Debug for OtlpConfig
impl Debug for OtlpConfig
Source§impl<'de> Deserialize<'de> for OtlpConfig
impl<'de> Deserialize<'de> for OtlpConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OtlpConfig
impl RefUnwindSafe for OtlpConfig
impl Send for OtlpConfig
impl Sync for OtlpConfig
impl Unpin for OtlpConfig
impl UnwindSafe for OtlpConfig
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