Skip to content

Commit

Permalink
fix metrics collection
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Chi Z <chi@neon.tech>
  • Loading branch information
skyzh committed Jun 4, 2024
1 parent ecca5d7 commit f8ed5a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_runner/performance/test_gc_feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ def test_gc_feedback(neon_env_builder: NeonEnvBuilder, zenbenchmark: NeonBenchma
max_num_of_deltas_above_image = 0
max_total_num_of_deltas = 0
for key_range in client.perf_info(tenant_id, timeline_id):
max_total_num_of_deltas = max(max_total_num_of_deltas, key_range["max_total_num_of_deltas"])
max_total_num_of_deltas = max(max_total_num_of_deltas, key_range["total_num_of_deltas"])
max_num_of_deltas_above_image = max(
max_num_of_deltas_above_image, key_range["max_num_of_deltas_above_image"]
max_num_of_deltas_above_image, key_range["num_of_deltas_above_image"]
)

MB = 1024 * 1024
Expand Down

0 comments on commit f8ed5a7

Please sign in to comment.