vLLM monitoring
Measure queue pressure and token latency before changing replica or GPU capacity.
Last updated
On this page (5)
vLLM · Monitoring
Before you start
- vLLM OpenAI-compatible server.
- Prometheus and staging workload with realistic prompt and generation lengths.
Procedure
- Scrape /metrics per serving replica.
- Graph vllm:num_requests_waiting, vllm:num_requests_running and vllm:kv_cache_usage_perc.
- Use histogram buckets for vllm:time_to_first_token_seconds to compare latency percentiles at different concurrency levels.
Verify the result
- A controlled concurrency ramp makes queue pressure visible; waiting requests return to baseline after load ends.
- Compare measured time to first token with the service’s latency target for the same workload.
