In vLLM v0.23.0, vllm:prefix_cache_queries counts tokens presented to the first-party prefix-cache lookup, accumulated as a counter.
MetricvLLM v0.23.0confidence: highverified 11 hr agoverified-code
Metric
prefix_cache_queriesApplies when
PrometheusStatLoggerV1 metrics
Evidence
vLLM v0.23.0 v1 metrics loggers.py(vllm/v1/metrics/loggers.py:562-588)
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:prefix_cache_queries