Schema.ai· vLLM
vLLM official site ↗vLLM v0.23.0API up

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_preemptions

Applies 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.0
  • metric_name = vllm:num_preemptions
  • runtime_component = scheduler

Freshness

Pinned release-tag source snapshot; re-check if target phase-1 release changes or metrics API compatibility becomes customer-facing.