288ec178ac
- Nouveau module mqtt.rs : connexion broker, publish QoS 0, reconnexion auto - Topics : sentinelmesh/<hostname>/metrics/realtime|medium et events - Config : section mqtt (enabled, broker, port, topic_prefix, client_id) - Publié sur : collecte temps réel, medium, boot, événements système - Désactivé par défaut (mqtt.enabled: false) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
574 B
TOML
19 lines
574 B
TOML
[package]
|
|
name = "agent-metric"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
tokio = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
axum = "0.8"
|
|
serde_yaml = "0.9"
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
sysinfo = "0.32"
|
|
rumqttc = "0.24"
|