1. 09 Dec, 2025 1 commit
  2. 08 Dec, 2025 1 commit
  3. 03 Dec, 2025 1 commit
  4. 01 Dec, 2025 1 commit
    • shivampr's avatar
      [Core][Observability] Add KV cache residency metrics (#27793) · cabc77cc
      shivampr authored
      
      
      Introduces three new Prometheus histograms for fine-grained observability of KV cache residency behavior:
      
      vllm:kv_block_lifetime_seconds — total lifetime from allocation to free
      vllm:kv_block_idle_before_evict_seconds — idle duration before eviction
      vllm:kv_block_reuse_gap_seconds — time between consecutive reuses of the same block
      
      These metrics help operators analyze KV cache efficiency, reuse patterns, and eviction timing beyond simple utilization rates.
      
      Implementation uses monotonic timestamps for accuracy, 1% sampling for minimal overhead (~48 bytes/block), and is fully thread-safe with zero runtime cost when disabled.
      
      Two new runtime flags are introduced:
      
      --kv-cache-metrics – enable KV cache residency metrics
      --kv-cache-metrics-sample – control sampling ratio (default: 0.01)
      Signed-off-by: default avatarShivam <shivamprasad91@gmail.com>
      cabc77cc
  5. 28 Nov, 2025 1 commit
  6. 25 Nov, 2025 1 commit
  7. 21 Nov, 2025 1 commit
  8. 17 Nov, 2025 1 commit
    • Jae-Won Chung's avatar
      [Metrics] Fix KV cache usage percent metric multiproc (#28792) · d4acf518
      Jae-Won Chung authored
      
      
      The `vllm:kv_cache_usage_perc` Gauge metric is missing `multiprocess_mode="mostrecent"` and ends up returning
      
      ```
      vllm:kv_cache_usage_perc{engine="0",model_name="Qwen/Qwen3-VL-8B-Instruct",pid="277"} 0.0
      vllm:kv_cache_usage_perc{engine="0",model_name="Qwen/Qwen3-VL-8B-Instruct",pid="275"} 0.0
      vllm:kv_cache_usage_perc{engine="0",model_name="Qwen/Qwen3-VL-8B-Instruct",pid="273"} 0.6530455880475035
      ...
      ```
      
      The deprecated `vllm:gpu_cache_usage_perc` Gauge metric has `multiprocess_mode="mostrecent"`.
      Signed-off-by: default avatarJae-Won Chung <jwnchung@umich.edu>
      d4acf518
  9. 14 Nov, 2025 1 commit
  10. 10 Nov, 2025 1 commit
  11. 05 Nov, 2025 1 commit
  12. 04 Nov, 2025 1 commit
  13. 30 Oct, 2025 1 commit
  14. 29 Oct, 2025 2 commits
  15. 24 Oct, 2025 1 commit
  16. 23 Oct, 2025 1 commit
  17. 18 Oct, 2025 1 commit
  18. 14 Oct, 2025 1 commit
  19. 12 Oct, 2025 1 commit
  20. 10 Oct, 2025 2 commits
  21. 05 Oct, 2025 1 commit
  22. 03 Oct, 2025 1 commit
  23. 25 Sep, 2025 1 commit
  24. 24 Sep, 2025 1 commit
  25. 19 Sep, 2025 1 commit
  26. 16 Sep, 2025 1 commit
  27. 14 Sep, 2025 1 commit
  28. 08 Sep, 2025 1 commit
  29. 04 Sep, 2025 1 commit
  30. 02 Sep, 2025 1 commit
  31. 27 Jul, 2025 1 commit
  32. 21 Jul, 2025 1 commit
  33. 19 Jun, 2025 1 commit
  34. 14 Jun, 2025 1 commit
  35. 03 Jun, 2025 1 commit
  36. 30 May, 2025 1 commit
  37. 27 May, 2025 1 commit
  38. 16 May, 2025 1 commit