pub struct MonitoringConfig {
pub enable_performance_metrics: bool,
pub enable_health_monitoring: bool,
pub enable_alerting: bool,
pub metrics_interval_secs: u64,
pub health_check_interval_secs: u64,
pub metrics_retention_days: u32,
pub alert_config: AlertConfig,
pub export_config: ExportConfig,
}Expand description
Monitoring configuration
Fields§
§enable_performance_metrics: boolEnable performance metrics collection
enable_health_monitoring: boolEnable health monitoring
enable_alerting: boolEnable alerting system
metrics_interval_secs: u64Metrics collection interval in seconds
health_check_interval_secs: u64Health check interval in seconds
metrics_retention_days: u32Metrics retention period in days
alert_config: AlertConfigAlert configuration
export_config: ExportConfigExport configuration
Trait Implementations§
Source§impl Clone for MonitoringConfig
impl Clone for MonitoringConfig
Source§fn clone(&self) -> MonitoringConfig
fn clone(&self) -> MonitoringConfig
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 MonitoringConfig
impl Debug for MonitoringConfig
Source§impl Default for MonitoringConfig
impl Default for MonitoringConfig
Source§impl<'de> Deserialize<'de> for MonitoringConfig
impl<'de> Deserialize<'de> for MonitoringConfig
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 MonitoringConfig
impl RefUnwindSafe for MonitoringConfig
impl Send for MonitoringConfig
impl Sync for MonitoringConfig
impl Unpin for MonitoringConfig
impl UnwindSafe for MonitoringConfig
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