use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(default)]
pub struct MonitoringConfig {
pub enabled: bool,
pub collection_interval_secs: u64,
pub performance_monitoring: bool,
pub health_checks: bool,
}
impl Default for MonitoringConfig {
fn default() -> Self {
Self {
enabled: true,
collection_interval_secs: 60,
performance_monitoring: true,
health_checks: true,
}
}
}