From 98afb199454275baa2bc2f93fdd72ee99ab41134 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Tue, 21 Oct 2025 18:51:31 +0200 Subject: [PATCH] Remove unused ProcessConfig from collector configuration --- agent/src/config/mod.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/agent/src/config/mod.rs b/agent/src/config/mod.rs index 201b833..af22f8f 100644 --- a/agent/src/config/mod.rs +++ b/agent/src/config/mod.rs @@ -35,7 +35,6 @@ pub struct CollectorConfig { pub cpu: CpuConfig, pub memory: MemoryConfig, pub disk: DiskConfig, - pub processes: ProcessConfig, pub systemd: SystemdConfig, pub smart: SmartConfig, pub backup: BackupConfig, @@ -87,13 +86,6 @@ pub struct FilesystemConfig { 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 #[derive(Debug, Clone, Serialize, Deserialize)]