Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Sep 7, 2023
1 parent ece7152 commit c632416
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class ChartSpec(NamedTuple):
ChartSpec("peak_memory", "Peak Memory", "[GiB]", 2**30),
ChartSpec("scheduler_memory_max", "Peak Memory (S)", "[GiB]", 2**30),
ChartSpec("scheduler_cpu_avg", "Avg CPU (S)", "", 1),
ChartSpec("worker_max_tick", "Max Tick (W)", "[ms]", 1),
ChartSpec("scheduler_max_tick", "Max Tick (S)", "[ms]", 1),
ChartSpec("worker_max_tick", "Max Tick (W)", "[ms]", 1000),
ChartSpec("scheduler_max_tick", "Max Tick (S)", "[ms]", 1000),
]
OLD_PROMETHEUS_DATASOURCE = "AWS Prometheus - Sandbox (us east 2)"

Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,13 @@ def _benchmark_coiled_prometheus(client):
)
# TODO: Do we want to have plain max or 80th percentile?
test_run_benchmark.worker_max_tick = cluster.get_aggregated_metric(
query="worker_max_tick|pct80 *1000",
query="worker_max_tick|pct80",
over_time="max",
start_ts=start,
end_ts=end,
)
test_run_benchmark.scheduler_max_tick = cluster.get_aggregated_metric(
query="scheduler_max_tick|pct80 *1000",
query="scheduler_max_tick|pct80",
over_time="max",
start_ts=start,
end_ts=end,
Expand Down

0 comments on commit c632416

Please sign in to comment.