Skip to content

Commit

Permalink
fix: move benchmark-fabric to non namespace level
Browse files Browse the repository at this point in the history
- Refactored the logic
  • Loading branch information
a-spiker committed Jan 3, 2025
1 parent 1b09b2f commit 63323f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/live_cluster/client/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -2073,13 +2073,15 @@ async def info_latencies(
"benchmarks-udf",
"benchmarks-udf-sub",
"benchmarks-batch-sub",
"benchmarks-fabric"
]
cmd_latencies += [
"latencies:hist=%s" % (optional) if optional == "benchmarks-fabric" else "latencies:hist={%s}-%s" % (ns, optional)
"latencies:hist={%s}-%s" % (ns, optional)
for ns in namespaces
for optional in micro_benchmarks
]

# TOOLS-2984: benchmarks-fabric is not at namespace-level
cmd_latencies.append("latencies:hist=benchmarks-fabric")

hist_info = []
for cmd in cmd_latencies:
Expand Down

0 comments on commit 63323f8

Please sign in to comment.