[#153] Fix stat calculation and add error threshold

Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
Andrey Berezin 2023-12-22 11:33:41 +03:00
parent 10a6efa333
commit 73c362c307

View file

@ -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():