Repository navigation
feat: add TokenSpeed engine support - #1655
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Found 1 test failure on Blacksmith runners: Failure
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 6e5a1c9. Configure here.
This branch was successfully deployed
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.
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)

TokenSpeed runs already contain server metrics, but the app does not recognize their metric names, leaving KV utilization and request queue charts empty. Add the TokenSpeed mappings and framework family across dashboard filters, embeds, and read-only inference and historical views, including unofficial overlays.
Preserve TokenSpeed KV samples through streamed ingest and recompute captured server metrics during aggregate backfills. Bump the chart and aggregate cache versions so previously ingested results can refresh. Metrics the engine does not export remain missing. The display-name change landed separately in #1676.
Companion to InferenceX#4781 and the Qwen3.8-Flash-Next GB300 AgentX configuration in InferenceX#4780.
Validated the actual c1 and c8 artifacts from full sweep 42070390280 through the chart reader: c8 changes from empty KV/queue series to 3,643 KV samples and 3,642 queue samples, including warmup.
Note
Medium Risk
Touches shared filter classification, stored aggregate/chart versioning, and backfill recomputation paths that affect cached agentic trace data across engines, not just UI labels.
Overview
Adds TokenSpeed as a first-class inference engine (
tokenspeedinFW_REGISTRY) and framework family, wired through dashboard quick filters, embeds, read-only inference/historical views, and updated entity-ingest docs.Trace and agentic pipelines now ingest TokenSpeed Prometheus metrics (
tokenspeed:kv_cache_usage_perc, running/waiting request gauges) into chart series and aggregate stats, with prefix-cache and token-throughput series left empty when the engine does not export them. Chart series version 20 and aggregate stats version 10 trigger recomputation; aggregate backfill always re-reads server metrics on stats upgrades so KV interpretation changes are not missed.Public API docs and the inferencex skill guide document TokenSpeed filtering parity (official + overlay points) and trace-server-metrics behavior; contract source digests were added/updated for framework and chart-series modules.
Reviewed by Cursor Bugbot for commit 33cc0f5. Bugbot is set up for automated code reviews on this repo. Configure here.