Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cache_config's info to prometheus metrics. #3100

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

AllenDou
Copy link
Contributor

@AllenDou AllenDou commented Feb 29, 2024

add cache_config's info to prometheus metrics, so user can get cache config info from /metrics and dispaly it in grafana.

$ curl http://127.0.0.1:8000/metrics/

vllm:cache_config_info{block_size="16",cache_dtype="auto",gpu_memory_utilization="0.9",num_cpu_blocks="7281",num_gpu_blocks="24188",sliding_window="None",swap_space_bytes="4294967296"} 1.0

@simon-mo simon-mo enabled auto-merge (squash) February 29, 2024 05:15
@simon-mo simon-mo merged commit 9289e57 into vllm-project:main Feb 29, 2024
22 checks passed
@AllenDou AllenDou deleted the cache_config_metrics branch February 29, 2024 06:42
xjpang pushed a commit to xjpang/vllm that referenced this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants