feat(agent-metric): implémentation Phase 3 — métriques système
- Collecte temps réel (1s) : CPU, RAM, charge réseau, top 5 processus - Collecte medium (30min) : disques via sysinfo, températures hwmon, SMART smartctl - Collecte statique (boot) : DMI/BIOS via /sys, interfaces réseau, CPU model - API locale Axum sur :9101 — GET /metrics (réaltime + medium + hardware) - Push backend : /api/v1/metrics (réaltime + medium) et /api/v1/events (hardware, boot) - Architecture modulaire : collectors/realtime, medium, static_info - ROADMAP Phase 3 marquée complète Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,10 +4,14 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
tokio = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
tracing-subscriber = { workspace = true }
|
||||
axum = "0.8"
|
||||
axum = "0.8"
|
||||
serde_yaml = "0.9"
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
sysinfo = "0.32"
|
||||
|
||||
Reference in New Issue
Block a user