Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vllm/v1/metrics/prometheus.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def unregister_vllm_metrics():
registry = REGISTRY
# Unregister any existing vLLM collectors
for collector in list(registry._collector_to_names):
if hasattr(collector, "_name") and "vllm" in collector._name:
if hasattr(collector, "_name") and collector._name.startswith("vllm:"):
registry.unregister(collector)


Expand Down
Loading