sawtooth.cli.monitor module

sawtooth.cli.monitor.add_monitor_parser(subparsers, parent_parser)[source]
sawtooth.cli.monitor.default_config()[source]
sawtooth.cli.monitor.update_config(config, opts)[source]
sawtooth.cli.monitor.reactor_startup(stats_interval, endpoint_interval, stats_man, ep_man)[source]
sawtooth.cli.monitor.handle_loop_error(reason, other_reason)[source]
class sawtooth.cli.monitor.Monitor(endpoint_manager, config)[source]

Bases: object

This class is based on the SawtoothStats class in stats.py A new Monitor class was created due to some major differences in functionality and purpose. It uses libraries from stats_lib to detect events and the state of validator networks.

monitor_loop()[source]
stop_modules()[source]
monitor_loop_stop(reason)[source]
monitor_loop_error(reason)[source]
monitor_stop()[source]
sawtooth.cli.monitor.run_monitor(url, config_opts=None)[source]
sawtooth.cli.monitor.do_monitor(opts)[source]