Display TensorRT-LLM AgentX server metrics - #747
Open
cquil11 wants to merge 2 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cquil11
force-pushed
the
agent/capture-trtllm-server-metrics
branch
from
August 17, 2026 15:28
83d2f0b to
4e703c0
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Follows SemiAnalysisAI/InferenceX#2625 and NVIDIA/TensorRT-LLM#12545.
Validation
Note
Medium Risk
Changes versioned ETL and aggregate extraction paths used by the agentic detail API; incorrect mapping could mislabel disagg workers until backfill, but scope is additive framework support with focused tests and no auth or data-mutation logic beyond JSONB self-heal.
Overview
Adds TensorRT-LLM (
trtllm_*) alongside existing vLLM/SGLang fallbacks so AgentX chart series and aggregate stats populate KV utilization, prefix-cache hit rate, queue depth, prefill/decode TPS, host KV usage, and prompt-token source splits from native TRT-LLM scrapes.Introduces a
trtllmserver-metrics adapter (selected when the framework string containstrt) that mapsdisaggregation_mode/dynamo_componentto canonical prefill vs decode roles. For disaggregated runs, per-endpointmetricSourcesare emitted with endpoint-level role hints when labels are incomplete.Bumps
CHART_SERIES_VERSIONto 13 andSTATS_VERSIONto 8 so backfill recomputes stale precomputed JSONB; oversized blob stream-parse key sets include the new TRT-LLM metric names.Reviewed by Cursor Bugbot for commit 83d2f0b. Bugbot is set up for automated code reviews on this repo. Configure here.