sawtooth.cli.stats_lib.stats_writers module

class sawtooth.cli.stats_lib.stats_writers.CsvWriter[source]

Bases: object

open_csv_file(filename, filepath='')[source]
close_csv_file()[source]
csv_newline()[source]
csv_append(datalist)[source]
csv_write_header(headerlist=None, add_time=True)[source]
csv_write_data(datalist=None, add_time=True)[source]
class sawtooth.cli.stats_lib.stats_writers.CsvSummaryStats(system_stats, platform_stats)[source]

Bases: object

initialize()[source]
write_stats()[source]
stop()[source]
class sawtooth.cli.stats_lib.stats_writers.CsvValidatorStats(client_list)[source]

Bases: object

initialize()[source]
write_stats()[source]
stop()[source]
class sawtooth.cli.stats_lib.stats_writers.CsvManager(epm, config)[source]

Bases: sawtooth.cli.stats_lib.stats_utils.StatsModule

initialize(module_list)[source]
csv_init(enable_summary, enable_validator)[source]
report()[source]
csv_write()[source]
default_config()[source]
update_config(config)[source]
csv_stop()[source]
class sawtooth.cli.stats_lib.stats_writers.StatsSnapshotWriter(epm, config)[source]

Bases: sawtooth.cli.stats_lib.stats_utils.StatsModule

Writes json-formatted snapshot of stats client statistics to file. Writes file to where stats client is running. Filename includes searchable file name + timestamp Captures the following: - Summary: each of the summary lines displayed by stats client - Per-Validator: Each of the selectable views displayed by stats client

initialize(module_list)[source]
report()[source]
write_snapshot()[source]
val_stats_fixup(val_stats_copy)[source]