In vLLM v0.23.0, vllm:time_to_first_token_seconds adds an observation when iteration processing identifies the request as prefilling/producing its first token.
MetricvLLM v0.23.0confidence: highverified 10 hr agoverified-code
Metric
time_to_first_token_secondsApplies when
PrometheusStatLoggerV1 metrics
Evidence
vLLM v0.23.0 v1 metrics stats.py(vllm/v1/metrics/loggers.py:360-389)
definesprimarysource_codecode_introspection
Does not establish
- a workload-independent healthy threshold
- semantics in any vLLM version other than v0.23.0
Guards
vllm_version= v0.23.0metric_name=vllm:time_to_first_token_seconds