BenYuan-Nolove-onani/dsh-token-stats ↗★ 0
dsh-token-stats
统计 Web 端各时间窗口的 Token 用量与缓存指标。 适合关注 Token 消耗与缓存命中的用户;在设置页查看,可随时启停统计。
同名包的其他仓库
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗🚀 Usage
- Open Settings → "Token 用量" (refresh the page once so the client bundle is picked up)
- Read the summary cards and the per-window table (auto-refreshes every 30s)
- Use 停用 / 启用 in the page header to toggle aggregation:
| Action | Effect | Persisted to |
|---|---|---|
| 停用 (disable) | stops aggregating; page shows the disabled state | settings.yaml → token-stats: { enabled: false } |
| 启用 (enable) | resumes aggregation and the stats table | settings.yaml → token-stats: { enabled: true } |
The switch applies immediately — no restart needed.