feat(performance): update performance metrics handling and UI components

This commit is contained in:
CaIon
2026-05-12 16:04:15 +08:00
parent ba474393fb
commit 19fc384e67
37 changed files with 936 additions and 443 deletions
+23 -11
View File
@@ -100,6 +100,7 @@
"A billing multiplier. Lower ratios mean lower API call costs.": "计费乘数,倍率越低,API 调用费用越低。",
"A focused home for keys, balance, routing, and service health.": "集中展示密钥、余额、路由和服务健康状态。",
"About": "关于",
"About {{days}} days left": "约剩 {{days}} 天",
"Accept Unpriced Models": "接受未定价模型",
"Accepts a JSON array of model identifiers that support the Imagine API.": "接受支持 Imagine API 的模型标识符的 JSON 数组。",
"Accepts comma-separated status codes and inclusive ranges.": "接受逗号分隔的状态码和包含性范围。",
@@ -239,6 +240,7 @@
"AILS": "AILS",
"AK/SK mode: use AccessKey|SecretAccessKey|Region": "AK/SK 模式:使用 AccessKey|SecretAccessKey|Region",
"Ali": "阿里",
"Alipay": "支付宝",
"All": "全部",
"All categories": "全部分类",
"All conditions must match before this tier is used.": "所有条件都满足后才会使用该档位。",
@@ -477,6 +479,7 @@
"Baidu V2": "百度 V2",
"Balance": "余额",
"Balance and top-up management": "余额充值管理",
"Balance depleted": "余额已耗尽",
"Balance is shown in quota units": "余额以额度单位显示",
"Balance queried successfully": "余额查询成功",
"Balance updated successfully": "余额更新成功",
@@ -888,6 +891,7 @@
"Console Area": "控制台区域",
"Console Content": "控制台内容",
"Consume": "消耗",
"Consumed in the last 24 hours": "近 24 小时消耗量",
"Container": "容器",
"Container name": "容器名称",
"Containers": "容器",
@@ -1897,6 +1901,7 @@
"Header Value (supports string or JSON mapping)": "请求头值(支持字符串或 JSON 映射)",
"header. Anthropic-formatted endpoints accept the": " 请求头。Anthropic 格式的端点也接受",
"Health": "健康",
"Healthy": "正常",
"Hidden — verify to reveal": "隐藏 — 验证以显示",
"Hide": "隐藏",
"Hide API key": "隐藏 API 密钥",
@@ -2101,6 +2106,7 @@
"Language preference saved": "语言偏好已保存",
"Language Preferences": "语言偏好",
"Language preferences sync across your signed-in devices and affect API error messages.": "语言偏好会同步到您登录的所有设备,并影响 API 错误消息语言。",
"Last 24h usage": "近 24 小时消耗",
"Last 30 days uptime": "近 30 天可用率",
"Last check time": "上次检测时间",
"Last detected addable models": "上次检测到可加入模型",
@@ -2143,6 +2149,7 @@
"Less": "更少",
"Less than": "小于",
"Less Than": "小于",
"Less than 1 day left": "剩余不足 1 天",
"Less than or equal": "小于等于",
"Less Than or Equal": "小于等于",
"License": "许可证",
@@ -2192,6 +2199,7 @@
"Logo": "徽标",
"Logo URL": "徽标 URL",
"Logs": "日志",
"Low balance": "余额偏低",
"Lowest median first-token latency": "最低首 token 延迟中位数",
"m": "分钟",
"Maintain a list of common questions for the dashboard help panel": "维护仪表板帮助面板的常见问题列表",
@@ -2371,6 +2379,7 @@
"MokaAI": "MokaAI",
"Monitor": "监控",
"Monitor balance, usage, and request volume": "监控余额、用量和请求量",
"Monitored relay requests": "已监控的中继请求",
"Monitoring & Alerts": "监控与警报",
"Month": "本月",
"Month number": "月份",
@@ -2381,9 +2390,9 @@
"More": "更多",
"more mapping": "更多映射",
"More templates...": "更多模板...",
"More than 999 days left": "剩余超过 999 天",
"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": "将推广奖励转移到您的主余额",
@@ -2433,7 +2442,7 @@
"Name the channel, choose the provider, configure API access, and set credentials.": "命名渠道、选择供应商、配置 API 访问并设置凭据。",
"name@example.com": "name@example.com",
"Native format": "原生格式",
"Need a code?": "需要一个代码吗",
"Need a redemption code?": "需要兑换码",
"Needs API key": "需要 API 密钥",
"Nested JSON defining per-group rules for adding (+:), removing (-:), or appending usable groups.": "嵌套 JSON,定义按分组添加(+:)、移除(-:)或追加可用分组的规则。",
"Nested JSON: source group →": "嵌套 JSON:源分组 →",
@@ -2567,6 +2576,7 @@
"No providers available": "暂无可用提供商",
"No Quota": "无余额",
"No ratio differences found": "未发现比率差异",
"No recent usage": "暂无使用记录",
"No records found. Try adjusting your filters.": "未找到记录。尝试调整您的筛选条件。",
"No redemption codes available. Create your first redemption code to get started.": "没有可用的兑换码。创建您的第一个兑换码即可开始使用。",
"No Redemption Codes Found": "未找到兑换码",
@@ -2851,6 +2861,7 @@
"Percentage:": "百分比:",
"Performance": "性能",
"Performance data is not yet available for this model.": "该模型暂无性能数据。",
"Performance health": "性能健康",
"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": "性能监控",
@@ -2923,6 +2934,7 @@
"Please set Ollama API Base URL first": "请先设置 Ollama API Base URL",
"Please try again later.": "请稍后再试。",
"Please upload key file(s)": "请上传密钥文件",
"Please wait a moment before trying again.": "请稍候再试。",
"Please wait a moment, human check is initializing...": "请稍等,人机验证正在初始化...",
"Policy JSON": "策略 JSON",
"Polling": "轮询",
@@ -3061,8 +3073,8 @@
"Pull": "拉取",
"Pull model": "拉取模型",
"Pulling...": "拉取中...",
"Purchase a plan to enjoy model benefits": "购买套餐后即可享受模型权益",
"Purchase here": "在此购买",
"Subscribe to a plan for model access": "订阅套餐以获取模型访问权限",
"Get one here": "点此获取",
"Purchase Limit": "限购",
"Purchase limit reached": "已达到购买上限",
"Purchase Subscription": "购买订阅套餐",
@@ -3356,6 +3368,7 @@
"Run GC": "执行 GC",
"Run tests for the selected models": "运行所选模型的测试",
"Running": "运行中",
"Runway": "可用时长",
"s": "秒",
"Safety Settings": "安全设置",
"Same as Local": "与本地相同",
@@ -3847,6 +3860,7 @@
"This action will permanently remove 2FA protection from your account.": "此操作将永久移除您账户的 2FA 保护。",
"This channel is not an Ollama channel.": "该渠道不是 Ollama 渠道。",
"This channel type does not support fetching models": "此通道类型不支持获取模型",
"This controls model request rate limiting. Web/API route throttling is configured by environment variables and may still return 429.": "此处仅控制模型请求速率限制。Web/API 路由限流由环境变量配置,仍可能返回 429。",
"This data may be unreliable, use with caution": "此数据可能不可靠,请谨慎使用",
"This device does not support Passkey": "此设备不支持 Passkey",
"This device does not support Passkey verification.": "此设备不支持 Passkey 验证。",
@@ -3955,6 +3969,7 @@
"Tokens since launch": "发布以来累计 Token",
"Tokens-only mode will show raw quota values regardless of this toggle.": "Tokens-only 模式将无视此开关显示原始配额值。",
"Too many files. Some were not added.": "文件过多。部分未添加。",
"Too many requests": "请求过于频繁",
"Tool / function declarations the model may call": "模型可调用的工具 / 函数声明",
"Tool identifier": "工具标识",
"Tool price settings": "工具价格设置",
@@ -3969,6 +3984,7 @@
"Top model": "领头模型",
"Top models": "热门模型",
"Top Models": "热门模型",
"Top models by traffic": "流量最高的模型",
"Top up balance and view billing history.": "充值余额并查看账单历史。",
"Top Users": "热门用户",
"Top vendors": "热门厂商",
@@ -4023,6 +4039,7 @@
"Trim Suffix": "裁剪后缀",
"Truncate embeddings to this many dimensions": "将向量截断到指定维度",
"Trusted": "受信任",
"Try adjusting your search": "请尝试调整搜索条件",
"Try adjusting your search to locate a missing model.": "尝试调整您的搜索以找到缺失的模型。",
"TTFT P50": "TTFT P50",
"TTFT P95": "TTFT P95",
@@ -4323,6 +4340,7 @@
"Website is under maintenance!": "网站正在维护中!",
"WeChat": "微信",
"WeChat login QR code": "微信登录二维码",
"WeChat Pay": "微信支付",
"WeChat QR code will be displayed here": "微信二维码将显示在此处",
"WeChat sign in": "微信登录",
"Week": "本周",
@@ -4398,15 +4416,9 @@
"Your setup guide is collapsed so usage stays in focus.": "设置引导已收起,让用量信息保持在焦点位置。",
"Your system access token for API authentication. Keep it secure and don't share it with others.": "您的系统访问令牌,用于 API 认证。请妥善保管,不要与他人分享。",
"Your Telegram Bot Token": "您的 Telegram 机器人令牌",
"Your transaction history will appear here": "您的交易历史会显示在这里",
"Your Turnstile secret key": "您的 Turnstile 密钥",
"Your Turnstile site key": "您的 Turnstile 站点密钥",
"Alipay": "支付宝",
"Please wait a moment before trying again.": "请稍候再试。",
"This controls model request rate limiting. Web/API route throttling is configured by environment variables and may still return 429.": "此处仅控制模型请求速率限制。Web/API 路由限流由环境变量配置,仍可能返回 429。",
"Too many requests": "请求过于频繁",
"Try adjusting your search": "请尝试调整搜索条件",
"WeChat Pay": "微信支付",
"Your transaction history will appear here": "您的交易历史会显示在这里",
"Zero retention": "零数据保留",
"Zhipu": "智谱",
"Zhipu V4": "智谱 V4",