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 00ab119 commit 4939f0c
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 @@ -108,7 +108,7 @@ def refresh_prom_metrics():
# number of active workers
result = app.control.inspect().active_queues()

tally = defaultdict(0)
tally = defaultdict(int)
for hostname in result:
for queue in result[hostname]:
routing_key = queue.get("routing_key")
Expand Down

0 comments on commit 4939f0c

Please sign in to comment.