-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[None][feat] Add production-level Prometheus metrics (iteration stats, config info, token counters, phase histograms) #12545
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
8ef3957
[None][feat] Expose iteration stats as Prometheus metrics
nvyutwu 448d6e2
[None][feat] Add config info gauges to Prometheus metrics
nvyutwu d45cc8c
[None][fix] change spec decode draft/accepted token metrics from Gaug…
nvyutwu a771c57
[None][feat] add token counters, phase histograms, and label fix to P…
nvyutwu bd6506d
[None][fix] address code review findings in Step 1 metrics
nvyutwu 7c5122e
[None][fix] guard TPOT computation against missing timestamps
nvyutwu 398f9cf
[None][fix] narrow exception and add debug logging for GPU type detec…
nvyutwu 934d288
[None][feat] Record per-candidate GENERATION_TOKENS and TPOT for n>1
nvyutwu c352674
[None][fix] Use Optional type hints for log_config_info params
nvyutwu 3924fba
[None][fix] fix config metric labels: add cp_size, fix gpu_count, ren…
nvyutwu aa4d85e
[None][fix] use getattr for quant_algo access for consistency
nvyutwu 5c85832
[None][fix] rename kv_cache_cfg to kv_cache_config_obj for naming con…
nvyutwu 92e99ef
[None][test] expand metrics unit tests: success counter, base latency…
nvyutwu b4f3b89
[None][test] add n>1 test for prompt/generation token counting
nvyutwu 3d32492
style: apply pre-commit formatting fixes (isort, yapf, ruff)
nvyutwu 0ad7554
[None][fix] update api_stability snapshot for record_stats sequence_i…
nvyutwu 7aedfaf
style: fix D212 docstring violations in collector.py
nvyutwu 034edc7
[None][fix] add Defaults to 0 in record_stats docstring for api_stabi…
nvyutwu f0379e1
[None][feat] make Prometheus histogram buckets configurable via LLM args
nvyutwu 64e994b
[None][fix] validate bucket params and add unit tests for configurabl…
nvyutwu 57872ba
[None][refactor] group Prometheus metrics params into PrometheusMetri…
nvyutwu 22c0b95
[None][fix] keep enable_energy_metrics on BaseLlmArgs and fix strictl…
nvyutwu 0a17139
Merge remote-tracking branch 'origin/main' into yutwu/add-metrics-rebase
nvyutwu d620491
[None][chore] update ruff-legacy baseline after rebase on main
nvyutwu 8083d5c
[None][fix] unify test helper convention to match main's string-based…
nvyutwu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like these changes slipped in by mistake