swarm-grafana: agent-usage overview panels
New 'overview' tab on the agents dashboard, extending it per the hive stats page's own summary layout (busiest-agents table + top KPI row): - KPI row: active agents, turns, tokens (all types), input, output, cache-read tokens, cost. All from metrics already flowing into this dashboard (claude_code.token.usage / claude_code.cost.usage / claude_code.session.count) plus hyperhive.agent.turn.count, which the harness already emits but nothing visualized yet. - Busiest-agents replicated as five sorted bargauge panels (turns, cost, input, output, cache-read, each by agent) rather than one literal multi-column table -- this schema (Grafana v2beta1) has no existing table+merge-transform panel anywhere in this repo to pattern-match against, and every other panel here follows the proven sort_desc(...) + bargauge shape already used for 'Cost by subagent name' (panel-43). Trading the exact table layout for schema I can verify against a working precedent. - Left out the stats page's 'window' tile -- redundant with the dashboard's own always-visible time-range picker. No new instrumentation needed. Structurally verified (valid JSON, no duplicate panel ids, every panel referenced exactly once in the layout) but not visually verified -- no local Grafana to render against.
This commit is contained in:
parent
b88a5b2430
commit
c5110c5ce2
1 changed files with 1018 additions and 0 deletions
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue