pub struct TelemetryConfig {
pub service_name: String,
pub service_version: String,
pub deployment_env: String,
pub log_level: String,
}Expand description
TelemetryConfig holds configuration information for initializing tracing.
Fields§
§service_name: StringThe name of your service.
service_version: StringThe version of your service.
deployment_env: StringThe deployment environment (e.g., “development”, “production”).
log_level: StringThe log level (e.g., “info”, “debug”).
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