mecha10-nodes-diagnostics 0.1.25

Diagnostics node that publishes Docker and system resource metrics
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Diagnostics Node
//!
//! Publishes Docker container and system resource metrics to diagnostic topics.

pub mod node;

pub use node::DiagnosticsNode;

/// Run the diagnostics node
///
/// This is the entry point used by the generated node registry.
pub async fn run() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
    let node = DiagnosticsNode::new().await?;
    node.run().await?;
    Ok(())
}