All versions · Version range: v0.23.0
vllm:request_queue_time_seconds
Histogram of time spent in the WAITING phase per request.
MetricPrometheusverified Sep 29
Version history
- In vLLM
v0.23.0, the only version in scope here,vllm:request_queue_time_secondsis registered as a Prometheus histogram carrying the label namesmodel_nameandengine. - Its
v0.23.0registration declares 21 literal histogram bucket boundaries spanning 0.3 to 7680.0. - In
v0.23.0the histogram observes one duration per finished request, measured fromqueued_tsto the firstscheduled_ts. - That timestamp is populated in
v0.23.0byIterationStats.update_from_events, which setsreq_stats.queued_tsto event.timestamp for eachEngineCoreEventType.QUEUEDevent it processes. - At finished-request accounting in
v0.23.0,queued_timeis computed asreq_stats.scheduled_ts-req_stats.queued_ts, with the source comment describing the queued interval as running from the firstQUEUEDevent to the firstSCHEDULED. - Emission in
v0.23.0happens on completion from scheduler lifecycle timestamps, where repeatedQUEUEDevents overwritequeued_tswhile the firstSCHEDULEDtimestamp is retained. - Interpreting the
v0.23.0metric, it reflects the recorded waiting interval and covers only requests that reach finished-request accounting. - Guidance for
v0.23.0is to read its quantiles alongside running/KV/token-progress metrics to separate admission delay from decode delay, since no universal threshold is established.
Identity
- Prometheus type
- histogram
- Labels
- model_nameengine
- Buckets
- 21 boundaries · 0.3 → 7680
- Unit
- Not recorded — vLLM registration code has no structured unit field, and units are not inferred from name suffixes
Semantic coverage
covered · Availability & namecovered · Structural identitycovered · Measurement semanticscovered · Causal/runtime semanticscovered · Interpretation & compositioncovered · Guarded guidance
Metric knowledge (9)
Related Use Cases (1)
Availability
vllm:request_queue_time_seconds is registered as a Prometheus histogram in vLLM v0.23.0.vllm.surface.prometheus_metricscomplete_inventoryPrometheusStatLogger metrics publisher