Skip to content

Commit 7c6e1b7

Browse files
authored
change op-metrics to op_metrics in aggregator file (#657)
Signed-off-by: Michael Oviedo <[email protected]>
1 parent c6ec0a1 commit 7c6e1b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: osbenchmark/aggregator.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def aggregate_helper(objects: List[Any]) -> Any:
8080
def build_aggregated_results(self):
8181
test_exe = self.test_store.find_by_test_execution_id(list(self.test_executions.keys())[0])
8282
aggregated_results = {
83-
"op-metrics": [],
83+
"op_metrics": [],
8484
"correctness_metrics": self.aggregate_json_by_key("correctness_metrics"),
8585
"total_time": self.aggregate_json_by_key("total_time"),
8686
"total_time_per_shard": self.aggregate_json_by_key("total_time_per_shard"),
@@ -131,7 +131,7 @@ def build_aggregated_results(self):
131131
"error_rate": aggregated_task_metrics["error_rate"],
132132
"duration": aggregated_task_metrics["duration"]
133133
}
134-
aggregated_results["op-metrics"].append(op_metric)
134+
aggregated_results["op_metrics"].append(op_metric)
135135

136136
# extract the necessary data from the first test execution, since the configurations should be identical for all test executions
137137
current_timestamp = self.config.opts("system", "time.start")

0 commit comments

Comments
 (0)