mecha10_nodes_diagnostics/
lib.rs

1//! Diagnostics Node
2//!
3//! Publishes Docker container and system resource metrics to diagnostic topics.
4
5pub mod node;
6
7pub use node::DiagnosticsNode;
8
9/// Run the diagnostics node
10///
11/// This is the entry point used by the generated node registry.
12pub async fn run() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
13    let node = DiagnosticsNode::new().await?;
14    node.run().await?;
15    Ok(())
16}