mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-06 17:46:23 +00:00
✨ feat: Add model performance metrics to dashboard
Add a shared `performance-metrics` feature module for perf metric APIs, DTOs, and formatting, then surface global 24h model performance on the dashboard with cards and a top-model table. Reuse the shared metrics module from pricing model details, remove duplicated perf API/formatting code from pricing, and add localized labels for the new dashboard performance UI.
This commit is contained in:
Vendored
+4
@@ -2383,6 +2383,7 @@
|
||||
"More templates...": "更多模板...",
|
||||
"More...": "更多...",
|
||||
"Most-used models in the selected period and category": "所选时间范围与分类下使用率最高的模型",
|
||||
"Monitored relay requests": "已监控的中继请求",
|
||||
"Move": "移动",
|
||||
"Move a request header": "移动请求头",
|
||||
"Move affiliate rewards to your main balance": "将推广奖励转移到您的主余额",
|
||||
@@ -2555,6 +2556,7 @@
|
||||
"No payment methods configured": "暂无支付方式",
|
||||
"No payment methods configured. Click \"Add method\" or use templates to get started.": "未配置支付方式。点击\"添加方式\"或使用模板开始。",
|
||||
"No payment methods match your search": "没有匹配的支付方式",
|
||||
"No performance data available": "暂无性能数据",
|
||||
"No plans available": "暂无可购买套餐",
|
||||
"No preference": "无偏好",
|
||||
"No prefill groups yet": "暂无预填充分组",
|
||||
@@ -2849,6 +2851,7 @@
|
||||
"Percentage:": "百分比:",
|
||||
"Performance": "性能",
|
||||
"Performance data is not yet available for this model.": "该模型暂无性能数据。",
|
||||
"Performance metrics for the last 24 hours": "最近 24 小时的性能指标",
|
||||
"Performance metrics shown here are simulated for preview purposes and will be replaced with live observability data once the backend integration is complete.": "此处展示的性能指标为预览模拟数据,待后端对接完成后将替换为真实可观测数据。",
|
||||
"Performance Monitor": "性能监控",
|
||||
"Performance Settings": "性能设置",
|
||||
@@ -4330,6 +4333,7 @@
|
||||
"Weekly token usage by model since launch": "自上线以来按模型分布的每周 Token 使用量",
|
||||
"Weekly Window": "每周窗口",
|
||||
"Weight": "权重",
|
||||
"Weighted by request count": "按请求数加权",
|
||||
"Welcome back!": "欢迎回来!",
|
||||
"Welcome to our New API...": "欢迎使用我们的 New API...",
|
||||
"Well-Known URL": "Well-Known URL",
|
||||
|
||||
Reference in New Issue
Block a user