Skip to content

feat: 健康监控仪表盘与关联下钻优化,完善使用记录展示#615

Open
AAEE86 wants to merge 14 commits into
fawney19:mainfrom
AAEE86:main
Open

feat: 健康监控仪表盘与关联下钻优化,完善使用记录展示#615
AAEE86 wants to merge 14 commits into
fawney19:mainfrom
AAEE86:main

Conversation

@AAEE86

@AAEE86 AAEE86 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Close #515

变更

  • 新增健康监控仪表盘总览,统一展示端点、模型、提供商的健康状态,并支持从概览卡片快速跳转到对应视图。
  • 健康监控支持详情下钻,可查看当前对象的关联端点、模型、提供商健康数据。
  • 后端补充健康监控相关接口、类型、路由和 mock,支持 health/related 关联查询,以及时间线、平均耗时、TTFB、TPS 等展示字段。
  • 抽离健康监控公共组件,统一头部、指标网格、状态时间线和格式化逻辑。
  • 隐藏无请求的端点健康卡片,减少空白监控项干扰。
  • 优化移动端使用记录的元数据布局,提升关键信息可读性。
  • 调整 gateway 本地 usage 相关测试,覆盖 usage reportbody capturewallet settlement 等场景,并改为大栈线程运行以提升稳定性。

AAEE86 added 6 commits June 1, 2026 18:34
- add TPS to model and provider health payloads

- exclude user-cancelled 499 requests from health statistics

- update model/provider health cards with average latency, average TTFB, TPS, and availability
- Move mobile usage actions into the card header
- Add compact user/provider metadata line on mobile
- Preserve hidden unknown toggle and auto refresh controls
- Remove raw API format label from endpoint health cards
- Hide endpoint health cards with no requests
Wrap the local OpenAI chat sync usage-reporting test in the existing
large-stack harness to avoid stack overflows under nextest suite load.
@AAEE86 AAEE86 changed the title feat(health): refine health monitor metrics feat: 优化健康监控展示与移动端使用记录体验 Jun 1, 2026
AAEE86 added 4 commits June 1, 2026 21:59
Wrap the request_record_level=base local gateway usage test with the existing
large-stack async test helper to avoid stack overflow in the default test thread.
Wrap the wallet settlement usage test with the large-stack async test helper to
avoid stack overflow in the default test thread.
- Replace health monitor tabs with a dashboard layout
- Add related health drill-down for endpoint, model, and provider cards
- Render provider health as cards and hide empty monitors
@AAEE86 AAEE86 changed the title feat: 优化健康监控展示与移动端使用记录体验 feat: 健康监控仪表盘与关联下钻优化,完善使用记录展示 Jun 1, 2026
- 为健康监控时间轴返回 timeline_details 分段指标
- Hover 历史状态柱时展示总请求/成功/失败/可用率/状态
- 展示平均耗时/TTFB/速度和完整时间范围
- 修复历史状态柱 Tooltip 触发区域不可用的问题
- 补齐前端类型、详情抽屉透传和 mock 数据
- 管理员仪表盘新增全站 RPM/TPM 与在线/启用用户指标
- 合并今日请求/费用、全站 RPM/TPM、在线/启用用户卡片展示
- 在线用户按最近 5 分钟活跃请求去重统计
- 全站 RPM/TPM 按最近 60 秒请求与 Token 统计
- 新增仪表盘自动刷新按钮,开启后每 10 秒静默刷新数据
- 同步前端类型、空态占位和仪表盘测试
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat:增加按模型/提供商分类的 token/s 监控指标

1 participant