Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
2b102d51
Unverified
Commit
2b102d51
authored
May 31, 2025
by
Nick Hill
Committed by
GitHub
Jun 01, 2025
Browse files
[BugFix] Fix incorrect metrics shutdown error log message (#18992)
Signed-off-by:
Nick Hill
<
nhill@redhat.com
>
parent
aa54a7bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vllm/v1/metrics/prometheus.py
vllm/v1/metrics/prometheus.py
+5
-1
No files found.
vllm/v1/metrics/prometheus.py
View file @
2b102d51
...
...
@@ -69,9 +69,13 @@ def unregister_vllm_metrics():
def
shutdown_prometheus
():
"""Shutdown prometheus metrics."""
path
=
_prometheus_multiproc_dir
if
path
is
None
:
return
try
:
pid
=
os
.
getpid
()
multiprocess
.
mark_process_dead
(
pid
)
multiprocess
.
mark_process_dead
(
pid
,
path
)
logger
.
debug
(
"Marked Prometheus metrics for process %d as dead"
,
pid
)
except
Exception
as
e
:
logger
.
error
(
"Error during metrics cleanup: %s"
,
str
(
e
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment