1. 09 Dec, 2025 1 commit
  2. 08 Dec, 2025 1 commit
  3. 03 Dec, 2025 1 commit
  4. 02 Dec, 2025 1 commit
  5. 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
  6. 28 Nov, 2025 1 commit
  7. 25 Nov, 2025 1 commit
  8. 21 Nov, 2025 1 commit
  9. 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
  10. 14 Nov, 2025 1 commit
  11. 10 Nov, 2025 1 commit
  12. 05 Nov, 2025 1 commit
  13. 04 Nov, 2025 1 commit
  14. 30 Oct, 2025 1 commit
  15. 29 Oct, 2025 2 commits
  16. 24 Oct, 2025 1 commit
  17. 23 Oct, 2025 1 commit
  18. 18 Oct, 2025 1 commit
  19. 14 Oct, 2025 1 commit
  20. 12 Oct, 2025 1 commit
  21. 10 Oct, 2025 2 commits
  22. 05 Oct, 2025 2 commits
  23. 03 Oct, 2025 1 commit
  24. 27 Sep, 2025 1 commit
  25. 26 Sep, 2025 1 commit
  26. 25 Sep, 2025 1 commit
  27. 24 Sep, 2025 1 commit
  28. 19 Sep, 2025 1 commit
  29. 16 Sep, 2025 1 commit
  30. 14 Sep, 2025 1 commit
  31. 12 Sep, 2025 1 commit
  32. 08 Sep, 2025 1 commit
  33. 04 Sep, 2025 1 commit
  34. 02 Sep, 2025 2 commits
  35. 27 Aug, 2025 1 commit
  36. 02 Aug, 2025 1 commit