Remove unused ProcessConfig from collector configuration
This commit is contained in:
parent
d80f2ce811
commit
98afb19945
@ -35,7 +35,6 @@ pub struct CollectorConfig {
|
|||||||
pub cpu: CpuConfig,
|
pub cpu: CpuConfig,
|
||||||
pub memory: MemoryConfig,
|
pub memory: MemoryConfig,
|
||||||
pub disk: DiskConfig,
|
pub disk: DiskConfig,
|
||||||
pub processes: ProcessConfig,
|
|
||||||
pub systemd: SystemdConfig,
|
pub systemd: SystemdConfig,
|
||||||
pub smart: SmartConfig,
|
pub smart: SmartConfig,
|
||||||
pub backup: BackupConfig,
|
pub backup: BackupConfig,
|
||||||
@ -87,13 +86,6 @@ pub struct FilesystemConfig {
|
|||||||
pub monitor: bool,
|
pub monitor: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Process collector configuration
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
|
||||||
pub struct ProcessConfig {
|
|
||||||
pub enabled: bool,
|
|
||||||
pub interval_seconds: u64,
|
|
||||||
pub top_processes_count: usize,
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Systemd services collector configuration
|
/// Systemd services collector configuration
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user