Skip to content

Commit

Permalink
fix: benchmarks-fabric is nt at namespace level
Browse files Browse the repository at this point in the history
remove {ns} from benchmarks-fabric.
enabled only when verbose used in show latencies
  • Loading branch information
a-spiker committed Jan 3, 2025
1 parent 4a5e5a1 commit 0242479
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/live_cluster/client/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,7 @@ async def info_latencies(
return data
micro_benchmarks = [
"proxy",
"benchmark-fabric",
"benchmarks-fabric",
"benchmarks-ops-sub",
"benchmarks-read",
"benchmarks-write",
Expand All @@ -2076,7 +2076,7 @@ async def info_latencies(
"benchmarks-batch-sub",
]
cmd_latencies += [
"latencies:hist={%s}-%s" % (ns, optional)
"latencies:hist=%s" % (optional) if optional == "benchmarks-fabric" else "latencies:hist={%s}-%s" % (ns, optional)
for ns in namespaces
for optional in micro_benchmarks
]
Expand Down

0 comments on commit 0242479

Please sign in to comment.