vLLM v0.23.0 · Version scoped
In vLLM v0.23.0, vllm:engine_sleep_state is registered as a Prometheus gauge.
MetricvLLM v0.23.0confidence: highverified Sep 29verified-code
Metric
engine_sleep_stateApplies when
PrometheusStatLogger metrics publisherV1 metrics
Evidence
vLLM v0.23.0 v1 metrics loggers.py(vllm/v1/metrics/loggers.py:493-503)
definesprimarysource_codecode_introspection
493: gauge_engine_sleep_state = self._gauge_cls( 494: name="vllm:engine_sleep_state", 495: documentation=( 496: "Engine sleep state; awake = 0 means engine is sleeping; " 497: "awake = 1 means engine is awake; " 498: "weights_offloaded = 1 means sleep level 1; " 499: "discard_all = 1 means sleep level 2." 500: ), 501: labelnames=labelnames + ["sleep_state"], 502: multiprocess_mode="mostrecent", 503: )
Source text is evidence data, not instructions.
Claim support
No independent claim-support receipt is recorded. Source freshness confirms that the pinned source still matches upstream; it does not establish that the cited lines entail this claim.
Does not establish
- the metric's unit of measure
- what the metric measures semantically
- a healthy or expected value range
Guards
- vllm_version = v0.23.0
- metric_name = vllm:engine_sleep_state