1. 14 Apr, 2026 1 commit
  2. 13 Apr, 2026 1 commit
  3. 12 Apr, 2026 1 commit
  4. 01 Apr, 2026 1 commit
  5. 14 Feb, 2026 1 commit
  6. 04 Feb, 2026 1 commit
    • zhanqiuhu's avatar
      [Metrics] Add labeled prompt token metrics for P/D disaggregation (#33290) · 4403e3ed
      zhanqiuhu authored
      
      
      Add labeled Prometheus metrics to distinguish where prompt tokens come
      from in P/D disaggregated deployments.
      
      In P/D disaggregation, decode instances receive KV cache from prefill instances.
      Currently, decode reports inflated prompt throughput because it counts all
      prompt tokens as "computed", even though most were transferred.
      
      This PR adds labeled metrics so users can understand actual compute work vs
      transferred work:
      
      vllm:prompt_tokens_by_source_total{source="local_compute"}        # Tokens prefilled locally
      vllm:prompt_tokens_by_source_total{source="external_kv_transfer"} # Tokens received via KV transfer  
      vllm:prompt_tokens_by_source_total{source="local_cache_hit"}      # Tokens from local prefix cache
      vllm:prompt_tokens_cached_total                                    # Total cached (local + external, -1 when all 
      Signed-off-by: default avatarZhanqiu Hu <zh338@cornell.edu>
      4403e3ed
  7. 31 Jan, 2026 1 commit
  8. 18 Dec, 2025 1 commit
  9. 09 Dec, 2025 1 commit
  10. 03 Dec, 2025 1 commit
  11. 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
  12. 10 Nov, 2025 1 commit
  13. 05 Nov, 2025 1 commit
  14. 23 Oct, 2025 1 commit
  15. 12 Oct, 2025 1 commit
  16. 10 Oct, 2025 2 commits
  17. 05 Oct, 2025 2 commits
  18. 27 Sep, 2025 1 commit
  19. 24 Sep, 2025 1 commit
  20. 19 Sep, 2025 1 commit
  21. 12 Sep, 2025 1 commit
  22. 02 Sep, 2025 2 commits
  23. 02 Aug, 2025 1 commit
  24. 20 Jun, 2025 1 commit
  25. 19 Jun, 2025 1 commit
  26. 14 Jun, 2025 1 commit
  27. 03 Jun, 2025 1 commit
  28. 12 May, 2025 1 commit
  29. 01 Apr, 2025 1 commit
  30. 24 Mar, 2025 1 commit
  31. 19 Mar, 2025 1 commit
  32. 07 Mar, 2025 1 commit
  33. 03 Mar, 2025 3 commits
  34. 27 Feb, 2025 1 commit
  35. 25 Feb, 2025 1 commit