Fix stat calculation and add error threshold #153
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