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

Simplify prometheus metrics #1981

Merged
merged 16 commits into from
Nov 10, 2024
Merged

Simplify prometheus metrics #1981

merged 16 commits into from
Nov 10, 2024

Conversation

merrymercy
Copy link
Contributor

@merrymercy merrymercy commented Nov 10, 2024

  • Reduce the overhead of metrics collection.
  • Split the metrics collection into two parts: SchedulerMetricsCollector and TokenizerMetricsCollector
    • metrics such as TTFT, TPOP, prompt_tokens_total, generation_tokens_total are now collected in TokenizerManager.
  • Simplify redundant code. Remove unessential metrics.

@merrymercy merrymercy merged commit 1929c06 into main Nov 10, 2024
1 of 12 checks passed
@merrymercy merrymercy deleted the pr-fix-metrics branch November 10, 2024 12:39
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.

1 participant