Repository navigation
feat(console): overview outcome mix, cache/streaming/canceled metrics, cooldown details - #359
Merged
Merged
Conversation
…, cooldown details - Third ranking card shows status stacked bar + error mix + top accounts - New metric cards: cache hit rate, streaming share, canceled count - Account pool: per-account cooldown reason/countdown/backoff, affinity hit rate - Solid surface treatment for cards and icon tiles, status-dot pulse - CountUp now based on affectui number-ticker (MIT)
…efresh - Ranking rows (models, accounts, error kinds) link to /logs with filters + window - Traffic chart drag-select (ReferenceArea) opens logs for the range - LogsPage filters read from / written to the URL (two-way) - Overview window: 30d and custom from/to (shared TimeRangePicker) - Stats auto-refresh every 30s, pausable, skipped while hidden
feat(console): overview drill-down to logs, 30d/custom window, auto-refresh
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.
Frontend-only change to the Overview page.
Ranking card 3 now shows a stacked status bar (ok / incomplete / error / canceled from
/api/logs/statsstatus), the error mix, and top accounts together.New metric cards (from
/api/logs/stats): cache hit rate =tokens.cache_read / tokens.prompt, streaming share =totals.streaming / totals.requests, canceled count =totals.canceled.Account pool card: each cooling account shows its reason (
last_error_kind), a live countdown (later ofdown_until/cooldown_until), andrestart_backoff_level. The stat row adds the session-affinity hit rate,routing.session_affinity.hits / (hits + misses)from/api/overview/summary.AccountView(internal/accounts/types.go) hasdown_until,cooldown_untilandrestart_backoff_level. The pool's runtimekindis not on/api/accounts, butinternal/runtime/manager_accounts.gocopies it intolast_error_kindwhen that is empty, so the reason useslast_error_kind.Visual
.icon-tileget a surface treatment based on deeplethe/solid-glass (MIT): an inset top highlight, a near-invisible edge (4% light / 3% dark), a close shadow and a soft lift shadow, with separate dark-mode values. No new borders and no plugins..status-dot[data-state=ok]pulses. The pulse is off underprefers-reduced-motion.CountUpis rebuilt on affectuimotion/number-ticker.tsx(MIT; the copyright notice is in the file header). It keeps the existing formatter and props and starts right away, with no observer or delay. New digit columns slide in without fading. Skeletons still switch straight to content.Release note:
changelog/unreleased/overview-stats.md.internal/webui/staticwas regenerated withnpm run sync.