p2pfl.management.node_monitor moduleΒΆ Node monitor. class p2pfl.management.node_monitor.NodeMonitor(report_fn)[source]ΒΆ Bases: Thread Node monitor thread. Parameters: node_addr β Node address. metric_report_callback β Metric report callback. get_logs()[source]ΒΆ Get the logs. Return type: Dict[datetime, Dict[str, float]] run()[source]ΒΆ Run the node monitor. Return type: None set_report_fn(report_fn)[source]ΒΆ Set the report function. Return type: None stop()[source]ΒΆ Stop the node monitor. Return type: None