mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
feat(stats): 新增聚合读路径与回填机制并重构 dashboard/usage 读取链路
- 新增 stats_user_summary 及 user_daily_provider/api_format/cost_savings 等聚合表 - 扩展 stats_daily/hourly 有效 token 与响应时间等字段,maintenance runtime 同步写入 - 新增 backfill 模块与 --apply-backfills 命令补齐历史聚合数据 - 重写 dashboard_filters、usage_heatmap、user_rollups 查询改走聚合表 - 同步更新 baseline_v2.sql 与 migration 集,README/dev.sh 补充回填用法
This commit is contained in:
@@ -5833,6 +5833,7 @@ async fn gateway_handles_users_me_api_keys_locally_without_proxying_upstream() {
|
||||
Some(300),
|
||||
false,
|
||||
9,
|
||||
0,
|
||||
1.5,
|
||||
false,
|
||||
)
|
||||
@@ -6143,6 +6144,7 @@ async fn gateway_handles_users_me_api_key_writes_locally_without_proxying_upstre
|
||||
Some(300),
|
||||
false,
|
||||
3,
|
||||
0,
|
||||
0.5,
|
||||
false,
|
||||
)
|
||||
@@ -6411,6 +6413,7 @@ async fn gateway_returns_service_unavailable_for_users_me_api_key_writes_without
|
||||
Some(300),
|
||||
false,
|
||||
3,
|
||||
0,
|
||||
0.5,
|
||||
false,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user