Skip to content

[Bug]: avg_generation_throughput_toks_per_s missing #13218

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

Open
1 task done
zbk2012 opened this issue Feb 13, 2025 · 5 comments
Open
1 task done

[Bug]: avg_generation_throughput_toks_per_s missing #13218

zbk2012 opened this issue Feb 13, 2025 · 5 comments
Labels
bug Something isn't working stale Over 90 days of inactivity

Comments

@zbk2012
Copy link

zbk2012 commented Feb 13, 2025

Your current environment

After upgrading vllm 0.5.3. post1 to vllm 0.7.2, the avg.generation_throughput_toks_per_2 monitoring metric is missing from the metrics.

🐛 Describe the bug

After upgrading vllm 0.5.3. post1 to vllm 0.7.2, the avg.generation_throughput_toks_per_2 monitoring metric is missing from the metrics.

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
@zbk2012 zbk2012 added the bug Something isn't working label Feb 13, 2025
@markmc
Copy link
Member

markmc commented Feb 13, 2025

Thank you for your interest in vLLM.

This metric was deprecated by #2764 and removed in #12383. You should use vllm:generation_tokens_total counter instead.

@tkg61
Copy link

tkg61 commented Feb 13, 2025

@markmc do you have a simple example on how this should be done since totals is different than a live view of the rate per second?

@markmc
Copy link
Member

markmc commented Feb 13, 2025

Try using the rate() function in Prometheus - for example, rate(vllm:generation_tokens_total[10m]). This is what our example Grafana dashboard does.

@zbk2012
Copy link
Author

zbk2012 commented Feb 14, 2025

ok,thank you。

Copy link

This issue has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this issue should remain open. Thank you!

@github-actions github-actions bot added the stale Over 90 days of inactivity label May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Over 90 days of inactivity
Projects
None yet
Development

No branches or pull requests

3 participants