zenfun
5b2b176a55
feat(stats): add daily statistics aggregation job and model
...
- Create `DailyStat` model for immutable daily metrics including
request counts, tokens, latency, and top models.
- Implement `DailyStatsJob` to aggregate `log_records` from the previous
day, running daily at 00:05 UTC.
- Register database migrations and schedule the job in the server.
- Add `last7d` and `last30d` period support to stats handler.
2026-01-02 22:20:37 +08:00
..
2025-12-24 02:15:52 +08:00
2025-12-22 12:02:27 +08:00
2025-12-22 12:02:27 +08:00
2025-12-22 12:02:27 +08:00
2025-12-21 23:32:07 +08:00
2025-12-31 16:09:02 +08:00
2025-12-31 18:01:09 +08:00
2025-12-31 13:17:23 +08:00
2025-12-30 00:11:52 +08:00
2025-12-31 14:18:09 +08:00
2025-12-25 14:41:38 +08:00
2025-12-24 02:15:52 +08:00
2025-12-24 02:15:52 +08:00
2025-12-31 13:17:23 +08:00
2025-12-21 13:07:00 +08:00
2025-12-21 13:26:16 +08:00
2025-12-25 01:24:19 +08:00
2025-12-30 00:11:52 +08:00
2025-12-31 14:18:09 +08:00
2025-12-21 23:03:12 +08:00
2026-01-02 21:35:42 +08:00
2026-01-02 21:24:56 +08:00
2025-12-21 20:45:16 +08:00
2025-12-21 20:45:16 +08:00
2025-12-21 14:13:35 +08:00
2025-12-22 12:02:27 +08:00
2025-12-22 12:02:27 +08:00
2025-12-24 02:27:11 +08:00
2025-12-18 16:43:12 +08:00
2025-12-24 02:15:52 +08:00
2025-12-21 23:16:27 +08:00
2025-12-21 23:16:27 +08:00
2025-12-28 02:49:54 +08:00
2025-12-22 12:02:27 +08:00
2025-12-31 13:17:23 +08:00
2025-12-22 12:02:27 +08:00
2026-01-02 22:20:37 +08:00
2025-12-27 13:24:13 +08:00