Skip to content

Commit

Permalink
fix metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Feb 15, 2024
1 parent c57f6d3 commit 6c333dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/server/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def refresh_prom_metrics():
for hostname in (result or {}):
for queue in result[hostname]:
routing_key = queue.get("routing_key")
*_, namespace, queue = routing_key
*_, namespace, queue = routing_key.split(".")
version = ".".join(_)
tally[(version, namespace, queue)] += 1

Expand Down

0 comments on commit 6c333dc

Please sign in to comment.