In vLLM v0.23.0, vllm:kv_block_lifetime_seconds is registered as a Prometheus histogram when `observability_config.kv_cache_metrics=True`.
MetricvLLM v0.23.0confidence: highverified 15 min agoverified-code
Metric
kv_block_lifetime_secondsApplies when
PrometheusStatLogger metrics publisherV1 metricsobservability_config.kv_cache_metrics=True
Evidence
vLLM v0.23.0 v1 metrics loggers.py(vllm/v1/metrics/loggers.py:961-969)
definesprimarysource_codecode_introspection
Does not establish
- the metric's unit of measure
- what the metric measures semantically
- a healthy or expected value range
Guards
- vllm_version = v0.23.0
- metric_name = vllm:kv_block_lifetime_seconds