Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
a478822b
Commit
a478822b
authored
Jan 15, 2026
by
IanShaw027
Browse files
refactor(ops): 优化文案显示
- TTFT 定义统一改为"首 Token"/"First Token"(而非"首字节"/"first byte") - 请求时长卡片标题去掉"(毫秒)"/"(ms)"后缀
parent
23aa69f5
Changes
2
Show whitespace changes
Inline
Side-by-side
frontend/src/i18n/locales/en.ts
View file @
a478822b
...
...
@@ -1925,7 +1925,7 @@ export default {
errors
:
'
Errors
'
,
errorRate
:
'
error_rate:
'
,
upstreamRate
:
'
upstream_rate:
'
,
latencyDuration
:
'
Request Duration
(ms)
'
,
latencyDuration
:
'
Request Duration
'
,
ttftLabel
:
'
TTFT (first_token_ms)
'
,
p50
:
'
p50:
'
,
p90
:
'
p90:
'
,
...
...
@@ -2590,7 +2590,7 @@ export default {
errors
:
'
Error statistics, including total errors, error rate, and upstream error rate.
'
,
upstreamErrors
:
'
Upstream error statistics, excluding rate limit errors (429/529).
'
,
latency
:
'
Request duration statistics, including p50, p90, p95, p99 percentiles.
'
,
ttft
:
'
Time To First Token, measuring the speed of first
byte
return in streaming responses.
'
,
ttft
:
'
Time To First Token, measuring the speed of first
token
return in streaming responses.
'
,
health
:
'
System health score (0-100), considering SLA, error rate, and resource usage.
'
},
charts
:
{
...
...
frontend/src/i18n/locales/zh.ts
View file @
a478822b
...
...
@@ -2062,7 +2062,7 @@ export default {
avgQps
:
'
平均 QPS
'
,
avgTps
:
'
平均 TPS
'
,
avgLatency
:
'
平均请求时长
'
,
avgTtft
:
'
平均首
字
延迟
'
,
avgTtft
:
'
平均首
Token
延迟
'
,
exceptions
:
'
异常数
'
,
requestErrors
:
'
请求错误
'
,
errorCount
:
'
错误数
'
,
...
...
@@ -2073,8 +2073,8 @@ export default {
errors
:
'
错误
'
,
errorRate
:
'
错误率:
'
,
upstreamRate
:
'
上游错误率:
'
,
latencyDuration
:
'
请求时长
(毫秒)
'
,
ttftLabel
:
'
首
字
延迟(毫秒)
'
,
latencyDuration
:
'
请求时长
'
,
ttftLabel
:
'
首
Token
延迟(毫秒)
'
,
p50
:
'
p50
'
,
p90
:
'
p90
'
,
p95
:
'
p95
'
,
...
...
@@ -2151,7 +2151,7 @@ export default {
memoryHigh
:
'
内存使用率偏高 ({usage}%)
'
,
memoryHighImpact
:
'
内存压力较大,需要关注
'
,
memoryHighAction
:
'
监控内存趋势,检查是否有内存泄漏
'
,
ttftHigh
:
'
首
字节
时间偏高 ({ttft}ms)
'
,
ttftHigh
:
'
首
Token
时间偏高 ({ttft}ms)
'
,
ttftHighImpact
:
'
用户感知时长增加
'
,
ttftHighAction
:
'
优化请求处理流程,减少前置逻辑耗时
'
,
// Error rate diagnostics
...
...
@@ -2743,7 +2743,7 @@ export default {
sla
:
'
服务等级协议达成率,排除业务限制(如余额不足、配额超限)的成功请求占比。
'
,
errors
:
'
错误统计,包括总错误数、错误率和上游错误率。
'
,
latency
:
'
请求时长统计,包括 p50、p90、p95、p99 等百分位数。
'
,
ttft
:
'
首Token延迟(Time To First Token),衡量流式响应的首
字节
返回速度。
'
,
ttft
:
'
首
Token
延迟(Time To First Token),衡量流式响应的首
Token
返回速度。
'
,
health
:
'
系统健康评分(0-100),综合考虑 SLA、错误率和资源使用情况。
'
},
charts
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment