Repository navigation
Replies: 1 comment
|
Dashboard 形态官方做起来需要时间;会话内实时层可以先有:我们 dsh-statusbar 把 进度 / 耗时 / 性能 / 缓存 / Token / 花费 / 余额 做成模块化统计行,配模型价格后给花费估算,余额走本地代理(不交出 key)。等官方 dashboard API 出来后,这类统计可以自然迁移成趋势图的数据源。仓库:https://github.com/Sutera-Diffusus/dsh-statusbar |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
Provide an admin dashboard that visualizes token consumption, session counts, and estimated costs, helping maintainers track operational expenses and plan capacity.
Motivation
Growing user base makes manual cost tracking impractical.
Need clear, real-time data for budget allocation and optimization.
Current logs are scattered and inefficient for aggregation.
Core Features
Metric cards: total tokens (in/out), total sessions, avg tokens/session, active sessions (24h).
Trend charts: line chart for token usage over time, bar chart for session distribution.
Cost estimate: optional calculation with configurable $/1K tokens, per-model breakdown.
Filters: preset date ranges (7d, 30d, custom) and export to CSV/JSON.
All reactions