pub struct TelemetryConfig {
pub service_name: String,
pub service_version: String,
pub environment: String,
pub enable_jaeger: bool,
pub jaeger_endpoint: Option<String>,
pub enable_console: bool,
pub log_level: String,
}Expand description
Telemetry configuration
Fields§
§service_name: StringService name for identification
service_version: StringService version
environment: StringEnvironment (dev, staging, production)
enable_jaeger: boolEnable Jaeger exporter
jaeger_endpoint: Option<String>Jaeger endpoint
enable_console: boolEnable console output
log_level: StringLog level
Trait Implementations§
Source§impl Clone for TelemetryConfig
impl Clone for TelemetryConfig
Source§fn clone(&self) -> TelemetryConfig
fn clone(&self) -> TelemetryConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TelemetryConfig
impl Debug for TelemetryConfig
Auto Trait Implementations§
impl Freeze for TelemetryConfig
impl RefUnwindSafe for TelemetryConfig
impl Send for TelemetryConfig
impl Sync for TelemetryConfig
impl Unpin for TelemetryConfig
impl UnsafeUnpin for TelemetryConfig
impl UnwindSafe for TelemetryConfig
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