For each EngineCoreEventType.QUEUED event processed by IterationStats.update_from_events, req_stats.queued_ts is set to event.timestamp.
MetricvLLM v0.23.0confidence: highverified 1 hr agoverified-code
Why this matters
Metric
request_queue_time_secondsApplies when
V1 metricsIterationStats.update_from_events engine-core event accounting
Evidence
vLLM v0.23.0 v1 metrics stats.py(vllm/v1/metrics/stats.py:416-419)
definesprimarysource_codecode_introspection
Does not establish
- how many
QUEUEDevents a request emits under any given workload - whether repeated queueing of a request indicates a fault
Guards
vllm_version= v0.23.0metric_name=vllm:request_queue_time_secondsruntime_component= scheduler