In vLLM v0.23.0, vllm:prompt_tokens_by_source is registered as a Prometheus counter.
MetricvLLM v0.23.0confidence: highverified 1 hr agoverified-code
Metric
prompt_tokens_by_sourceApplies when
PrometheusStatLogger metrics publisherV1 metrics
Evidence
vLLM v0.23.0 v1 metrics loggers.py(vllm/v1/metrics/loggers.py:638-642)
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.0metric_name=vllm:prompt_tokens_by_source