mecha10-nodes-diagnostics 0.1.22

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 binary

use anyhow::Result;
use mecha10_nodes_diagnostics::DiagnosticsNode;

#[tokio::main]
async fn main() -> Result<()> {
    // Initialize logging
    tracing_subscriber::fmt().with_target(false).with_level(true).init();

    // Create and run diagnostics node
    let node = DiagnosticsNode::new().await?;
    node.run().await?;

    Ok(())
}