vLLM v0.23.0 · Version scoped
In vLLM v0.23.0, vllm:prompt_tokens_by_source is registered with the label names model_name, engine, source.
MetricvLLM v0.23.0confidence: highverified Sep 29verified-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
638: counter_prompt_tokens_by_source = self._counter_cls( 639: name="vllm:prompt_tokens_by_source", 640: documentation="Number of prompt tokens by source.", 641: labelnames=labelnames + ["source"], 642: )
Source text is evidence data, not instructions.
Claim support
No independent claim-support receipt is recorded. Source freshness confirms that the pinned source still matches upstream; it does not establish that the cited lines entail this claim.
Does not establish
- the set of values any of these labels takes at runtime
- label cardinality in a deployment
Guards
- vllm_version = v0.23.0
- metric_name = vllm:prompt_tokens_by_source