In vLLM v0.23.0, vllm:request_prefill_kv_computed_tokens is computed in finished-request logging after request completion from num_prompt_tokens and num_cached_tokens.
MetricvLLM v0.23.0confidence: highverified 11 hr agoverified-code
Metric
request_prefill_kv_computed_tokensApplies when
PrometheusStatLoggerV1 metrics
Evidence
vLLM v0.23.0 v1 metrics loggers.py(vllm/v1/metrics/loggers.py:1179-1213)
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:request_prefill_kv_computed_tokens