Skip to content

Commit

Permalink
fix: metrics init
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Feb 14, 2024
1 parent c025b6e commit 5d94418
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 @@ -83,7 +83,7 @@ def refresh_prom_metrics():
**common_kwargs)
num_worker_gauge = Gauge("num_workers",
"Number of workers",
label_names=("hostname", "q_name", "ok"), **common_kwargs)
labelnames=("hostname", "q_name", "ok"), **common_kwargs)
scheduled_gauge = Gauge("scheduled_tasks","Number of scheduled tasks", labelnames=("hostname",), **common_kwargs)
active_gauge = Gauge("active_tasks", "Number of active tasks", labelnames=("hostname",), **common_kwargs)
reserved_gauge = Gauge("reserved_tasks", "Number of reserved tasks", labelnames=("hostname",), **common_kwargs)
Expand Down

0 comments on commit 5d94418

Please sign in to comment.