pulseengine_mcp_monitoring/
config.rs

1//! Monitoring configuration
2
3use serde::{Deserialize, Serialize};
4
5/// Monitoring configuration
6#[derive(Debug, Clone, Serialize, Deserialize)]
7pub struct MonitoringConfig {
8    /// Enable metrics collection
9    pub enabled: bool,
10    /// Metrics collection interval in seconds
11    pub collection_interval_secs: u64,
12    /// Enable performance monitoring
13    pub performance_monitoring: bool,
14    /// Enable health checks
15    pub health_checks: bool,
16}
17
18impl Default for MonitoringConfig {
19    fn default() -> Self {
20        Self {
21            enabled: true,
22            collection_interval_secs: 60,
23            performance_monitoring: true,
24            health_checks: true,
25        }
26    }
27}