[#153] Fix stat calculation and add error threshold
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
10a6efa333
commit
73c362c307
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ class SummarizedStats:
|
|||
target.rate += operation.rate
|
||||
target.latencies.by_node[node_key] = operation.latency
|
||||
target.throughput += operation.throughput
|
||||
if metrics.write.failed_iterations:
|
||||
target.errors.threshold = load_params.error_threshold
|
||||
if operation.failed_iterations:
|
||||
target.errors.by_node[node_key] = operation.failed_iterations
|
||||
|
||||
for operation in summarized.values():
|
||||
|
|
Loading…
Reference in a new issue