Skip to content

feat(dashboard): summary stats header — agents, throughput, runtime, tokens, rate limits, project link #92

@ridermw

Description

@ridermw

Reference

See .github/media/elixir-screenshot.png — the top section shows:

\
SYMPHONY STATUS
Agents: 19/50
Throughput: 658,875 tps
Runtime: 1m 54s
Tokens: in 38,183,882 | out 368,361 | total 38,552,243
Rate Limits: codex | primary n/a | secondary n/a | credits n/a
Project: https://linear.app/project/.../issues
Next refresh: 1s
\\

Current state

Both web and TUI dashboards only show: Running count, Retrying count, Total tokens, Runtime.

Missing fields

  1. Agents: N/M — running count / max_concurrent_agents
  2. Throughput: X tps — tokens per second (total_tokens / seconds_running)
  3. Tokens breakdown — in X | out Y | total Z (not just total)
  4. Rate Limits — show current rate limit headroom from GitHub API headers
  5. Project link — link to GitHub project board
  6. Next refresh — countdown to next poll tick

Implementation

  • Add max_agents to OrchestratorSnapshot
  • Calculate throughput from totals
  • Expose in/out/total tokens (already in codex_totals)
  • Track rate limit headers in tracker responses
  • Add project_url to config
  • Add next_tick_at timestamp to snapshot

Applies to

  • Web dashboard (server/dashboard.rs)
  • TUI dashboard (tui.rs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttestingTest coverage improvements

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions