In vLLM v0.23.0, vllm:num_preemptions is a Prometheus counter for cumulative preemptions from the engine.
MetricvLLM v0.23.0confidence: highverified 12 min agoverified-code
Metric
num_preemptionsApplies when
PrometheusStatLogger metrics publisherV1 metrics
Evidence
vLLM v0.23.0 v1 metrics loggers.py(vllm/v1/metrics/loggers.py:619-626)
definesprimarysource_codecode_introspection
Does not establish
- preemption rate without a time window
- root cause of preemptions
- a universal alert threshold
Guards
vllm_version= v0.23.0metric_name=vllm:num_preemptionsruntime_component= scheduler