feat: project current account rate multipliers
This commit is contained in:
@@ -69,10 +69,10 @@ refresh。组件失败时服务端保留对应 last-good 数据,并在 `compon
|
||||
|
||||
Workspace 当前提供以下有界 projection:
|
||||
|
||||
- `accounts`:账号摘要、quota window、当日用量和 provider/group/status 字段。
|
||||
- `accounts`:账号摘要、quota window、当日用量和 provider/group/status 字段;如能按当前 server6 upstream key-group binding 关联,还包含 `account_rate_multiplier` 原始有效倍率和 `account_rate_multiplier_cny` 展示倍率。
|
||||
- `status`:channel monitor 摘要。
|
||||
- `sources`:Pricing Monitor 已有的脱敏 source 余额与健康状态。
|
||||
- `traffic.requests`:仅 server6 的最新有界请求样本。
|
||||
- `traffic.requests`:仅 server6 的最新有界请求样本;每行带对应 account 的当前 `account_rate_multiplier` / `account_rate_multiplier_cny`,无法稳定关联时为 `null`。
|
||||
- `traffic.errors`:server6/server4 的有界逐条错误事件,保留节点、时间、key/account、结构化错误类别和状态链路,不做错误分组或 per-row count。
|
||||
- `traffic.keys`:仅 server6 按 `Asia/Shanghai` 自然日完整聚合的 key 使用量;事件样本上限不会截断其 request/token/cost totals,payload 同时携带统计日期和时区。
|
||||
|
||||
@@ -120,8 +120,8 @@ Accounts 只在 canonical 名称 `{family}-quota-{source}` 或
|
||||
provider、URL、display name 或模糊文本推断;source 为 error/stale 时保留名称和状态,
|
||||
但不伪造 CNY 数值。
|
||||
|
||||
Requests 展示 server6 的最新有界明细:key、account、model、token bucket、actual cost、first-token latency、
|
||||
duration 和 decode throughput。Errors 展示 server6/server4 的逐条 instance、事件时间、status path、key、
|
||||
Requests 展示 server6 的最新有界明细:key、account、当前 account multiplier、model、token bucket、actual cost、first-token latency、
|
||||
duration 和 decode throughput。该 multiplier 来自当前 account binding,不代表请求发生时的历史计费倍率。Errors 展示 server6/server4 的逐条 instance、事件时间、status path、key、
|
||||
account、model、phase/type/owner,不显示聚合次数。Key usage 和对应 Traffic Account usage 是 server6
|
||||
完整当天 rollup;Errors 与 Requests 仍是事件样本。所有 workspace Traffic 都使用服务器声明的 `Asia/Shanghai` 自然日,不依赖客户端本地日期或滚动
|
||||
24 小时窗口;每个 Traffic projection 显式携带日期、时区和 `[00:00, 次日 00:00)` 边界。
|
||||
|
||||
Reference in New Issue
Block a user